From 9e5169ac90db625061e486854729b8279ba46378 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Mon, 10 Dec 2018 17:54:32 +0100 Subject: erl_interface: Fix doc for return type 'struct hostent' '*' is part of the return type, not the function name. --- lib/erl_interface/doc/src/ei_connect.xml | 8 ++++---- lib/erl_interface/doc/src/erl_connect.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/erl_interface') diff --git a/lib/erl_interface/doc/src/ei_connect.xml b/lib/erl_interface/doc/src/ei_connect.xml index 607a7cbff4..d5a55087a3 100644 --- a/lib/erl_interface/doc/src/ei_connect.xml +++ b/lib/erl_interface/doc/src/ei_connect.xml @@ -87,10 +87,10 @@ - struct hostent*ei_gethostbyaddr(const char *addr, int len, int type) - struct hostent*ei_gethostbyaddr_r(const char *addr, int length, int type, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) - struct hostent*ei_gethostbyname(const char *name) - struct hostent*ei_gethostbyname_r(const char *name, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) + struct hostent *ei_gethostbyaddr(const char *addr, int len, int type) + struct hostent *ei_gethostbyaddr_r(const char *addr, int length, int type, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) + struct hostent *ei_gethostbyname(const char *name) + struct hostent *ei_gethostbyname_r(const char *name, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) Name lookup functions.

Convenience functions for some common name lookup functions.

