diff options
Diffstat (limited to 'src/ttu/tinytacutil.h')
| -rw-r--r-- | src/ttu/tinytacutil.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ttu/tinytacutil.h b/src/ttu/tinytacutil.h index afc5471..1226618 100644 --- a/src/ttu/tinytacutil.h +++ b/src/ttu/tinytacutil.h | |||
| @@ -56,6 +56,7 @@ | |||
| 56 | 56 | ||
| 57 | #define TTUTILS_OPT_QUIET 0x00000001U | 57 | #define TTUTILS_OPT_QUIET 0x00000001U |
| 58 | #define TTUTILS_OPT_VERBOSE 0x00000002U | 58 | #define TTUTILS_OPT_VERBOSE 0x00000002U |
| 59 | #define TTUTILS_OPT_PASSPROMPT 0x00000004U | ||
| 59 | 60 | ||
| 60 | 61 | ||
| 61 | ////////////////// | 62 | ////////////////// |
| @@ -73,6 +74,9 @@ struct _tinytac_util_config | |||
| 73 | unsigned opts; | 74 | unsigned opts; |
| 74 | int argc; | 75 | int argc; |
| 75 | char ** argv; | 76 | char ** argv; |
| 77 | const char * pass; | ||
| 78 | const char * pass_file; | ||
| 79 | char * pass_buff; | ||
| 76 | const char * prog_name; | 80 | const char * prog_name; |
| 77 | const ttu_widget_t * widget; | 81 | const ttu_widget_t * widget; |
| 78 | TinyTac * tt; | 82 | TinyTac * tt; |
| @@ -134,6 +138,21 @@ tru_verbose( | |||
| 134 | ... ); | 138 | ... ); |
| 135 | 139 | ||
| 136 | 140 | ||
| 141 | //--------------------------// | ||
| 142 | // miscellaneous prototypes // | ||
| 143 | //--------------------------// | ||
| 144 | #pragma mark miscellaneous prototypes | ||
| 145 | |||
| 146 | extern char * | ||
| 147 | ttu_file2str( | ||
| 148 | const char * path ); | ||
| 149 | |||
| 150 | |||
| 151 | extern int | ||
| 152 | ttu_password( | ||
| 153 | ttu_config_t * cnf ); | ||
| 154 | |||
| 155 | |||
| 137 | //------------------// | 156 | //------------------// |
| 138 | // usage prototypes // | 157 | // usage prototypes // |
| 139 | //------------------// | 158 | //------------------// |
