updates.
[silc.git] / lib / silcclient / client.h
index 2b40557b91296c9053ec432884e15ca7e7e53cc0..bf311c1031b697f1f0062ca3829b607664d292f0 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 1997 - 2001 Pekka Riikonen
+  Copyright (C) 1997 - 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
 #define CLIENT_H
 
 /* Forward declarations */
-typedef struct SilcClientStruct *SilcClient;
 typedef struct SilcClientInternalStruct *SilcClientInternal;
-typedef struct SilcClientConnectionStruct *SilcClientConnection;
-typedef struct SilcClientPingStruct SilcClientPing;
-typedef struct SilcClientAwayStruct SilcClientAway;
-typedef struct SilcClientKeyAgreementStruct *SilcClientKeyAgreement;
-typedef struct SilcClientFtpSessionStruct *SilcClientFtpSession;
-
-#include "idlist.h"
-#include "command.h"
-#include "silcapi.h"
 
 /* Generic rekey context for connections */
 typedef struct {
@@ -152,6 +142,7 @@ struct SilcClientConnectionStruct {
 /* Main client structure. */
 struct SilcClientStruct {
   char *username;              /* Username, must be set by application */
+  char *nickname;              /* Nickname, may be set by application  */
   char *hostname;              /* hostname, must be set by application */
   char *realname;              /* Real name, must be set be application */