const char* qHashtblGetFirstKey ( Q_HASHTBL tbl,
int *  idx 
)

Get first key name

Parameters:
tbl a pointer of Q_HASHTBL
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 = qHashtblGetFirstKey(tbl, &idx); key != NULL; key = qHashtblGetNextKey(tbl, &idx) {
     char *value = qHashtblGetStr(tbl, key);
     if(value != NULL) free(value);
   }

Definition at line 283 of file qHashtbl.c.


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