mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
13 lines
353 B
C
13 lines
353 B
C
|
#ifndef OPTION_LIST_H
|
||
|
#define OPTION_LIST_H
|
||
|
#include "list.h"
|
||
|
|
||
|
void option_insert(list *l, char *key, char *val);
|
||
|
char *option_find(list *l, char *key);
|
||
|
char *option_find_str(list *l, char *key, char *def);
|
||
|
int option_find_int(list *l, char *key, int def);
|
||
|
double option_find_double(list *l, char *key, double def);
|
||
|
void option_unused(list *l);
|
||
|
|
||
|
#endif
|