FACT++  1.0
unsigned dis_add_service ( char *  name,
char *  type,
void *  address,
int  size,
void(*)()  user_routine,
long  tag 
)

Definition at line 361 of file dis_old.c.

References do_dis_add_service(), id_get_ptr(), SRC_DIS, serv::tid, and user_routine().

Referenced by dis_hash_print().

363 {
364  unsigned ret;
365 #ifdef VxWorks
366  register SERVICE *servp;
367 #endif
368 /*
369  DISABLE_AST
370 */
371  ret = do_dis_add_service( name, type, address, size, user_routine, tag);
372 #ifdef VxWorks
373  servp = (SERVICE *)id_get_ptr(ret, SRC_DIS);
374  servp->tid = taskIdSelf();
375 #endif
376 /*
377  ENABLE_AST
378 */
379  return(ret);
380 }
static unsigned do_dis_add_service(char *name, char *type, void *address, int size, void(*user_routine)(), long tag)
Definition: dis_old.c:316
void * id_get_ptr(int id, SRC_TYPES type)
Definition: conn_handler.c:184
Definition: dis.c:69
int type
int size
Definition: db_dim_server.c:17
int tid
Definition: dis.c:85
static void user_routine(void *tagp, void *bufp, int *size)
Definition: diccpp.cxx:11

+ Here is the call graph for this function:

+ Here is the caller graph for this function: