2009-01-31 01:40:18 -05:00
|
|
|
struct op {
|
|
|
|
char *name;
|
|
|
|
uint32_t id;
|
|
|
|
int local;
|
|
|
|
char *hostname;
|
|
|
|
char *path;
|
|
|
|
struct in_addr addr;
|
|
|
|
struct op *next;
|
2009-09-09 17:37:35 -04:00
|
|
|
char *user;
|
2009-01-31 01:40:18 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
void setup_ops(void);
|
2009-01-31 17:34:59 -05:00
|
|
|
void free_ops(void);
|
2009-01-31 01:40:18 -05:00
|
|
|
struct op *find_op(const char *name);
|
|
|
|
struct op *get_local_op(uint32_t id);
|