5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 2005 Pekka Riikonen
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; version 2 of the License.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
24 #error "Do not include this header directly"
27 /* Internal representation of SilcSKRKey context. */
29 struct SilcSKRKeyStruct key; /* Key data */
30 SilcInt32 refcnt; /* Reference counter */
31 } *SilcSKRKeyInternal;
33 /* Key Repository context */
34 struct SilcSKRObject {
35 SilcSchedule scheduler;
36 SilcMutex lock; /* Repository lock */
37 SilcHashTable keys; /* All keys in repository */
41 struct SilcSKRFindStruct {
42 SilcHashTable constr; /* Search constraints */
45 #endif /* SILCSKR_I_H */