aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/threads/sender.c
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-12-06 16:04:39 +0000
committerJan Hutter <jhutter@hsr.ch>2005-12-06 16:04:39 +0000
commitf1046648362e045781ad7eee6f821d0675178b80 (patch)
tree89d5e55a82da7660ead538148cd10cd786680d9f /Source/charon/threads/sender.c
parent2b547481315c3b641b716023858efdbb2c3e422a (diff)
downloadstrongswan-f1046648362e045781ad7eee6f821d0675178b80.tar.bz2
strongswan-f1046648362e045781ad7eee6f821d0675178b80.tar.xz
- code cleaned up
Diffstat (limited to 'Source/charon/threads/sender.c')
-rw-r--r--Source/charon/threads/sender.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/Source/charon/threads/sender.c b/Source/charon/threads/sender.c
index cb33d8405..3719c6b6c 100644
--- a/Source/charon/threads/sender.c
+++ b/Source/charon/threads/sender.c
@@ -32,38 +32,39 @@
#include <utils/allocator.h>
#include <utils/logger_manager.h>
+
typedef struct private_sender_t private_sender_t;
/**
- * Private data of a sender object
+ * Private data of a sender_t object.
*/
struct private_sender_t {
/**
- * Public part of a sender object
+ * Public part of a sender_t object.
*/
sender_t public;
/**
- * Assigned thread to the sender_t object
+ * Assigned thread.
*/
pthread_t assigned_thread;
/**
- * @brief The threads function, sends out packets.
+ * @brief The thread function, sends out packets.
*
- * @param this assigned sender object
+ * @param this calling object
*/
void (*send_packets) (private_sender_t * this);
/**
- * logger for this sender
+ * A logger for this sender_t object.
*/
logger_t *logger;
};
/**
- * implements private_sender_t.send_packets
+ * Implementation of private_sender_t.send_packets.
*/
static void send_packets(private_sender_t * this)
{
@@ -90,7 +91,7 @@ static void send_packets(private_sender_t * this)
}
/**
- * implements sender_t.destroy
+ * Implementation of sender_t.destroy.
*/
static void destroy(private_sender_t *this)
{
@@ -106,7 +107,7 @@ static void destroy(private_sender_t *this)
}
/*
- * see header
+ * Described in header.
*/
sender_t * sender_create()
{