62 if (argc > 1 && !
strcmp (
argv [1],
"listen")) {
81 }
else if (argc > 1 && !
strcmp (
argv [1],
"connect")) {
isc_result_t dhcp_context_create(int flags, struct in_addr *local4, struct in6_addr *local6)
#define DHCP_CONTEXT_PRE_DB
#define DHCP_CONTEXT_POST_DB
isc_result_t omapi_protocol_connect(omapi_object_t *, const char *, unsigned, omapi_object_t *)
isc_result_t omapi_generic_new(omapi_object_t **, const char *, int)
isc_result_t omapi_protocol_listen(omapi_object_t *, unsigned, int)
isc_result_t omapi_dispatch(struct timeval *)
isc_result_t omapi_init(void)
isc_result_t omapi_wait_for_completion(omapi_object_t *, struct timeval *)
int main(int argc, char **argv)