[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3146 - GNUnet/src/include
From: |
grothoff |
Subject: |
[GNUnet-SVN] r3146 - GNUnet/src/include |
Date: |
Fri, 28 Jul 2006 03:03:04 -0700 (PDT) |
Author: grothoff
Date: 2006-07-28 03:03:04 -0700 (Fri, 28 Jul 2006)
New Revision: 3146
Modified:
GNUnet/src/include/gnunet_core.h
Log:
tcpserver
Modified: GNUnet/src/include/gnunet_core.h
===================================================================
--- GNUnet/src/include/gnunet_core.h 2006-07-28 10:02:58 UTC (rev 3145)
+++ GNUnet/src/include/gnunet_core.h 2006-07-28 10:03:04 UTC (rev 3146)
@@ -141,18 +141,18 @@
* Opaque handle for client connections passed by
* the core to the CSHandlers.
*/
-typedef struct ClientH * ClientHandle;
+struct ClientHandle;
/**
* Type of a handler for messages from clients.
*/
-typedef int (*CSHandler)(ClientHandle client,
+typedef int (*CSHandler)(struct ClientHandle * client,
const MESSAGE_HEADER * message);
/**
* Method called whenever a given client disconnects.
*/
-typedef void (*ClientExitHandler)(ClientHandle client);
+typedef void (*ClientExitHandler)(struct ClientHandle * client);
/**
* Type of a handler for some message type.
@@ -213,7 +213,7 @@
* on the other hand does NOT confirm delivery since the actual
* transfer happens asynchronously.
*/
-typedef int (*SendToClientCallback)(ClientHandle handle,
+typedef int (*SendToClientCallback)(struct ClientHandle * handle,
const MESSAGE_HEADER * message);
/**
@@ -567,7 +567,7 @@
* on the other hand does NOT confirm delivery since the actual
* transfer happens asynchronously.
*/
- int (*sendValueToClient)(ClientHandle handle,
+ int (*sendValueToClient)(struct ClientHandle * handle,
int value);
/**
@@ -623,7 +623,7 @@
* Terminate the connection with the given client (asynchronous
* detection of a protocol violation).
*/
- void (*terminateClientConnection)(ClientHandle handle);
+ void (*terminateClientConnection)(struct ClientHandle * handle);
/* ************************ MISC ************************ */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3146 - GNUnet/src/include,
grothoff <=