~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to erts/emulator/test/send_term_SUITE_data/send_term_drv.c

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
static ErlDrvPort erlang_port;
25
25
static ErlDrvData send_term_drv_start(ErlDrvPort port, char *command);
26
26
static void send_term_drv_stop(ErlDrvData drv_data);
27
 
static void send_term_drv_run(ErlDrvData drv_data, char *buf, int len);
 
27
static void send_term_drv_run(ErlDrvData drv_data, char *buf, ErlDrvSizeT len);
28
28
 
29
29
 
30
30
static int make_ext_term_list(ErlDrvTermData *td, int bad);
39
39
    NULL,
40
40
    NULL,
41
41
    "send_term_drv",
 
42
    NULL,
 
43
    NULL, /* handle */
 
44
    NULL, /* control */
 
45
    NULL, /* timeout */
 
46
    NULL, /* outputv */
 
47
    NULL, /* ready_async */
 
48
    NULL,
 
49
    NULL,
 
50
    NULL,
 
51
    ERL_DRV_EXTENDED_MARKER,
 
52
    ERL_DRV_EXTENDED_MAJOR_VERSION,
 
53
    ERL_DRV_EXTENDED_MINOR_VERSION,
 
54
    0,
 
55
    NULL,
 
56
    NULL,
 
57
    NULL,
42
58
};
43
59
 
44
60
DRIVER_INIT(send_term_drv)
64
80
static void output_term(ErlDrvTermData* msg, int len);
65
81
static void fail_term(ErlDrvTermData* msg, int len, int line);
66
82
 
67
 
static void send_term_drv_run(ErlDrvData port, char *buf, int count)
 
83
static void send_term_drv_run(ErlDrvData port, char *buf, ErlDrvSizeT count)
68
84
{
69
85
    char buf7[1024];
70
86
    ErlDrvTermData spec[1024];