FACT++  1.0
void id_free ( int  id,
SRC_TYPES  type 
)

Definition at line 206 of file conn_handler.c.

References Curr_id, id, and id_item::type.

Referenced by dis_insert_request(), dis_remove_service(), do_dna_write(), main(), release_request(), and release_service().

207 {
208  ID_ITEM *idp;
209  DISABLE_AST
210 
211  idp = &Id_arr[id];
212  if(idp->type == type)
213  {
214  idp->type = 0;
215  idp->ptr = 0;
216  }
217  Curr_id = 1;
218  ENABLE_AST
219 }
static int Curr_id
Definition: conn_handler.c:47
static ID_ITEM * Id_arr
Definition: conn_handler.c:42
char id[4]
Definition: FITS.h:71
SRC_TYPES type
Definition: conn_handler.c:39
int type

+ Here is the caller graph for this function: