src/cats/sql.c
int db_string_list_handler(void *ctx, int num_fields, char **row) 
{ 
   alist **val = (alist **)ctx; 
 
   if (row[0]) { 
      (*val)->append(bstrdup(row[0])); 
   } 
 
   return 0; 
}
/* 
 * Called here to retrieve an string list from the database 
 */
Called here to retrieve an string list from the database
Called here to retrieve an string list from the database
int db_string_list_handler(void *ctx, int num_fields, char **row) 
{ 
   alist **val = (alist **)ctx; 
   if (row[0]) { 
      (*val)->append(bstrdup(row[0])); 
   } 
   return 0; 
}
int db_string_list_handler ( void * ctx , int num_fields , char * * row ) { alist * * val = ( alist * * ) ctx ; if ( row [ 0 ] ) { ( * val ) -> append ( bstrdup ( row [ 0 ] ) ) ; } return 0 ; }
Called here to retrieve an string list from the database
Called here to retrieve an string list from the database