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

Definition at line 371 of file dis.c.

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

Referenced by dis_hash_print().

373 {
374  unsigned ret;
375 #ifdef VxWorks
376  register SERVICE *servp;
377 #endif
378 /*
379  DISABLE_AST
380 */
381  ret = do_dis_add_service( name, type, address, size, user_routine, tag);
382 #ifdef VxWorks
383  servp = (SERVICE *)id_get_ptr(ret, SRC_DIS);
384  servp->tid = taskIdSelf();
385 #endif
386 /*
387  ENABLE_AST
388 */
389  return(ret);
390 }
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 unsigned do_dis_add_service(char *name, char *type, void *address, int size, void(*user_routine)(), dim_long tag)
Definition: dis.c:326
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: