/common/home/bel/bella/lnx/exports/build/current/all/cop-libs/vx/ixf.h

00001 #ifndef _IXF_H
00002 #define _IXF_H
00003 
00004 #include <stdarg.h>
00005 #include "isintf.h"
00006 #include "rsintf.h"
00007 #include "uv.h"
00008 #include "ix_tools.h"
00009 
00010 /*
00011  * init and net functionality
00012  */
00013 int ixf_init(void);
00014 
00015 int ixf_set_name(char *p);
00016 int ixf_get_name( char *namebuf, int namebuflen );
00017 
00018 int ixf_connect( void );
00019 int ixf_send( int node, char *proc, char *buf, int len );
00020 
00021 /*
00022  * sets uv callback
00023  */
00024 int ixf_setuvcb( UV_CHANGE_CB cb );
00025 
00026 /*
00027  * checks if process proc is running 
00028  * node =0: all nodes are searched for
00029  *
00030  * in hostbuf the host the process is running is stored
00031  * in pid the PID of process is stored
00032  *
00033  * returns 0 if found
00034  *
00035  * the searched for process has to register to registration server
00036  * before  (see rsintf.h)
00037  */
00038 int ixf_check_process( int node, char *proc, int *pid, 
00039     char *hostbuf, int hostbuflen );
00040 
00041 
00042 /*
00043  * output of message and exit due to a severe error condition
00044  * no: conditional value (error number)
00045  * cnt: number of arguments starting with  no
00046  * fflag: called by fortran, i.e. string length is added to parameter
00047  *        list for each string argument
00048  * Returns:
00049  * 0: ok
00050  * !0: error
00051  */
00052 int msgs_signal( int fflag, int cnt, int no, va_list varg );
00053 
00054 
00055 /*
00056  */
00057 /*
00058  */
00059 int getlogical( char *plog, char *pval, int vallen, int *plen );
00060 int setlogical( char *table, char *plog, char *pval );
00061 int setlogicaljob( char *plog, char *pval );
00062 int setlogicalgroup(char *plog, char *pval );
00063 
00064 /*
00065  */
00066 void *x_event_loop( void *arg );
00067 
00068 #define XT_MAX_EVENT 256
00069 typedef int ( * XT_EVENT_CALLBACK) ( void *client_data, int *pevid, int *pid );
00080 int ixx_event_add_input(  void *app, int evid, int dummy1,
00081     XT_EVENT_CALLBACK callback, void *dummy2 );
00084 #define IXF_NONFATAL(i) ( (i) & ~(int)0x4 )
00085 
00086 
00087 #endif
00088 
00089 

Generated on 4 Mar 2014 for ixf by  doxygen 1.4.7