UM C API  6.12.1
umestored_main.h File Reference

Ultra Messaging (UM) Callable Store API. More...

Go to the source code of this file.

Functions

UMEStoreExpDLL int umestored_main (int argc, char **argv)
 Start the UM persistant store as a set of threads within the calling process. More...
 
UMEStoreExpDLL void umestored_main_shutdown ()
 Stop the UM persistant store which is running as a set of threads within the calling process. More...
 

Detailed Description

Ultra Messaging (UM) Callable Store API.

Function Documentation

UMEStoreExpDLL int umestored_main ( int  argc,
char **  argv 
)

Start the UM persistant store as a set of threads within the calling process.

There are many restrictions for using this function; see Callable Store and umestored_example.c.

Parameters
argcset to number of valid argv[] elements.
argvpointer to array of string pointers representing the command-line parameters to the store. Set argv[0] to the program name, and argv[1] .. argv[argc-1] to the command-line parameters.
Returns
0 for Success and -1 for Failure.
UMEStoreExpDLL void umestored_main_shutdown ( )

Stop the UM persistant store which is running as a set of threads within the calling process.

There are many restrictions for using this function; see Callable Store and umestored_example.c.

Returns
0 for Success and -1 for Failure.