X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fsilcclient.h;fp=lib%2Fsilcclient%2Fsilcapi.h;h=231347173198f1e0509527e17bf0208ee2a2c55e;hb=09bae6acdf9a519c6d9b4e7535e7f7e56b6c24c1;hp=293b8d67b49529ff23ec9e42c7a9162ef78947d8;hpb=f93d80a4907e9ddd4bdc8b12a9f82cf2b279d07b;p=silc.git diff --git a/lib/silcclient/silcapi.h b/lib/silcclient/silcclient.h similarity index 98% rename from lib/silcclient/silcapi.h rename to lib/silcclient/silcclient.h index 293b8d67..23134717 100644 --- a/lib/silcclient/silcapi.h +++ b/lib/silcclient/silcclient.h @@ -1,16 +1,15 @@ /* - silcapi.h - + silcclient.h + Author: Pekka Riikonen - - Copyright (C) 2000 - 2001 Pekka Riikonen - + + Copyright (C) 2000 - 2002 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. - + the Free Software Foundation; version 2 of the License. + 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 @@ -48,10 +47,29 @@ * ***/ -#ifndef SILCAPI_H -#define SILCAPI_H +#ifndef SILCCLIENT_H +#define SILCCLIENT_H -#include "clientlibincludes.h" +#ifdef __cplusplus +extern "C" { +#endif + +/* Forward declarations */ +typedef struct SilcClientStruct *SilcClient; +typedef struct SilcClientConnectionStruct *SilcClientConnection; +typedef struct SilcClientPingStruct SilcClientPing; +typedef struct SilcClientAwayStruct SilcClientAway; +typedef struct SilcClientKeyAgreementStruct *SilcClientKeyAgreement; +typedef struct SilcClientFtpSessionStruct *SilcClientFtpSession; +typedef struct SilcClientEntryStruct *SilcClientEntry; +typedef struct SilcChannelEntryStruct *SilcChannelEntry; +typedef struct SilcServerEntryStruct *SilcServerEntry; +typedef struct SilcClientCommandStruct *SilcClientCommand; +typedef struct SilcClientCommandContextStruct *SilcClientCommandContext; +typedef struct SilcClientCommandReplyContextStruct + *SilcClientCommandReplyContext; +typedef struct SilcChannelPrivateKeyStruct *SilcChannelPrivateKey; +typedef struct SilcChannelUserStruct *SilcChannelUser; /* General definitions */ @@ -2018,4 +2036,14 @@ SilcClientFileError silc_client_file_close(SilcClient client, SilcClientConnection conn, uint32 session_id); +#include "client.h" +#include "command.h" +#include "command_reply.h" +#include "idlist.h" +#include "protocol.h" + +#ifdef __cplusplus +} #endif + +#endif /* SILCCLIENT_H */