Moved SilcClientEntry, SilcServerEntry and SilcChannelEntry
[silc.git] / lib / silcclient / client.h
index 0fc86888d79db4e36a85196b5f37c1e58ce6401f..d49833f6247bbd4770e539ff4a695dea77f1bfe7 100644 (file)
@@ -38,5 +38,19 @@ typedef struct SilcChannelUserStruct *SilcChannelUser;
 typedef struct SilcClientInternalStruct *SilcClientInternal;
 typedef struct SilcClientConnectionInternalStruct 
                                           *SilcClientConnectionInternal;
+typedef struct SilcChannelPrivateKeyStruct *SilcChannelPrivateKey;
   
+/* Client entry status */
+typedef enum {
+  SILC_CLIENT_STATUS_NONE       = 0x0000,
+  SILC_CLIENT_STATUS_RESOLVING  = 0x0001,
+} SilcEntryStatus;
+
+/* Client and its mode on a channel */
+struct SilcChannelUserStruct {
+  SilcClientEntry client;
+  SilcUInt32 mode;
+  SilcChannelEntry channel;
+};
+
 #endif