From 7cfa818995332e8b54fc1831bacdf9c2d131155c Mon Sep 17 00:00:00 2001 From: jacomi Date: Wed, 17 Mar 1999 19:11:36 +0000 Subject: first draft for man pages on ivy-c --- doc/ivy-c.htm | 228 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 228 insertions(+) create mode 100644 doc/ivy-c.htm (limited to 'doc/ivy-c.htm') diff --git a/doc/ivy-c.htm b/doc/ivy-c.htm new file mode 100644 index 0000000..5521560 --- /dev/null +++ b/doc/ivy-c.htm @@ -0,0 +1,228 @@ + +
+ + + + + + + + + + + + + + ++IvyInit(AppName, ready, callback, data, die_callback, die_data) +
+void +IvyStart(bus) +
+void +IvyStop() +
+MsgRcvPtr +IvyBindMsg(callback, user_data, regexp, ...) +
+void +IvyUnbindMsg(id) +
+void +IvyBindDirectMsg(callback, user_data) +
+int +IvySendMsg(fmt_message, ...) +
+void +IvySendDirectMsg(app, id, msg) +
+void +IvySendDieMsg(app) +
+void +IvySendError(app, id, fmt, ...) +
+char* +IvyGetApplicationName(app) +
+char* +IvyGetApplicationHost(app) +
+char* +IvyGetApplication(name) +
+char* +IvyGetApplicationList() +
+char** +IvyGetApplicationMessages(\fapp) +
+char* +IvyDefaultApplicationCallback(app, user_data, Event) +char* +IvyClasses(argc, argv) +
+void +IvyChannelInit(void) +
+Channel +IvyChannelSetUp(fd, data, handle_delete, handle_read) +
+void +IvyMainLoop(hook) +
+void +IvyChannelClose(channel) +
+static void +IvyChannelDelete(channel) +
+static void +IvyChannelHandleRead(current) +
+static void +IvyChannelHandleExcpt(current) +
+static void +IvyXtChannelInit(void) +
+static void +IvyXtChannelSetUp(fd, data, handle_delete, handle_read) +
+void +IvyXtChannelClose(channel) +
+static void +IvyXtHandleChannelRead(closure, source, id) +
+static void +IvyXtHandleChannelDelete(closure, source, id) +
+void +IvyChannelAppContext(cntx) +
+
const_char *AppName
+(in) const_char *ready
+(in) IvyApplicationCallback callback
+(in) void *data
+(in) IvyDieCallback die_callback
+(in) void *die_data
+(in) const_char *bus
+(in) MsgCallback callback
+(in) void *user_data
+(in) const_char *regexp
+(in) MsgRcvPtr id
+(out) MsgRcvPtr id
+(in) HANDLE fd
+(in) void *data
+(in) ChannelHandleDelete handle_delete
+(in) ChannelHandleRead handle_read
+(in) Channel out
+(out) +These procedures provide facilities for connecting applications on a +software bus and managing messages exchanges among them. + +
+ +#include "ivyloop.h" +#include "ivysocket.h" +#include "ivy.h" + + int main (int argc, char* argv[]){ + IvyInit ("IVYPROBE", + bport, + "IVYPROBE READY", + ApplicationCallback, + NULL, + NULL, + NULL) + IvyChannelSetUp(0, NULL, NULL, HandleStdin); + IvyStart (domains); + IvyMainLoop(0) +}; ++ +
+
+For further details, please refer to the Ivy html page at http://www.cenatls.cena.dgac.fr/pii/produits/Ivy.html +