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

Definition at line 382 of file dis_old.c.

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

384 {
385  unsigned ret;
386 #ifdef VxWorks
387  register SERVICE *servp;
388 #endif
389 /*
390  DISABLE_AST
391 */
392  ret = do_dis_add_service_dns( name, type, address, size, user_routine, tag, dnsid);
393 #ifdef VxWorks
394  servp = (SERVICE *)id_get_ptr(ret, SRC_DIS);
395  servp->tid = taskIdSelf();
396 #endif
397 /*
398  ENABLE_AST
399 */
400  return(ret);
401 }
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
dnsid
Definition: README_v19.txt:372
static unsigned do_dis_add_service_dns(char *name, char *type, void *address, int size, void(*user_routine)(), long tag, long dnsid)
Definition: dis_old.c:229
static void user_routine(void *tagp, void *bufp, int *size)
Definition: diccpp.cxx:11

+ Here is the call graph for this function: