Lines Matching refs:_scanopt_t
52 struct _scanopt_t { struct
66 static const char *NAME(struct _scanopt_t *, int); argument
67 static int PRINTLEN(struct _scanopt_t *, int);
68 static int RVAL(struct _scanopt_t *, int);
69 static int FLAGS(struct _scanopt_t *, int);
70 static const char *DESC(struct _scanopt_t *, int);
71 static int scanopt_err(struct _scanopt_t *, int, int);
73 static int find_opt(struct _scanopt_t *, int, char *, int, int *, int *opt_offset);
75 static const char *NAME (struct _scanopt_t *s, int i) in NAME()
81 static int PRINTLEN (struct _scanopt_t *s, int i) in PRINTLEN()
86 static int RVAL (struct _scanopt_t *s, int i) in RVAL()
91 static int FLAGS (struct _scanopt_t *s, int i) in FLAGS()
96 static const char *DESC (struct _scanopt_t *s, int i) in DESC()
140 struct _scanopt_t *s; in scanopt_init()
141 s = malloc(sizeof (struct _scanopt_t)); in scanopt_init()
231 struct _scanopt_t *s; in scanopt_usage()
244 s = (struct _scanopt_t *) scanner; in scanopt_usage()
500 static int scanopt_err (struct _scanopt_t *s, int is_short, int err) in scanopt_err()
597 static int find_opt (struct _scanopt_t *s, int lookup_long, char *optstart, int in find_opt()
661 struct _scanopt_t *s; in scanopt()
666 s = (struct _scanopt_t *) svoid; in scanopt()
803 struct _scanopt_t *s; in scanopt_destroy()
805 s = (struct _scanopt_t *) svoid; in scanopt_destroy()