… | |
… | |
59 | void selection_finish (rxvt_selection *sel, char *data, unsigned int len); |
59 | void selection_finish (rxvt_selection *sel, char *data, unsigned int len); |
60 | void usage (rxvt_term *term, int type); |
60 | void usage (rxvt_term *term, int type); |
61 | |
61 | |
62 | enum |
62 | enum |
63 | { |
63 | { |
64 | RESOURCE_AVAILABLE = 0, |
64 | RESOURCE_AVAILABLE = 1, // whether the option is valid |
65 | RESOURCE_BOOLEAN = 1 |
65 | RESOURCE_ARG = 2 // whether the option eats the next arg |
66 | }; |
66 | }; |
67 | uint8_t resource (rxvt_term *term, const char *name, bool arg, bool longopt, bool flag, const char *value); |
67 | uint8_t parse_resource (rxvt_term *term, const char *name, bool arg, bool longopt, bool flag, const char *value); |
68 | }; |
68 | }; |
69 | |
69 | |
70 | extern struct rxvt_perl_interp rxvt_perl; |
70 | extern struct rxvt_perl_interp rxvt_perl; |
71 | |
71 | |
72 | #else |
72 | #else |