const char* qHasharrGetFirstKey ( Q_HASHARR tbl,
int *  idx 
)

Get first key name

Parameters:
tbl a pointer of Q_HASHARR
idx index pointer
Returns:
key name string if successful, otherwise returns NULL
Note:
Do not free returned key string.
   char *key;
   int idx;
   for(key = qHasharrGetFirstKey(tbl, &idx); key != NULL; key = qHasharrGetNextKey(tbl, &idx) {
     char *value = qHasharrGetStr(tbl, key);
     if(value != NULL) free(value);
   }

Definition at line 394 of file qHasharr.c.


Generated on Mon Mar 26 07:00:51 2018 for JSOC_Documentation by  doxygen 1.5.7.1