diff options
Diffstat (limited to 'crypto/heimdal/lib/sl/sl.h')
-rw-r--r-- | crypto/heimdal/lib/sl/sl.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/crypto/heimdal/lib/sl/sl.h b/crypto/heimdal/lib/sl/sl.h index 5b3e4b7..8798ee8 100644 --- a/crypto/heimdal/lib/sl/sl.h +++ b/crypto/heimdal/lib/sl/sl.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995 - 2000 Kungliga Tekniska Högskolan + * Copyright (c) 1995 - 2004 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -31,7 +31,7 @@ * SUCH DAMAGE. */ -/* $Id: sl.h,v 1.9 2001/01/26 14:58:41 joda Exp $ */ +/* $Id: sl.h 17948 2006-08-28 14:16:43Z lha $ */ #ifndef _SL_H #define _SL_H @@ -49,12 +49,21 @@ struct sl_cmd { typedef struct sl_cmd SL_cmd; +#ifdef __cplusplus +extern "C" { +#endif + void sl_help (SL_cmd *, int argc, char **argv); int sl_loop (SL_cmd *, const char *prompt); int sl_command_loop (SL_cmd *cmds, const char *prompt, void **data); int sl_command (SL_cmd *cmds, int argc, char **argv); int sl_make_argv(char*, int*, char***); void sl_apropos (SL_cmd *cmd, const char *topic); +SL_cmd *sl_match (SL_cmd *cmds, char *cmd, int exactp); +void sl_slc_help (SL_cmd *cmds, int argc, char **argv); +#ifdef __cplusplus +} +#endif #endif /* _SL_H */ |