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

Definition at line 392 of file dis.c.

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

394 {
395  unsigned ret;
396 #ifdef VxWorks
397  register SERVICE *servp;
398 #endif
399 /*
400  DISABLE_AST
401 */
402  ret = do_dis_add_service_dns( name, type, address, size, user_routine, tag, dnsid);
403 #ifdef VxWorks
404  servp = (SERVICE *)id_get_ptr(ret, SRC_DIS);
405  servp->tid = taskIdSelf();
406 #endif
407 /*
408  ENABLE_AST
409 */
410  return(ret);
411 }
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
static unsigned do_dis_add_service_dns(char *name, char *type, void *address, int size, void(*user_routine)(), dim_long tag, dim_long dnsid)
Definition: dis.c:234
int tid
Definition: dis.c:85
dnsid
Definition: README_v19.txt:372
static void user_routine(void *tagp, void *bufp, int *size)
Definition: diccpp.cxx:11

+ Here is the call graph for this function: