Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2002 - 2007 Pekka Riikonen
+ Copyright (C) 2002 - 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
#include "fe-common/core/keyboard.h"
#include "fe-common/silc/module-formats.h"
-static void silc_query_attributes_print_final(bool success, void *context);
+static void silc_query_attributes_print_final(SilcBool success, void *context);
static void silc_query_attributes_accept(const char *line, void *context,
SilcKeyboardPromptStatus reason);
SilcUInt32 argc;
SilcUInt32 *argv_lens, *argv_types;
const char *sv;
- bool allowed;
+ SilcBool allowed;
/* Now parse all arguments */
tmp = g_strconcat("ATTR", " ", data, NULL);
SilcAttributeObjDevice dev;
SilcAttributeObjPk pk;
SilcVCardStruct vcard;
- bool allowed;
+ SilcBool allowed;
memset(&service, 0, sizeof(service));
memset(&geo, 0, sizeof(geo));
SilcVCardStruct vcard;
SilcMime message;
SilcMime extension;
- bool nopk;
- bool autoaccept;
+ SilcBool nopk;
+ SilcBool autoaccept;
} *AttrVerify;
void silc_query_attributes_print(SILC_SERVER_REC *server,
}
}
-static void silc_query_attributes_print_final(bool success, void *context)
+static void silc_query_attributes_print_final(SilcBool success, void *context)
{
AttrVerify verify = context;
SILC_SERVER_REC *server = verify->server;
format, 0, verify, &server->prompt_op);
} else {
/* Save new data to existing directory */
- verify->autoaccept = TRUE; /* Ensure we don't twiddle the async context */
+ verify->autoaccept = TRUE; /* Ensure we don't twiddle the async context */
silc_query_attributes_accept("Y", verify, KeyboardCompletionSuccess);
}
unsigned char filename[256], filename2[256], *fingerprint = NULL, *tmp;
SilcUInt32 len;
int i;
- bool success = (reason == KeyboardCompletionSuccess);
+ SilcBool success = (reason == KeyboardCompletionSuccess);
if (success && (line[0] == 'Y' || line[0] == 'y')) {
/* Save the attributes */