Helper functions


Functions

int rs_get_reginfo (int node, char *proc, rs_reg_t *pinfo)
int rs_mark_reginfo_invalid (int node, char *proc)
int rs_get_reginfo_direct (int node, char *proc, rs_reg_t *pinfo)
int rs_set_verboselevel (int level)

Function Documentation

int rs_get_reginfo ( int  node,
char *  proc,
rs_reg_t pinfo 
)

Gets registration info for a process. When found the entry is stored in cache, successive calls will get info from cache. When proc is not reachable or disconnects the cache line should be marked invalid with rs_mark_reginfo_invalid()

Parameters:
node Node of process
proc Name of process
pinfo Registration info filled in
Returns:
  • 0: ok
  • !0: error or no process found

int rs_get_reginfo_direct ( int  node,
char *  proc,
rs_reg_t pinfo 
)

Gets registration info for a process directly from registration server, no cache is used.

Parameters:
node Node of process
proc Name of process
pinfo Registration info filled in
Returns:
  • 0: ok
  • !0: error or no process found

int rs_mark_reginfo_invalid ( int  node,
char *  proc 
)

Marks a cache entry as invalid

Parameters:
node Node of process
proc Name of process
Returns:
  • 0: ok
  • !0: error or no process found

int rs_set_verboselevel ( int  level  ) 

Set the verbose level of the server process

Parameters:
level Verbose level
Returns:
  • 0: ok
  • !0: error or no server


Generated on 4 Mar 2014 for rsintf by  doxygen 1.4.7