Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
- Copyright (C) 1997 - 2000 Pekka Riikonen
+ Copyright (C) 1997 - 2000, 2008 Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
int silc_client_check_silc_dir();
int silc_client_load_keys(SilcClient client);
-typedef enum
-{
- KeyboardCompletionSuccess, /* Success; keyboard data returned to callback. */
- KeyboardCompletionAborted, /* Operation was aborted after starting successfully. */
- KeyboardCompletionFailed /* Operation was not started successfully. */
+typedef enum {
+ KeyboardCompletionSuccess, /* Success; keyboard data returned to callback. */
+ KeyboardCompletionAborted, /* Operation was aborted after starting successfully. */
+ KeyboardCompletionFailed /* Operation was not started successfully. */
} SilcKeyboardPromptStatus;
-typedef void (*SILC_KEYBOARD_PROMPT_PROC)(
- const char *line,
- void *context,
- SilcKeyboardPromptStatus reason);
+typedef void (*SILC_KEYBOARD_PROMPT_PROC)(const char *line,
+ void *context,
+ SilcKeyboardPromptStatus reason);
/*
* Prompt for keyboard input.
* keyboard redirect operation is aborted while we are still waiting for data,
* then we abort all callbacks until that callback returns.
*/
-bool silc_keyboard_entry_redirect(
- SILC_KEYBOARD_PROMPT_PROC prompt_func,
- const char *entry,
- int flags,
- void *data,
- SilcAsyncOperation *async);
+SilcBool silc_keyboard_entry_redirect(SILC_KEYBOARD_PROMPT_PROC prompt_func,
+ const char *entry,
+ int flags,
+ void *data,
+ SilcAsyncOperation *async);
#ifdef SILC_PLUGIN
typedef struct {