Browse Source

* reorganize headers

master
Alex 'AdUser' Z 8 years ago
parent
commit
1420610967
  1. 1
      src/cmsg.c
  2. 2
      src/cmsg.h
  3. 1
      src/csocket.c
  4. 1
      src/daemon.c

1
src/cmsg.c

@ -1,4 +1,5 @@
#include "common.h" #include "common.h"
#include "commands.h"
#include "cmsg.h" #include "cmsg.h"
#include <sys/uio.h> #include <sys/uio.h>

2
src/cmsg.h

@ -1,8 +1,6 @@
#ifndef F2B_CMSG_H_ #ifndef F2B_CMSG_H_
#define F2B_CMSG_H_ #define F2B_CMSG_H_
#include "commands.h"
#define DATA_LEN_MAX 1476 /* 1500 - (16 bytes of cmsg header + 8 bytes of udp) */ #define DATA_LEN_MAX 1476 /* 1500 - (16 bytes of cmsg header + 8 bytes of udp) */
#define DATA_ARGS_MAX 6 /* number of args in data */ #define DATA_ARGS_MAX 6 /* number of args in data */
#define F2B_PROTO_VER 1 #define F2B_PROTO_VER 1

1
src/csocket.c

@ -5,6 +5,7 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include "common.h" #include "common.h"
#include "commands.h"
#include "cmsg.h" #include "cmsg.h"
#include "csocket.h" #include "csocket.h"
#include "log.h" #include "log.h"

1
src/daemon.c

@ -9,6 +9,7 @@
#include "config.h" #include "config.h"
#include "jail.h" #include "jail.h"
#include "backend.h" #include "backend.h"
#include "commands.h"
#include "cmsg.h" #include "cmsg.h"
#include "csocket.h" #include "csocket.h"

Loading…
Cancel
Save