This manual page lists some of the functions of the IC C runtime library that are used internally for the IC protocol.
The listed functions are used internally by generated C client
and server code. They are documented here for the advanced user that want to replace the default protocol (Erlang
distribution + gen_server) by his own protocol, For each set of
client or sever functions below with prefix
The following terminology is used (reflected in names of functions): a notification is a message send from client to server, without any reply back (i.e. a oneway operation); a request is a message sent from client to server, and where a reply message is sent back from the server to the client.
In order to understand how the functions work and what they do
the user must study their implementation in the IC C
library (source file is
The following functions are used internally by generated C client code.
The result of this function is the beginning of a binary of
in external format of the tuple
In generated client code this function is the first to be called in the encoding function for each oneway operation.
Sends a client notification to a server according to the Erlang distribution + gen_server protocol.
The
The result of this function is the beginning of a binary in
the external format of the tuple
In generated client code this function is the first to be called in the encoding function for each twoway operation.
Sends a client request and receives the reply according to
the Erlang distribution + gen_server protocol. This function
calls the
Decodes the binary version of the tuple
The following functions are used internally by generated C server code.
Decodes the binary version of the tuple
decodes the binary version of the tuple
Encodes the beginning of the binary version of the tuple
ic(3), ic_clib(3),