FACT++  1.0
void dic_change_address ( unsigned  serv_id,
void *  serv_address,
int  serv_size 
)

Definition at line 921 of file dic.c.

References id_get_ptr(), dic_serv::serv_address, dic_serv::serv_size, and SRC_DIC.

Referenced by dic_find_server_conns().

922 {
923  register DIC_SERVICE *servp;
924 
925  DISABLE_AST
926  if( serv_id == 0 )
927  {
928  ENABLE_AST
929  return;
930  }
931  servp = (DIC_SERVICE *)id_get_ptr(serv_id, SRC_DIC);
932  servp->serv_address = (int *)serv_address;
933  servp->serv_size = serv_size;
934  ENABLE_AST
935 }
void * id_get_ptr(int id, SRC_TYPES type)
Definition: conn_handler.c:184
int * serv_address
Definition: dim.h:468
Definition: dim.h:457
int serv_id
Definition: demo_server.c:5
int serv_size
Definition: dim.h:469

+ Here is the call graph for this function:

+ Here is the caller graph for this function: