diff options
Diffstat (limited to 'src/tru/tinyradutil.h')
| -rw-r--r-- | src/tru/tinyradutil.h | 64 |
1 files changed, 34 insertions, 30 deletions
diff --git a/src/tru/tinyradutil.h b/src/tru/tinyradutil.h index f8f2033..b2e4f92 100644 --- a/src/tru/tinyradutil.h +++ b/src/tru/tinyradutil.h | |||
| @@ -160,60 +160,64 @@ extern const TinyRadUtilWidget tru_widget_map[]; | |||
| 160 | ////////////////// | 160 | ////////////////// |
| 161 | #pragma mark - Prototypes | 161 | #pragma mark - Prototypes |
| 162 | 162 | ||
| 163 | //--------------------------// | ||
| 164 | // miscellaneous prototypes // | ||
| 165 | //--------------------------// | ||
| 166 | #pragma mark miscellaneous prototypes | ||
| 167 | |||
| 168 | int | ||
| 169 | tru_load_tinyrad( | ||
| 170 | TinyRadUtilConf * cnf ); | ||
| 171 | |||
| 172 | |||
| 173 | //------------------// | ||
| 174 | // usage prototypes // | ||
| 175 | //------------------// | ||
| 176 | #pragma mark usage prototypes | ||
| 177 | |||
| 163 | int | 178 | int |
| 164 | main( | 179 | tru_getopt( |
| 180 | TinyRadUtilConf * cnf, | ||
| 165 | int argc, | 181 | int argc, |
| 166 | char * argv[] ); | 182 | char * const * argv, |
| 183 | const char * short_opt, | ||
| 184 | const struct option * long_opt, | ||
| 185 | int * opt_index ); | ||
| 167 | 186 | ||
| 168 | 187 | ||
| 169 | void | 188 | int |
| 170 | tru_cleanup( | 189 | tru_usage( |
| 171 | TinyRadUtilConf * cnf ); | 190 | TinyRadUtilConf * cnf ); |
| 172 | 191 | ||
| 173 | 192 | ||
| 174 | void | 193 | void |
| 175 | tru_usage_options( | 194 | tru_usage_options( |
| 176 | TinyRadUtilConf * cnf ); | 195 | TinyRadUtilConf * cnf ); |
| 177 | 196 | ||
| 178 | 197 | ||
| 179 | void | 198 | void |
| 180 | tru_usage_summary( | 199 | tru_usage_summary( |
| 181 | TinyRadUtilConf * cnf ); | 200 | TinyRadUtilConf * cnf ); |
| 182 | 201 | ||
| 183 | 202 | ||
| 203 | //-------------------// | ||
| 204 | // widget prototypes // | ||
| 205 | //-------------------// | ||
| 206 | #pragma mark widget prototypes | ||
| 207 | |||
| 184 | int | 208 | int |
| 185 | tru_widget_config( | 209 | tru_widget_config( |
| 186 | TinyRadUtilConf * cnf ); | 210 | TinyRadUtilConf * cnf ); |
| 187 | 211 | ||
| 188 | 212 | ||
| 189 | int | 213 | int |
| 190 | tru_widget_dict( | 214 | tru_widget_dict( |
| 191 | TinyRadUtilConf * cnf ); | 215 | TinyRadUtilConf * cnf ); |
| 192 | 216 | ||
| 193 | 217 | ||
| 194 | int | 218 | int |
| 195 | tru_widget_url( | 219 | tru_widget_url( |
| 196 | TinyRadUtilConf * cnf ); | 220 | TinyRadUtilConf * cnf ); |
| 197 | |||
| 198 | |||
| 199 | int | ||
| 200 | tru_getopt( | ||
| 201 | TinyRadUtilConf * cnf, | ||
| 202 | int argc, | ||
| 203 | char * const * argv, | ||
| 204 | const char * short_opt, | ||
| 205 | const struct option * long_opt, | ||
| 206 | int * opt_index ); | ||
| 207 | |||
| 208 | |||
| 209 | int | ||
| 210 | tru_load_tinyrad( | ||
| 211 | TinyRadUtilConf * cnf ); | ||
| 212 | |||
| 213 | |||
| 214 | int | ||
| 215 | tru_usage( | ||
| 216 | TinyRadUtilConf * cnf ); | ||
| 217 | 221 | ||
| 218 | 222 | ||
| 219 | #endif /* end of header */ | 223 | #endif /* end of header */ |
