clean up
This commit is contained in:
parent
cc33fd3e2c
commit
298c32576a
11
utils.h
11
utils.h
@ -120,7 +120,16 @@ bool item_inputer(char * varname,INPUT_TYPE type,void * item,bool empty_allowed)
|
||||
return true;
|
||||
}
|
||||
|
||||
void lister(void * db,struct Map* map, int row,char * lister_name,char * SortItems[],int NoSortItems,void (*page_printer)(void*,int,int,struct Map*) , struct Map* (*sorter)(void *,int),void * (*showitem)(void *,int)){
|
||||
void lister(
|
||||
void * db,
|
||||
struct Map* map,
|
||||
int row,
|
||||
char * lister_name,
|
||||
char * SortItems[],
|
||||
int NoSortItems,
|
||||
void (*page_printer)(void*,int,int,struct Map*),
|
||||
struct Map* (*sorter)(void *,int),void * (*showitem)(void *,int))
|
||||
{
|
||||
int choice = -1;
|
||||
int page = 0;
|
||||
int page_size = SIZE_OF_PAGE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user