Lines Matching refs:options
3 * options.h
5 * $Id: options.h,v 1.7 2001/07/06 23:35:18 jp Exp $
22 /* Structure definition for tftp options. */
32 int opt_parse_request(char *data, int data_size, struct tftp_opt *options);
33 int opt_parse_options(char *data, int data_size, struct tftp_opt *options);
34 int opt_set_options(struct tftp_opt *options, char *name, char *value);
35 int opt_get_options(struct tftp_opt *options, char *name, char *value);
36 int opt_disable_options(struct tftp_opt *options, char *name);
37 int opt_support_options(struct tftp_opt *options);
38 int opt_get_tsize(struct tftp_opt *options);
39 int opt_get_timeout(struct tftp_opt *options);
40 int opt_get_blksize(struct tftp_opt *options);
41 int opt_get_multicast(struct tftp_opt *options, char *addr, int *port, int *mc);
42 void opt_set_tsize(int tsize, struct tftp_opt *options);
43 void opt_set_timeout(int timeout, struct tftp_opt *options);
44 void opt_set_blksize(int blksize, struct tftp_opt *options);
45 void opt_set_multicast(struct tftp_opt *options, char *addr, int port, int mc);
46 void opt_request_to_string(struct tftp_opt *options, char *string, int len);
47 void opt_options_to_string(struct tftp_opt *options, char *string, int len);