changed enum and structs names to _t

This commit is contained in:
Jan Hutter
2005-11-24 09:17:51 +00:00
parent 1f9c9180e4
commit 95c61cb956
45 changed files with 199 additions and 178 deletions
+5 -3
View File
@@ -24,11 +24,13 @@
#include <utils/allocator.h>
typedef struct private_host_t private_host_t;
/**
* @brief The logger object.
* @brief Private Data of a host object.
*/
typedef struct private_host_s private_host_t;
struct private_host_s {
struct private_host_t {
/**
* Public data
*/
+4 -3
View File
@@ -32,11 +32,12 @@
#include <types.h>
typedef struct host_t host_t;
/**
* @brief The logger object
* @brief Representates a Host
*/
typedef struct host_s host_t;
struct host_s {
struct host_t {
/**
* @brief Build a clone of this host object.
*
+6 -6
View File
@@ -26,15 +26,15 @@
#include <utils/allocator.h>
/**
* Private data of an packet_t object
*/
typedef struct private_packet_s private_packet_t;
typedef struct private_packet_t private_packet_t;
struct private_packet_s {
/**
* Private data of an packet_t object.
*/
struct private_packet_t {
/**
* Public part of a packet_t object
* Public part of a packet_t object.
*/
packet_t public;
};
+2 -3
View File
@@ -28,12 +28,11 @@
#include <network/host.h>
typedef struct packet_t packet_t;
/**
* @brief UDP-Packet, contains data, sender and receiver
*/
typedef struct packet_s packet_t;
struct packet_s {
struct packet_t {
/**
* source address structure
+6 -2
View File
@@ -36,9 +36,13 @@
#include <utils/allocator.h>
#include <utils/logger_manager.h>
typedef struct private_socket_s private_socket_t;
struct private_socket_s{
typedef struct private_socket_t private_socket_t;
/**
* Private data of an socket_t object
*/
struct private_socket_t{
/**
* public functions
*/
+3 -2
View File
@@ -37,12 +37,13 @@
#define MAX_PACKET 3000
typedef struct socket_t socket_t;
/**
* @brief abstraction of one (ipv4), or in future, of multiple sockets
*
*/
typedef struct socket_s socket_t;
struct socket_s {
struct socket_t {
/**
* @brief receive a packet
*