diff options
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r-- | networking/udhcp/common.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index a80691b4a..00890ac1c 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
@@ -60,16 +60,12 @@ int udhcp_kernel_packet(struct dhcpMessage *payload, | |||
60 | 60 | ||
61 | /**/ | 61 | /**/ |
62 | 62 | ||
63 | void udhcp_background(const char *pidfile); | 63 | void udhcp_make_pidfile(const char *pidfile); |
64 | void udhcp_start_log_and_pid(const char *pidfile); | ||
65 | 64 | ||
66 | void udhcp_run_script(struct dhcpMessage *packet, const char *name); | 65 | void udhcp_run_script(struct dhcpMessage *packet, const char *name); |
67 | 66 | ||
68 | // Still need to clean these up... | 67 | // Still need to clean these up... |
69 | 68 | ||
70 | /* from pidfile.h */ | ||
71 | #define pidfile_acquire udhcp_pidfile_acquire | ||
72 | #define pidfile_write_release udhcp_pidfile_write_release | ||
73 | /* from options.h */ | 69 | /* from options.h */ |
74 | #define get_option udhcp_get_option | 70 | #define get_option udhcp_get_option |
75 | #define end_option udhcp_end_option | 71 | #define end_option udhcp_end_option |
@@ -91,8 +87,6 @@ int udhcp_sp_read(fd_set *rfds); | |||
91 | int raw_socket(int ifindex); | 87 | int raw_socket(int ifindex); |
92 | int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp); | 88 | int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp); |
93 | int listen_socket(uint32_t ip, int port, const char *inf); | 89 | int listen_socket(uint32_t ip, int port, const char *inf); |
94 | int pidfile_acquire(const char *pidfile); | ||
95 | void pidfile_write_release(int pid_fd); | ||
96 | int arpping(uint32_t yiaddr, uint32_t ip, uint8_t *arp, char *interface); | 90 | int arpping(uint32_t yiaddr, uint32_t ip, uint8_t *arp, char *interface); |
97 | 91 | ||
98 | #if ENABLE_FEATURE_UDHCP_DEBUG | 92 | #if ENABLE_FEATURE_UDHCP_DEBUG |