diff --git a/lib/erl_interface/doc/src/erl_connect.xml b/lib/erl_interface/doc/src/erl_connect.xml index 76ef6588c2..8df03d4ecc 100644 --- a/lib/erl_interface/doc/src/erl_connect.xml +++ b/lib/erl_interface/doc/src/erl_connect.xml @@ -616,10 +616,10 @@ typedef struct {
- struct hostent*erl_gethostbyaddr(addr, length, type) - struct hostent*erl_gethostbyaddr_r(addr, length, type, hostp, buffer, buflen, h_errnop) - struct hostent*erl_gethostbyname(name) - struct hostent*erl_gethostbyname_r(name, hostp, buffer, buflen, h_errnop) + struct hostent *erl_gethostbyaddr(addr, length, type) + struct hostent *erl_gethostbyaddr_r(addr, length, type, hostp, buffer, buflen, h_errnop) + struct hostent *erl_gethostbyname(name) + struct hostent *erl_gethostbyname_r(name, hostp, buffer, buflen, h_errnop) Name lookup functions. -- cgit v1.2.3 From 20cc39d443d1a2c364b0fb778c7813ae7b5a1dd6 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Tue, 11 Dec 2018 17:42:39 +0100 Subject: Add "since" attributes in xml for new functions and modules introduced after OTP_R13B03. --- lib/erl_interface/doc/src/ei.xml | 16 ++++++++-------- lib/erl_interface/doc/src/ei_connect.xml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'lib/erl_interface') diff --git a/lib/erl_interface/doc/src/ei.xml b/lib/erl_interface/doc/src/ei.xml index 9502fb1ee7..2a17643270 100644 --- a/lib/erl_interface/doc/src/ei.xml +++ b/lib/erl_interface/doc/src/ei.xml @@ -134,7 +134,7 @@ typedef enum { - intei_decode_atom_as(const char *buf, int *index, char *p, int plen, erlang_char_encoding want, erlang_char_encoding* was, erlang_char_encoding* result) + intei_decode_atom_as(const char *buf, int *index, char *p, int plen, erlang_char_encoding want, erlang_char_encoding* was, erlang_char_encoding* result) Decode an atom.

Decodes an atom from the binary format. The NULL-terminated @@ -286,7 +286,7 @@ typedef enum { - intei_decode_map_header(const char *buf, int *index, int *arity) + intei_decode_map_header(const char *buf, int *index, int *arity) Decode a map.

Decodes a map header from the binary @@ -415,10 +415,10 @@ typedef enum { - intei_encode_atom_as(char *buf, int *index, const char *p, erlang_char_encoding from_enc, erlang_char_encoding to_enc) - intei_encode_atom_len_as(char *buf, int *index, const char *p, int len, erlang_char_encoding from_enc, erlang_char_encoding to_enc) - intei_x_encode_atom_as(ei_x_buff* x, const char *p, erlang_char_encoding from_enc, erlang_char_encoding to_enc) - intei_x_encode_atom_len_as(ei_x_buff* x, const char *p, int len, erlang_char_encoding from_enc, erlang_char_encoding to_enc) + intei_encode_atom_as(char *buf, int *index, const char *p, erlang_char_encoding from_enc, erlang_char_encoding to_enc) + intei_encode_atom_len_as(char *buf, int *index, const char *p, int len, erlang_char_encoding from_enc, erlang_char_encoding to_enc) + intei_x_encode_atom_as(ei_x_buff* x, const char *p, erlang_char_encoding from_enc, erlang_char_encoding to_enc) + intei_x_encode_atom_len_as(ei_x_buff* x, const char *p, int len, erlang_char_encoding from_enc, erlang_char_encoding to_enc) Encode an atom.

Encodes an atom in the binary format. Parameter p is the name of the atom with @@ -574,8 +574,8 @@ ei_x_encode_empty_list(&x); - intei_encode_map_header(char *buf, int *index, int arity) - intei_x_encode_map_header(ei_x_buff* x, int arity) + intei_encode_map_header(char *buf, int *index, int arity) + intei_x_encode_map_header(ei_x_buff* x, int arity) Encode a map.

Encodes a map header, with a specified arity. The next diff --git a/lib/erl_interface/doc/src/ei_connect.xml b/lib/erl_interface/doc/src/ei_connect.xml index d5a55087a3..9c35b75db3 100644 --- a/lib/erl_interface/doc/src/ei_connect.xml +++ b/lib/erl_interface/doc/src/ei_connect.xml @@ -286,8 +286,8 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) { - intei_get_tracelevel(void) - voidei_set_tracelevel(int level) + intei_get_tracelevel(void) + voidei_set_tracelevel(int level) Get and set functions for tracing.

Used to set tracing on the distribution. The levels are different -- cgit v1.2.3 From 50f64c60b87e8d03fedc3f9f4e655aff8ca9f16c Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Wed, 12 Dec 2018 19:32:24 +0100 Subject: Add empty 'since' attribute for old modules and functions --- lib/erl_interface/doc/src/ei.xml | 160 +++++++++++++++--------------- lib/erl_interface/doc/src/ei_connect.xml | 78 +++++++-------- lib/erl_interface/doc/src/erl_connect.xml | 50 +++++----- lib/erl_interface/doc/src/erl_error.xml | 10 +- lib/erl_interface/doc/src/erl_eterm.xml | 58 +++++------ lib/erl_interface/doc/src/erl_format.xml | 4 +- lib/erl_interface/doc/src/erl_global.xml | 8 +- lib/erl_interface/doc/src/erl_malloc.xml | 16 +-- lib/erl_interface/doc/src/erl_marshal.xml | 18 ++-- lib/erl_interface/doc/src/registry.xml | 40 ++++---- 10 files changed, 221 insertions(+), 221 deletions(-) (limited to 'lib/erl_interface') diff --git a/lib/erl_interface/doc/src/ei.xml b/lib/erl_interface/doc/src/ei.xml index 2a17643270..16f4e18637 100644 --- a/lib/erl_interface/doc/src/ei.xml +++ b/lib/erl_interface/doc/src/ei.xml @@ -124,7 +124,7 @@ typedef enum { - intei_decode_atom(const char *buf, int *index, char *p) + intei_decode_atom(const char *buf, int *index, char *p) Decode an atom.

Decodes an atom from the binary format. The NULL-terminated @@ -158,7 +158,7 @@ typedef enum { - intei_decode_bignum(const char *buf, int *index, mpz_t obj) + intei_decode_bignum(const char *buf, int *index, mpz_t obj) Decode a GMP arbitrary precision integer.

Decodes an integer in the binary format to a GMP @@ -168,7 +168,7 @@ typedef enum { - intei_decode_binary(const char *buf, int *index, void *p, long *len) + intei_decode_binary(const char *buf, int *index, void *p, long *len) Decode a binary.

Decodes a binary from the binary format. Parameter @@ -180,7 +180,7 @@ typedef enum { - intei_decode_boolean(const char *buf, int *index, int *p) + intei_decode_boolean(const char *buf, int *index, int *p) Decode a boolean.

Decodes a boolean value from the binary format. @@ -190,7 +190,7 @@ typedef enum { - intei_decode_char(const char *buf, int *index, char *p) + intei_decode_char(const char *buf, int *index, char *p) Decode an 8-bit integer between 0-255.

Decodes a char (8-bit) integer between 0-255 from the binary format. @@ -203,7 +203,7 @@ typedef enum { - intei_decode_double(const char *buf, int *index, double *p) + intei_decode_double(const char *buf, int *index, double *p) Decode a double.

Decodes a double-precision (64-bit) floating @@ -212,7 +212,7 @@ typedef enum { - intei_decode_ei_term(const char* buf, int* index, ei_term* term) + intei_decode_ei_term(const char* buf, int* index, ei_term* term) Decode a term, without previous knowledge of type.

Decodes any term, or at least tries to. If the term @@ -233,8 +233,8 @@ typedef enum { - intei_decode_fun(const char *buf, int *index, erlang_fun *p) - voidfree_fun(erlang_fun* f) + intei_decode_fun(const char *buf, int *index, erlang_fun *p) + voidfree_fun(erlang_fun* f) Decode a fun.

Decodes a fun from the binary format. Parameter @@ -248,7 +248,7 @@ typedef enum { - intei_decode_list_header(const char *buf, int *index, int *arity) + intei_decode_list_header(const char *buf, int *index, int *arity) Decode a list.

Decodes a list header from the binary @@ -265,7 +265,7 @@ typedef enum { - intei_decode_long(const char *buf, int *index, long *p) + intei_decode_long(const char *buf, int *index, long *p) Decode integer.

Decodes a long integer from the binary format. @@ -275,7 +275,7 @@ typedef enum { - intei_decode_longlong(const char *buf, int *index, long long *p) + intei_decode_longlong(const char *buf, int *index, long long *p) Decode integer.

Decodes a GCC long long or Visual C++ @@ -299,7 +299,7 @@ typedef enum { - intei_decode_pid(const char *buf, int *index, erlang_pid *p) + intei_decode_pid(const char *buf, int *index, erlang_pid *p) Decode a pid.

Decodes a process identifier (pid) from the binary format.

@@ -307,7 +307,7 @@ typedef enum {
- intei_decode_port(const char *buf, int *index, erlang_port *p) + intei_decode_port(const char *buf, int *index, erlang_port *p) Decode a port.

Decodes a port identifier from the binary format.

@@ -315,7 +315,7 @@ typedef enum {
- intei_decode_ref(const char *buf, int *index, erlang_ref *p) + intei_decode_ref(const char *buf, int *index, erlang_ref *p) Decode a reference.

Decodes a reference from the binary format.

@@ -323,7 +323,7 @@ typedef enum {
- intei_decode_string(const char *buf, int *index, char *p) + intei_decode_string(const char *buf, int *index, char *p) Decode a string.

Decodes a string from the binary format. A @@ -338,7 +338,7 @@ typedef enum { - intei_decode_term(const char *buf, int *index, void *t) + intei_decode_term(const char *buf, int *index, void *t) Decode a ETERM.

Decodes a term from the binary format. The term @@ -352,7 +352,7 @@ typedef enum { - intei_decode_trace(const char *buf, int *index, erlang_trace *p) + intei_decode_trace(const char *buf, int *index, erlang_trace *p) Decode a trace token.

Decodes an Erlang trace token from the binary format.

@@ -360,7 +360,7 @@ typedef enum {
- intei_decode_tuple_header(const char *buf, int *index, int *arity) + intei_decode_tuple_header(const char *buf, int *index, int *arity) Decode a tuple.

Decodes a tuple header, the number of elements @@ -370,7 +370,7 @@ typedef enum { - intei_decode_ulong(const char *buf, int *index, unsigned long *p) + intei_decode_ulong(const char *buf, int *index, unsigned long *p) Decode unsigned integer.

Decodes an unsigned long integer from the binary format. @@ -380,7 +380,7 @@ typedef enum { - intei_decode_ulonglong(const char *buf, int *index, unsigned long long *p) + intei_decode_ulonglong(const char *buf, int *index, unsigned long long *p) Decode unsigned integer.

Decodes a GCC unsigned long long or Visual C++ @@ -390,7 +390,7 @@ typedef enum { - intei_decode_version(const char *buf, int *index, int *version) + intei_decode_version(const char *buf, int *index, int *version) Decode an empty list (nil).

Decodes the version magic number for the @@ -400,10 +400,10 @@ typedef enum { - intei_encode_atom(char *buf, int *index, const char *p) - intei_encode_atom_len(char *buf, int *index, const char *p, int len) - intei_x_encode_atom(ei_x_buff* x, const char *p) - intei_x_encode_atom_len(ei_x_buff* x, const char *p, int len) + intei_encode_atom(char *buf, int *index, const char *p) + intei_encode_atom_len(char *buf, int *index, const char *p, int len) + intei_x_encode_atom(ei_x_buff* x, const char *p) + intei_x_encode_atom_len(ei_x_buff* x, const char *p, int len) Encode an atom.

Encodes an atom in the binary format. Parameter p @@ -435,8 +435,8 @@ typedef enum { - intei_encode_bignum(char *buf, int *index, mpz_t obj) - intei_x_encode_bignum(ei_x_buff *x, mpz_t obj) + intei_encode_bignum(char *buf, int *index, mpz_t obj) + intei_x_encode_bignum(ei_x_buff *x, mpz_t obj) Encode an arbitrary precision integer.

Encodes a GMP mpz_t integer to binary format. @@ -446,8 +446,8 @@ typedef enum { - intei_encode_binary(char *buf, int *index, const void *p, long len) - intei_x_encode_binary(ei_x_buff* x, const void *p, long len) + intei_encode_binary(char *buf, int *index, const void *p, long len) + intei_x_encode_binary(ei_x_buff* x, const void *p, long len) Encode a binary.

Encodes a binary in the binary format. The data is at @@ -456,8 +456,8 @@ typedef enum { - intei_encode_boolean(char *buf, int *index, int p) - intei_x_encode_boolean(ei_x_buff* x, int p) + intei_encode_boolean(char *buf, int *index, int p) + intei_x_encode_boolean(ei_x_buff* x, int p) Encode a boolean.

Encodes a boolean value as the atom true if @@ -467,8 +467,8 @@ typedef enum { - intei_encode_char(char *buf, int *index, char p) - intei_x_encode_char(ei_x_buff* x, char p) + intei_encode_char(char *buf, int *index, char p) + intei_x_encode_char(ei_x_buff* x, char p) Encode an 8-bit integer between 0-255.

Encodes a char (8-bit) as an integer between 0-255 in the binary @@ -481,8 +481,8 @@ typedef enum { - intei_encode_double(char *buf, int *index, double p) - intei_x_encode_double(ei_x_buff* x, double p) + intei_encode_double(char *buf, int *index, double p) + intei_x_encode_double(ei_x_buff* x, double p) Encode a double float.

Encodes a double-precision (64-bit) floating point number in @@ -493,8 +493,8 @@ typedef enum { - intei_encode_empty_list(char* buf, int* index) - intei_x_encode_empty_list(ei_x_buff* x) + intei_encode_empty_list(char* buf, int* index) + intei_x_encode_empty_list(ei_x_buff* x) Encode an empty list (nil).

Encodes an empty list. It is often used at the tail of a list.

@@ -502,8 +502,8 @@ typedef enum {
- intei_encode_fun(char *buf, int *index, const erlang_fun *p) - intei_x_encode_fun(ei_x_buff* x, const erlang_fun* fun) + intei_encode_fun(char *buf, int *index, const erlang_fun *p) + intei_x_encode_fun(ei_x_buff* x, const erlang_fun* fun) Encode a fun.

Encodes a fun in the binary format. Parameter p @@ -515,8 +515,8 @@ typedef enum { - intei_encode_list_header(char *buf, int *index, int arity) - intei_x_encode_list_header(ei_x_buff* x, int arity) + intei_encode_list_header(char *buf, int *index, int arity) + intei_x_encode_list_header(ei_x_buff* x, int arity) Encode a list.

Encodes a list header, with a specified @@ -552,8 +552,8 @@ ei_x_encode_empty_list(&x); - intei_encode_long(char *buf, int *index, long p) - intei_x_encode_long(ei_x_buff* x, long p) + intei_encode_long(char *buf, int *index, long p) + intei_x_encode_long(ei_x_buff* x, long p) Encode integer.

Encodes a long integer in the binary format. @@ -563,8 +563,8 @@ ei_x_encode_empty_list(&x); - intei_encode_longlong(char *buf, int *index, long long p) - intei_x_encode_longlong(ei_x_buff* x, long long p) + intei_encode_longlong(char *buf, int *index, long long p) + intei_x_encode_longlong(ei_x_buff* x, long long p) Encode integer.

Encodes a GCC long long or Visual C++ @@ -595,8 +595,8 @@ ei_x_encode_string(&x, "Banana"); - intei_encode_pid(char *buf, int *index, const erlang_pid *p) - intei_x_encode_pid(ei_x_buff* x, const erlang_pid *p) + intei_encode_pid(char *buf, int *index, const erlang_pid *p) + intei_x_encode_pid(ei_x_buff* x, const erlang_pid *p) Encode a pid.

Encodes an Erlang process identifier (pid) in the binary @@ -607,8 +607,8 @@ ei_x_encode_string(&x, "Banana"); - intei_encode_port(char *buf, int *index, const erlang_port *p) - intei_x_encode_port(ei_x_buff* x, const erlang_port *p) + intei_encode_port(char *buf, int *index, const erlang_port *p) + intei_x_encode_port(ei_x_buff* x, const erlang_port *p) Encode a port.

Encodes an Erlang port in the binary format. Parameter @@ -619,8 +619,8 @@ ei_x_encode_string(&x, "Banana"); - intei_encode_ref(char *buf, int *index, const erlang_ref *p) - intei_x_encode_ref(ei_x_buff* x, const erlang_ref *p) + intei_encode_ref(char *buf, int *index, const erlang_ref *p) + intei_x_encode_ref(ei_x_buff* x, const erlang_ref *p) Encode a ref.

Encodes an Erlang reference in the binary format. Parameter @@ -631,10 +631,10 @@ ei_x_encode_string(&x, "Banana"); - intei_encode_string(char *buf, int *index, const char *p) - intei_encode_string_len(char *buf, int *index, const char *p, int len) - intei_x_encode_string(ei_x_buff* x, const char *p) - intei_x_encode_string_len(ei_x_buff* x, const char* s, int len) + intei_encode_string(char *buf, int *index, const char *p) + intei_encode_string_len(char *buf, int *index, const char *p, int len) + intei_x_encode_string(ei_x_buff* x, const char *p) + intei_x_encode_string_len(ei_x_buff* x, const char* s, int len) Encode a string.

Encodes a string in the binary format. (A string in Erlang @@ -645,8 +645,8 @@ ei_x_encode_string(&x, "Banana"); - intei_encode_term(char *buf, int *index, void *t) - intei_x_encode_term(ei_x_buff* x, void *t) + intei_encode_term(char *buf, int *index, void *t) + intei_x_encode_term(ei_x_buff* x, void *t) Encode an erl_interface term.

Encodes an ETERM, as obtained from @@ -656,8 +656,8 @@ ei_x_encode_string(&x, "Banana"); - intei_encode_trace(char *buf, int *index, const erlang_trace *p) - intei_x_encode_trace(ei_x_buff* x, const erlang_trace *p) + intei_encode_trace(char *buf, int *index, const erlang_trace *p) + intei_x_encode_trace(ei_x_buff* x, const erlang_trace *p) Encode a trace token.

Encodes an Erlang trace token in the binary format. @@ -668,8 +668,8 @@ ei_x_encode_string(&x, "Banana"); - intei_encode_tuple_header(char *buf, int *index, int arity) - intei_x_encode_tuple_header(ei_x_buff* x, int arity) + intei_encode_tuple_header(char *buf, int *index, int arity) + intei_x_encode_tuple_header(ei_x_buff* x, int arity) Encode a tuple.

Encodes a tuple header, with a specified @@ -687,8 +687,8 @@ ei_encode_tuple_header(buf, &i, 0); - intei_encode_ulong(char *buf, int *index, unsigned long p) - intei_x_encode_ulong(ei_x_buff* x, unsigned long p) + intei_encode_ulong(char *buf, int *index, unsigned long p) + intei_x_encode_ulong(ei_x_buff* x, unsigned long p) Encode unsigned integer.

Encodes an unsigned long integer in the binary format. @@ -698,8 +698,8 @@ ei_encode_tuple_header(buf, &i, 0); - intei_encode_ulonglong(char *buf, int *index, unsigned long long p) - intei_x_encode_ulonglong(ei_x_buff* x, unsigned long long p) + intei_encode_ulonglong(char *buf, int *index, unsigned long long p) + intei_x_encode_ulonglong(ei_x_buff* x, unsigned long long p) Encode unsigned integer.

Encodes a GCC unsigned long long or Visual C++ @@ -709,8 +709,8 @@ ei_encode_tuple_header(buf, &i, 0); - intei_encode_version(char *buf, int *index) - intei_x_encode_version(ei_x_buff* x) + intei_encode_version(char *buf, int *index) + intei_x_encode_version(ei_x_buff* x) Encode version.

Encodes a version magic number for the binary format. Must @@ -719,7 +719,7 @@ ei_encode_tuple_header(buf, &i, 0); - intei_get_type(const char *buf, const int *index, int *type, int *size) + intei_get_type(const char *buf, const int *index, int *type, int *size) Fetch the type and size of an encoded term.

Returns the type in type and size in @@ -733,8 +733,8 @@ ei_encode_tuple_header(buf, &i, 0); - intei_print_term(FILE* fp, const char* buf, int* index) - intei_s_print_term(char** s, const char* buf, int* index) + intei_print_term(FILE* fp, const char* buf, int* index) + intei_s_print_term(char** s, const char* buf, int* index) Print a term in clear text.

Prints a term, in clear text, to the file @@ -759,7 +759,7 @@ ei_encode_tuple_header(buf, &i, 0); - voidei_set_compat_rel(release_number) + voidei_set_compat_rel(release_number) Set the ei library in compatibility mode. unsigned release_number; @@ -794,7 +794,7 @@ ei_encode_tuple_header(buf, &i, 0); - intei_skip_term(const char* buf, int* index) + intei_skip_term(const char* buf, int* index) Skip a term.

Skips a term in the specified buffer; @@ -815,8 +815,8 @@ ei_encode_tuple_header(buf, &i, 0); - intei_x_append(ei_x_buff* x, const ei_x_buff* x2) - intei_x_append_buf(ei_x_buff* x, const char* buf, int len) + intei_x_append(ei_x_buff* x, const ei_x_buff* x2) + intei_x_append_buf(ei_x_buff* x, const char* buf, int len) Append a buffer at the end.

Appends data at the end of buffer x.

@@ -824,8 +824,8 @@ ei_encode_tuple_header(buf, &i, 0);
- intei_x_format(ei_x_buff* x, const char* fmt, ...) - intei_x_format_wo_ver(ei_x_buff* x, const char *fmt, ... ) + intei_x_format(ei_x_buff* x, const char* fmt, ...) + intei_x_format_wo_ver(ei_x_buff* x, const char *fmt, ... ) Format a term from a format string and parameters.

Formats a term, given as a string, to a buffer. @@ -853,7 +853,7 @@ encodes the tuple {numbers,12,3.14159} - intei_x_free(ei_x_buff* x) + intei_x_free(ei_x_buff* x) Free a buffer.

Frees an ei_x_buff buffer. @@ -862,8 +862,8 @@ encodes the tuple {numbers,12,3.14159} - intei_x_new(ei_x_buff* x) - intei_x_new_with_version(ei_x_buff* x) + intei_x_new(ei_x_buff* x) + intei_x_new_with_version(ei_x_buff* x) Allocate a new buffer.

Allocates a new ei_x_buff buffer. The diff --git a/lib/erl_interface/doc/src/ei_connect.xml b/lib/erl_interface/doc/src/ei_connect.xml index 9c35b75db3..6f16c0652e 100644 --- a/lib/erl_interface/doc/src/ei_connect.xml +++ b/lib/erl_interface/doc/src/ei_connect.xml @@ -87,10 +87,10 @@ - struct hostent *ei_gethostbyaddr(const char *addr, int len, int type) - struct hostent *ei_gethostbyaddr_r(const char *addr, int length, int type, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) - struct hostent *ei_gethostbyname(const char *name) - struct hostent *ei_gethostbyname_r(const char *name, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) + struct hostent *ei_gethostbyaddr(const char *addr, int len, int type) + struct hostent *ei_gethostbyaddr_r(const char *addr, int length, int type, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) + struct hostent *ei_gethostbyname(const char *name) + struct hostent *ei_gethostbyname_r(const char *name, struct hostent *hostp, char *buffer, int buflen, int *h_errnop) Name lookup functions.

Convenience functions for some common name lookup functions.

@@ -98,7 +98,7 @@
- intei_accept(ei_cnode *ec, int listensock, ErlConnect *conp) + intei_accept(ei_cnode *ec, int listensock, ErlConnect *conp) Accept a connection from another node.

Used by a server process to accept a @@ -130,7 +130,7 @@ typedef struct { - intei_accept_tmo(ei_cnode *ec, int listensock, ErlConnect *conp, unsigned timeout_ms) + intei_accept_tmo(ei_cnode *ec, int listensock, ErlConnect *conp, unsigned timeout_ms) Accept a connection from another node with optional time-out. @@ -141,8 +141,8 @@ typedef struct { - intei_connect(ei_cnode* ec, char *nodename) - intei_xconnect(ei_cnode* ec, Erl_IpAddr adr, char *alivename) + intei_connect(ei_cnode* ec, char *nodename) + intei_xconnect(ei_cnode* ec, Erl_IpAddr adr, char *alivename) Establish a connection to an Erlang node.

Sets up a connection to an Erlang node.

@@ -192,8 +192,8 @@ fd = ei_xconnect(&ec, &addr, ALIVE);
- intei_connect_init(ei_cnode* ec, const char* this_node_name, const char *cookie, short creation) - intei_connect_xinit(ei_cnode* ec, const char *thishostname, const char *thisalivename, const char *thisnodename, Erl_IpAddr thisipaddr, const char *cookie, short creation) + intei_connect_init(ei_cnode* ec, const char* this_node_name, const char *cookie, short creation) + intei_connect_xinit(ei_cnode* ec, const char *thishostname, const char *thisalivename, const char *thisnodename, Erl_IpAddr thisipaddr, const char *cookie, short creation) Initialize for a connection.

Initializes the ec structure, to @@ -273,8 +273,8 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) { - intei_connect_tmo(ei_cnode* ec, char *nodename, unsigned timeout_ms) - intei_xconnect_tmo(ei_cnode* ec, Erl_IpAddr adr, char *alivename, unsigned timeout_ms) + intei_connect_tmo(ei_cnode* ec, char *nodename, unsigned timeout_ms) + intei_xconnect_tmo(ei_cnode* ec, Erl_IpAddr adr, char *alivename, unsigned timeout_ms) Establish a connection to an Erlang node with optional time-out. @@ -299,7 +299,7 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) { - intei_publish(ei_cnode *ec, int port) + intei_publish(ei_cnode *ec, int port) Publish a node name.

Used by a server process to register @@ -336,7 +336,7 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) { - intei_publish_tmo(ei_cnode *ec, int port, unsigned timeout_ms) + intei_publish_tmo(ei_cnode *ec, int port, unsigned timeout_ms) Publish a node name with optional time-out.

Equivalent to @@ -346,7 +346,7 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) { - intei_receive(int fd, unsigned char* bufp, int bufsize) + intei_receive(int fd, unsigned char* bufp, int bufsize) Receive a message.

Receives a message consisting of a sequence @@ -387,7 +387,7 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) { - intei_receive_encoded(int fd, char **mbufp, int *bufsz, erlang_msg *msg, int *msglen) + intei_receive_encoded(int fd, char **mbufp, int *bufsz, erlang_msg *msg, int *msglen) Obsolete function for receiving a message.

This function is retained for compatibility with code @@ -417,7 +417,7 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) { - intei_receive_encoded_tmo(int fd, char **mbufp, int *bufsz, erlang_msg *msg, int *msglen, unsigned timeout_ms) + intei_receive_encoded_tmo(int fd, char **mbufp, int *bufsz, erlang_msg *msg, int *msglen, unsigned timeout_ms) Obsolete function for receiving a message with time-out. @@ -428,8 +428,8 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) { - intei_receive_msg(int fd, erlang_msg* msg, ei_x_buff* x) - intei_xreceive_msg(int fd, erlang_msg* msg, ei_x_buff* x) + intei_receive_msg(int fd, erlang_msg* msg, ei_x_buff* x) + intei_xreceive_msg(int fd, erlang_msg* msg, ei_x_buff* x) Receive a message.

Receives a message to the buffer in x. @@ -493,8 +493,8 @@ typedef struct { - intei_receive_msg_tmo(int fd, erlang_msg* msg, ei_x_buff* x, unsigned imeout_ms) - intei_xreceive_msg_tmo(int fd, erlang_msg* msg, ei_x_buff* x, unsigned timeout_ms) + intei_receive_msg_tmo(int fd, erlang_msg* msg, ei_x_buff* x, unsigned imeout_ms) + intei_xreceive_msg_tmo(int fd, erlang_msg* msg, ei_x_buff* x, unsigned timeout_ms) Receive a message with optional time-out.

Equivalent to ei_receive_msg and ei_xreceive_msg @@ -504,7 +504,7 @@ typedef struct { - intei_receive_tmo(int fd, unsigned char* bufp, int bufsize, unsigned timeout_ms) + intei_receive_tmo(int fd, unsigned char* bufp, int bufsize, unsigned timeout_ms) Receive a message with optional time-out.

Equivalent to @@ -514,7 +514,7 @@ typedef struct { - intei_reg_send(ei_cnode* ec, int fd, char* server_name, char* buf, int len) + intei_reg_send(ei_cnode* ec, int fd, char* server_name, char* buf, int len) Send a message to a registered name.

Sends an Erlang term to a registered process.

@@ -546,7 +546,7 @@ if (ei_reg_send(&ec, fd, x.buff, x.index) < 0)
- intei_reg_send_tmo(ei_cnode* ec, int fd, char* server_name, char* buf, int len, unsigned timeout_ms) + intei_reg_send_tmo(ei_cnode* ec, int fd, char* server_name, char* buf, int len, unsigned timeout_ms) Send a message to a registered name with optional time-out @@ -557,9 +557,9 @@ if (ei_reg_send(&ec, fd, x.buff, x.index) < 0) - intei_rpc(ei_cnode *ec, int fd, char *mod, char *fun, const char *argbuf, int argbuflen, ei_x_buff *x) - intei_rpc_to(ei_cnode *ec, int fd, char *mod, char *fun, const char *argbuf, int argbuflen) - intei_rpc_from(ei_cnode *ec, int fd, int timeout, erlang_msg *msg, ei_x_buff *x) + intei_rpc(ei_cnode *ec, int fd, char *mod, char *fun, const char *argbuf, int argbuflen, ei_x_buff *x) + intei_rpc_to(ei_cnode *ec, int fd, char *mod, char *fun, const char *argbuf, int argbuflen) + intei_rpc_from(ei_cnode *ec, int fd, int timeout, erlang_msg *msg, ei_x_buff *x) Remote Procedure Call from C to Erlang.

Supports calling Erlang functions on remote nodes. @@ -658,7 +658,7 @@ if (ei_decode_version(result.buff, &index) < 0 - erlang_pid *ei_self(ei_cnode *ec) + erlang_pid *ei_self(ei_cnode *ec) Retrieve the pid of the C-node.

Retrieves the pid of the C-node. Every C-node @@ -671,7 +671,7 @@ if (ei_decode_version(result.buff, &index) < 0 - intei_send(int fd, erlang_pid* to, char* buf, int len) + intei_send(int fd, erlang_pid* to, char* buf, int len) Send a message.

Sends an Erlang term to a process.

@@ -692,7 +692,7 @@ if (ei_decode_version(result.buff, &index) < 0
- intei_send_encoded(int fd, erlang_pid* to, char* buf, int len) + intei_send_encoded(int fd, erlang_pid* to, char* buf, int len) Obsolete function to send a message.

Works exactly as ei_send, the alternative name is retained for @@ -702,7 +702,7 @@ if (ei_decode_version(result.buff, &index) < 0 - intei_send_encoded_tmo(int fd, erlang_pid* to, char* buf, int len, unsigned timeout_ms) + intei_send_encoded_tmo(int fd, erlang_pid* to, char* buf, int len, unsigned timeout_ms) Obsolete function to send a message with optional time-out. @@ -713,7 +713,7 @@ if (ei_decode_version(result.buff, &index) < 0 - intei_send_reg_encoded(int fd, const erlang_pid *from, const char *to, const char *buf, int len) + intei_send_reg_encoded(int fd, const erlang_pid *from, const char *to, const char *buf, int len) Obsolete function to send a message to a registered name. @@ -741,7 +741,7 @@ self->num = fd; - intei_send_reg_encoded_tmo(int fd, const erlang_pid *from, const char *to, const char *buf, int len) + intei_send_reg_encoded_tmo(int fd, const erlang_pid *from, const char *to, const char *buf, int len) Obsolete function to send a message to a registered name with time-out. @@ -752,7 +752,7 @@ self->num = fd; - intei_send_tmo(int fd, erlang_pid* to, char* buf, int len, unsigned timeout_ms) + intei_send_tmo(int fd, erlang_pid* to, char* buf, int len, unsigned timeout_ms) Send a message with optional time-out.

Equivalent to @@ -762,9 +762,9 @@ self->num = fd; - const char *ei_thisnodename(ei_cnode *ec) - const char *ei_thishostname(ei_cnode *ec) - const char *ei_thisalivename(ei_cnode *ec) + const char *ei_thisnodename(ei_cnode *ec) + const char *ei_thishostname(ei_cnode *ec) + const char *ei_thisalivename(ei_cnode *ec) Retrieve some values.

Can be used to retrieve information about @@ -779,7 +779,7 @@ self->num = fd; - intei_unpublish(ei_cnode *ec) + intei_unpublish(ei_cnode *ec) Forcefully unpublish a node name.

Can be called by a process to unregister a @@ -802,7 +802,7 @@ self->num = fd; - intei_unpublish_tmo(ei_cnode *ec, unsigned timeout_ms) + intei_unpublish_tmo(ei_cnode *ec, unsigned timeout_ms) Unpublish a node name with optional time-out.

Equivalent to diff --git a/lib/erl_interface/doc/src/erl_connect.xml b/lib/erl_interface/doc/src/erl_connect.xml index 8df03d4ecc..139ac9e2f0 100644 --- a/lib/erl_interface/doc/src/erl_connect.xml +++ b/lib/erl_interface/doc/src/erl_connect.xml @@ -49,7 +49,7 @@ - interl_accept(listensock, conp) + interl_accept(listensock, conp) Accept a connection. int listensock; @@ -78,7 +78,7 @@ typedef struct { - interl_close_connection(fd) + interl_close_connection(fd) Close a connection to an Erlang node. int fd; @@ -95,8 +95,8 @@ typedef struct { - interl_connect(node) - interl_xconnect(addr, alive) + interl_connect(node) + interl_xconnect(addr, alive) Establish a connection to an Erlang node. char *node, *alive; @@ -149,8 +149,8 @@ erl_xconnect( &addr , ALIVE ); - interl_connect_init(number, cookie, creation) - interl_connect_xinit(host, alive, node, addr, cookie, creation) + interl_connect_init(number, cookie, creation) + interl_connect_xinit(host, alive, node, addr, cookie, creation) Initialize communication. int number; @@ -246,7 +246,7 @@ if (!erl_connect_init(17, "samplecookiestring...", 0)) - interl_publish(port) + interl_publish(port) Publish a node name. int port; @@ -277,7 +277,7 @@ if (!erl_connect_init(17, "samplecookiestring...", 0)) - interl_receive(fd, bufp, bufsize) + interl_receive(fd, bufp, bufsize) Receive a message. int fd; @@ -316,7 +316,7 @@ if (!erl_connect_init(17, "samplecookiestring...", 0)) - interl_receive_msg(fd, bufp, bufsize, emsg) + interl_receive_msg(fd, bufp, bufsize, emsg) Receive and decode a message. int fd; @@ -411,7 +411,7 @@ typedef struct { - interl_reg_send(fd, to, msg) + interl_reg_send(fd, to, msg) Send a message to a registered name. int fd; @@ -439,9 +439,9 @@ typedef struct { - ETERM *erl_rpc(fd, mod, fun, args) - interl_rpc_from(fd, timeout, emsg) - interl_rpc_to(fd, mod, fun, args) + ETERM *erl_rpc(fd, mod, fun, args) + interl_rpc_from(fd, timeout, emsg) + interl_rpc_to(fd, mod, fun, args) Remote Procedure Call. int fd, timeout; @@ -511,7 +511,7 @@ typedef struct { - interl_send(fd, to, msg) + interl_send(fd, to, msg) Send a message. int fd; @@ -541,11 +541,11 @@ typedef struct { - const char *erl_thisalivename() - const char *erl_thiscookie() - shorterl_thiscreation() - const char *erl_thishostname() - const char *erl_thisnodename() + const char *erl_thisalivename() + const char *erl_thiscookie() + shorterl_thiscreation() + const char *erl_thishostname() + const char *erl_thisnodename() Retrieve some values.

Retrieves information about @@ -556,7 +556,7 @@ typedef struct { - interl_unpublish(alive) + interl_unpublish(alive) Forcefully unpublish a node name. char *alive; @@ -583,7 +583,7 @@ typedef struct { - interl_xreceive_msg(fd, bufpp, bufsizep, emsg) + interl_xreceive_msg(fd, bufpp, bufsizep, emsg) Receive and decode a message. int fd; @@ -616,10 +616,10 @@ typedef struct { - struct hostent *erl_gethostbyaddr(addr, length, type) - struct hostent *erl_gethostbyaddr_r(addr, length, type, hostp, buffer, buflen, h_errnop) - struct hostent *erl_gethostbyname(name) - struct hostent *erl_gethostbyname_r(name, hostp, buffer, buflen, h_errnop) + struct hostent *erl_gethostbyaddr(addr, length, type) + struct hostent *erl_gethostbyaddr_r(addr, length, type, hostp, buffer, buflen, h_errnop) + struct hostent *erl_gethostbyname(name) + struct hostent *erl_gethostbyname_r(name, hostp, buffer, buflen, h_errnop) Name lookup functions. diff --git a/lib/erl_interface/doc/src/erl_error.xml b/lib/erl_interface/doc/src/erl_error.xml index 8139c9b343..6fac94e442 100644 --- a/lib/erl_interface/doc/src/erl_error.xml +++ b/lib/erl_interface/doc/src/erl_error.xml @@ -47,7 +47,7 @@ - voiderl_err_msg(FormatStr, ... ) + voiderl_err_msg(FormatStr, ... ) Non-fatal error, and not system call error. const char *FormatStr; @@ -59,7 +59,7 @@ - voiderl_err_quit(FormatStr, ... ) + voiderl_err_quit(FormatStr, ... ) Fatal error, but not system call error. const char *FormatStr; @@ -73,7 +73,7 @@ - voiderl_err_ret(FormatStr, ... ) + voiderl_err_ret(FormatStr, ... ) Non-fatal system call error. const char *FormatStr; @@ -86,7 +86,7 @@ - voiderl_err_sys(FormatStr, ... ) + voiderl_err_sys(FormatStr, ... ) Fatal system call error. const char *FormatStr; @@ -113,7 +113,7 @@ - volatile interl_errno + volatile interl_errno Variable erl_errno contains the Erl_Interface error number. You can change the value if you wish. diff --git a/lib/erl_interface/doc/src/erl_eterm.xml b/lib/erl_interface/doc/src/erl_eterm.xml index 9a05196a70..070ed30dfe 100644 --- a/lib/erl_interface/doc/src/erl_eterm.xml +++ b/lib/erl_interface/doc/src/erl_eterm.xml @@ -142,7 +142,7 @@ - ETERM *erl_cons(head, tail) + ETERM *erl_cons(head, tail) Prepend a term to the head of a list. ETERM *head; @@ -181,7 +181,7 @@ erl_free_compound(list); - ETERM *erl_copy_term(term) + ETERM *erl_copy_term(term) Create a copy of an Erlang term. ETERM *term; @@ -193,7 +193,7 @@ erl_free_compound(list); - ETERM *erl_element(position, tuple) + ETERM *erl_element(position, tuple) Extract an element from an Erlang tuple. int position; @@ -215,7 +215,7 @@ erl_free_compound(list); - ETERM *erl_hd(list) + ETERM *erl_hd(list) Extract the first element from a list. ETERM *list; @@ -230,7 +230,7 @@ erl_free_compound(list); - voiderl_init(NULL, 0) + voiderl_init(NULL, 0) Initialization routine. void *NULL; @@ -245,7 +245,7 @@ erl_free_compound(list); - interl_iolist_length(list) + interl_iolist_length(list) Return the length of an I/O list. ETERM *list; @@ -262,7 +262,7 @@ erl_free_compound(list); - ETERM *erl_iolist_to_binary(term) + ETERM *erl_iolist_to_binary(term) Convert an I/O list to a binary. ETERM *list; @@ -289,7 +289,7 @@ iohead ::= Binary - char *erl_iolist_to_string(list) + char *erl_iolist_to_string(list) Convert an I/O list to a NULL-terminated string. ETERM *list; @@ -312,7 +312,7 @@ iohead ::= Binary - interl_length(list) + interl_length(list) Determine the length of a list. ETERM *list; @@ -328,7 +328,7 @@ iohead ::= Binary - ETERM *erl_mk_atom(string) + ETERM *erl_mk_atom(string) Create an atom. const char *string; @@ -355,7 +355,7 @@ iohead ::= Binary - ETERM *erl_mk_binary(bptr, size) + ETERM *erl_mk_binary(bptr, size) Create a binary object. char *bptr; @@ -378,7 +378,7 @@ iohead ::= Binary - ETERM *erl_mk_empty_list() + ETERM *erl_mk_empty_list() Create an empty Erlang list.

Creates and returns an empty Erlang list. @@ -388,7 +388,7 @@ iohead ::= Binary - ETERM *erl_mk_estring(string, len) + ETERM *erl_mk_estring(string, len) Create an Erlang string. char *string; @@ -408,7 +408,7 @@ iohead ::= Binary - ETERM *erl_mk_float(f) + ETERM *erl_mk_float(f) Create an Erlang float. double f; @@ -426,7 +426,7 @@ iohead ::= Binary - ETERM *erl_mk_int(n) + ETERM *erl_mk_int(n) Create an Erlang integer. int n; @@ -443,7 +443,7 @@ iohead ::= Binary - ETERM *erl_mk_list(array, arrsize) + ETERM *erl_mk_list(array, arrsize) Create a list from an array. ETERM **array; @@ -465,7 +465,7 @@ iohead ::= Binary - ETERM *erl_mk_long_ref(node, n1, n2, n3, creation) + ETERM *erl_mk_long_ref(node, n1, n2, n3, creation) Create an Erlang reference. const char *node; @@ -495,7 +495,7 @@ iohead ::= Binary - ETERM *erl_mk_pid(node, number, serial, creation) + ETERM *erl_mk_pid(node, number, serial, creation) Create a process identifier. const char *node; @@ -525,7 +525,7 @@ iohead ::= Binary - ETERM *erl_mk_port(node, number, creation) + ETERM *erl_mk_port(node, number, creation) Create a port identifier. const char *node; @@ -550,7 +550,7 @@ iohead ::= Binary - ETERM *erl_mk_ref(node, number, creation) + ETERM *erl_mk_ref(node, number, creation) Create an old Erlang reference. const char *node; @@ -578,7 +578,7 @@ iohead ::= Binary - ETERM *erl_mk_string(string) + ETERM *erl_mk_string(string) Create a string. char *string; @@ -593,7 +593,7 @@ iohead ::= Binary - ETERM *erl_mk_tuple(array, arrsize) + ETERM *erl_mk_tuple(array, arrsize) Create an Erlang tuple from an array. ETERM **array; @@ -621,7 +621,7 @@ iohead ::= Binary - ETERM *erl_mk_uint(n) + ETERM *erl_mk_uint(n) Create an unsigned integer. unsigned int n; @@ -638,7 +638,7 @@ iohead ::= Binary - ETERM *erl_mk_var(name) + ETERM *erl_mk_var(name) Create an Erlang variable. char *name; @@ -653,7 +653,7 @@ iohead ::= Binary - interl_print_term(stream, term) + interl_print_term(stream, term) Print an Erlang term. FILE *stream; @@ -672,7 +672,7 @@ iohead ::= Binary - voiderl_set_compat_rel(release_number) + voiderl_set_compat_rel(release_number) Set the Erl_Interface library in compatibility mode. unsigned release_number; @@ -706,7 +706,7 @@ iohead ::= Binary - interl_size(term) + interl_size(term) Return the arity of a tuple or binary. ETERM *term; @@ -723,7 +723,7 @@ iohead ::= Binary - ETERM *erl_tl(list) + ETERM *erl_tl(list) Extract the tail from a list. ETERM *list; @@ -738,7 +738,7 @@ iohead ::= Binary - ETERM *erl_var_content(term, name) + ETERM *erl_var_content(term, name) Extract the content of a variable. ETERM *term; diff --git a/lib/erl_interface/doc/src/erl_format.xml b/lib/erl_interface/doc/src/erl_format.xml index 5b8b7b5e78..b5e895c720 100644 --- a/lib/erl_interface/doc/src/erl_format.xml +++ b/lib/erl_interface/doc/src/erl_format.xml @@ -41,7 +41,7 @@ - ETERM *erl_format(FormatStr, ...) + ETERM *erl_format(FormatStr, ...) Create an Erlang term. char *FormatStr; @@ -81,7 +81,7 @@ erl_format("[{name,~a},{age,~i},{data,~w}]", - interl_match(Pattern, Term) + interl_match(Pattern, Term) Perform pattern matching. ETERM *Pattern,*Term; diff --git a/lib/erl_interface/doc/src/erl_global.xml b/lib/erl_interface/doc/src/erl_global.xml index 2fa0045adf..72d43e81d5 100644 --- a/lib/erl_interface/doc/src/erl_global.xml +++ b/lib/erl_interface/doc/src/erl_global.xml @@ -48,7 +48,7 @@ - char **erl_global_names(fd,count) + char **erl_global_names(fd,count) Obtain list of global names. int fd; @@ -79,7 +79,7 @@ - interl_global_register(fd,name,pid) + interl_global_register(fd,name,pid) Register a name in global. int fd; @@ -103,7 +103,7 @@ - interl_global_unregister(fd,name) + interl_global_unregister(fd,name) Unregister a name from global. int fd; @@ -122,7 +122,7 @@ - ETERM *erl_global_whereis(fd,name,node) + ETERM *erl_global_whereis(fd,name,node) Look up a name in global. int fd; diff --git a/lib/erl_interface/doc/src/erl_malloc.xml b/lib/erl_interface/doc/src/erl_malloc.xml index c0eebc29e9..aae3b7e078 100644 --- a/lib/erl_interface/doc/src/erl_malloc.xml +++ b/lib/erl_interface/doc/src/erl_malloc.xml @@ -41,7 +41,7 @@ - ETERM *erl_alloc_eterm(etype) + ETERM *erl_alloc_eterm(etype) Allocate an ETERM structure. unsigned char etype; @@ -89,7 +89,7 @@ - voiderl_eterm_release(void) + voiderl_eterm_release(void) Clear the ETERM freelist.

Clears the freelist, where blocks are placed when they are @@ -99,7 +99,7 @@ - voiderl_eterm_statistics(allocated, freed) + voiderl_eterm_statistics(allocated, freed) Report term allocation statistics. long *allocated; @@ -127,7 +127,7 @@ - voiderl_free(ptr) + voiderl_free(ptr) Free some memory. void *ptr; @@ -139,7 +139,7 @@ - voiderl_free_array(array, size) + voiderl_free_array(array, size) Free an array of ETERM structures. ETERM **array; @@ -156,7 +156,7 @@ - voiderl_free_compound(t) + voiderl_free_compound(t) Free an array of ETERM structures. ETERM *t; @@ -179,7 +179,7 @@ - voiderl_free_term(t) + voiderl_free_term(t) Free an ETERM structure. ETERM *t; @@ -190,7 +190,7 @@ - voiderl_malloc(size) + voiderl_malloc(size) Allocate some memory. long size; diff --git a/lib/erl_interface/doc/src/erl_marshal.xml b/lib/erl_interface/doc/src/erl_marshal.xml index 2ad658f78b..1a6d3bb43c 100644 --- a/lib/erl_interface/doc/src/erl_marshal.xml +++ b/lib/erl_interface/doc/src/erl_marshal.xml @@ -42,7 +42,7 @@ - interl_compare_ext(bufp1, bufp2) + interl_compare_ext(bufp1, bufp2) Compare encoded byte sequences. unsigned char *bufp1,*bufp2; @@ -62,8 +62,8 @@ - ETERM *erl_decode(bufp) - ETERM *erl_decode_buf(bufpp) + ETERM *erl_decode(bufp) + ETERM *erl_decode_buf(bufpp) Convert a term from Erlang external format. unsigned char *bufp; @@ -102,8 +102,8 @@ - interl_encode(term, bufp) - interl_encode_buf(term, bufpp) + interl_encode(term, bufp) + interl_encode_buf(term, bufpp) Convert a term into Erlang external format. ETERM *term; @@ -179,7 +179,7 @@ - interl_ext_size(bufp) + interl_ext_size(bufp) Count elements in encoded term. unsigned char *bufp; @@ -190,7 +190,7 @@ - unsigned charerl_ext_type(bufp) + unsigned charerl_ext_type(bufp) Determine type of an encoded byte sequence. unsigned char *bufp; @@ -228,7 +228,7 @@ - unsigned char *erl_peek_ext(bufp, pos) + unsigned char *erl_peek_ext(bufp, pos) Step over encoded term. unsigned char *bufp; @@ -252,7 +252,7 @@ - interl_term_len(t) + interl_term_len(t) Determine encoded size of term. ETERM *t; diff --git a/lib/erl_interface/doc/src/registry.xml b/lib/erl_interface/doc/src/registry.xml index 6d70fb3475..1c90c5c9dd 100644 --- a/lib/erl_interface/doc/src/registry.xml +++ b/lib/erl_interface/doc/src/registry.xml @@ -44,7 +44,7 @@ - intei_reg_close(reg) + intei_reg_close(reg) Close a registry. ei_reg *reg; @@ -59,7 +59,7 @@ - intei_reg_delete(reg,key) + intei_reg_delete(reg,key) Delete an object from the registry. ei_reg *reg; @@ -85,7 +85,7 @@ - intei_reg_dump(fd,reg,mntab,flags) + intei_reg_dump(fd,reg,mntab,flags) Back up a registry to Mnesia. int fd; @@ -125,7 +125,7 @@ - doubleei_reg_getfval(reg,key) + doubleei_reg_getfval(reg,key) Get a floating point object. ei_reg *reg; @@ -151,7 +151,7 @@ - intei_reg_getival(reg,key) + intei_reg_getival(reg,key) Get an integer object. ei_reg *reg; @@ -177,7 +177,7 @@ - const void *ei_reg_getpval(reg,key,size) + const void *ei_reg_getpval(reg,key,size) Get a binary object. ei_reg *reg; @@ -207,7 +207,7 @@ - const char *ei_reg_getsval(reg,key) + const char *ei_reg_getsval(reg,key) Get a string object. ei_reg *reg; @@ -232,7 +232,7 @@ - intei_reg_getval(reg,key,flags,v,...) + intei_reg_getval(reg,key,flags,v,...) Get any object. ei_reg *reg; @@ -278,7 +278,7 @@ - intei_reg_markdirty(reg,key) + intei_reg_markdirty(reg,key) Mark an object as dirty. ei_reg *reg; @@ -305,7 +305,7 @@ - ei_reg *ei_reg_open(size) + ei_reg *ei_reg_open(size) Create and open a registry. int size; @@ -326,7 +326,7 @@ - intei_reg_purge(reg) + intei_reg_purge(reg) Remove deleted objects. ei_reg *reg; @@ -346,7 +346,7 @@ - intei_reg_resize(reg,newsize) + intei_reg_resize(reg,newsize) Resize a registry. ei_reg *reg; @@ -363,7 +363,7 @@ - intei_reg_restore(fd,reg,mntab) + intei_reg_restore(fd,reg,mntab) Restore a registry from Mnesia. int fd; @@ -399,7 +399,7 @@ - intei_reg_setfval(reg,key,f) + intei_reg_setfval(reg,key,f) Assign a floating point object. ei_reg *reg; @@ -424,7 +424,7 @@ - intei_reg_setival(reg,key,i) + intei_reg_setival(reg,key,i) Assign an integer object. ei_reg *reg; @@ -448,7 +448,7 @@ - intei_reg_setpval(reg,key,p,size) + intei_reg_setpval(reg,key,p,size) Assign a binary object. ei_reg *reg; @@ -479,7 +479,7 @@ - intei_reg_setsval(reg,key,s) + intei_reg_setsval(reg,key,s) Assign a string object. ei_reg *reg; @@ -507,7 +507,7 @@ - intei_reg_setval(reg,key,flags,v,...) + intei_reg_setval(reg,key,flags,v,...) Assign a value to any object type. ei_reg *reg; @@ -552,7 +552,7 @@ - intei_reg_stat(reg,key,obuf) + intei_reg_stat(reg,key,obuf) Get object information. ei_reg *reg; @@ -590,7 +590,7 @@ struct ei_reg_stat { - intei_reg_tabstat(reg,obuf) + intei_reg_tabstat(reg,obuf) Get registry information. ei_reg *reg; -- cgit v1.2.3