moved typedefs to beginning of files to solve some include problems
splitted authenticator to have a separate implementation for each auth_method_t using va_copy to clone va_lists, should fix proplems on AMD64 some other cleanups
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
#ifndef HOST_H_
|
||||
#define HOST_H_
|
||||
|
||||
typedef enum host_diff_t host_diff_t;
|
||||
typedef struct host_t host_t;
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
@@ -35,7 +38,6 @@
|
||||
|
||||
#include <types.h>
|
||||
|
||||
|
||||
/**
|
||||
* printf() specifier to print a host.
|
||||
* The specifier option '#' does include the port number, e.g.:
|
||||
@@ -43,8 +45,6 @@
|
||||
*/
|
||||
#define HOST_PRINTF_SPEC 'H'
|
||||
|
||||
typedef enum host_diff_t host_diff_t;
|
||||
|
||||
/**
|
||||
* Differences between two hosts. They differ in
|
||||
* address, port, or both.
|
||||
@@ -55,8 +55,6 @@ enum host_diff_t {
|
||||
HOST_DIFF_PORT = 2,
|
||||
};
|
||||
|
||||
typedef struct host_t host_t;
|
||||
|
||||
/**
|
||||
* @brief Representates a Host
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user