ISC DHCP 4.4.3-P1
A reference DHCPv4 and DHCPv6 implementation
 
Loading...
Searching...
No Matches
omapi.c File Reference
#include "dhcpd.h"
#include <omapip/omapip_p.h>

Go to the source code of this file.

Functions

void dhcp_db_objects_setup ()
 
isc_result_t dhcp_lease_set_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_typed_data_t *value)
 
isc_result_t dhcp_lease_get_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_value_t **value)
 
isc_result_t dhcp_lease_destroy (omapi_object_t *h, const char *file, int line)
 
isc_result_t dhcp_lease_signal_handler (omapi_object_t *h, const char *name, va_list ap)
 
isc_result_t dhcp_lease_stuff_values (omapi_object_t *c, omapi_object_t *id, omapi_object_t *h)
 
isc_result_t dhcp_lease_lookup (omapi_object_t **lp, omapi_object_t *id, omapi_object_t *ref)
 
isc_result_t dhcp_lease_create (omapi_object_t **lp, omapi_object_t *id)
 
isc_result_t dhcp_lease_remove (omapi_object_t *lp, omapi_object_t *id)
 
isc_result_t dhcp_host_set_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_typed_data_t *value)
 
isc_result_t dhcp_host_get_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_value_t **value)
 
isc_result_t dhcp_host_destroy (omapi_object_t *h, const char *file, int line)
 
isc_result_t dhcp_host_signal_handler (omapi_object_t *h, const char *name, va_list ap)
 
isc_result_t dhcp_host_stuff_values (omapi_object_t *c, omapi_object_t *id, omapi_object_t *h)
 
isc_result_t dhcp_host_lookup (omapi_object_t **lp, omapi_object_t *id, omapi_object_t *ref)
 
isc_result_t dhcp_host_create (omapi_object_t **lp, omapi_object_t *id)
 
isc_result_t dhcp_host_remove (omapi_object_t *lp, omapi_object_t *id)
 
isc_result_t dhcp_pool_set_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_typed_data_t *value)
 
isc_result_t dhcp_pool_get_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_value_t **value)
 
isc_result_t dhcp_pool_destroy (omapi_object_t *h, const char *file, int line)
 
isc_result_t dhcp_pool_signal_handler (omapi_object_t *h, const char *name, va_list ap)
 
isc_result_t dhcp_pool_stuff_values (omapi_object_t *c, omapi_object_t *id, omapi_object_t *h)
 
isc_result_t dhcp_pool_lookup (omapi_object_t **lp, omapi_object_t *id, omapi_object_t *ref)
 
isc_result_t dhcp_pool_create (omapi_object_t **lp, omapi_object_t *id)
 
isc_result_t dhcp_pool_remove (omapi_object_t *lp, omapi_object_t *id)
 
isc_result_t dhcp_class_set_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_typed_data_t *value)
 
isc_result_t dhcp_class_get_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_value_t **value)
 
isc_result_t dhcp_class_destroy (omapi_object_t *h, const char *file, int line)
 
isc_result_t dhcp_class_signal_handler (omapi_object_t *h, const char *name, va_list ap)
 
isc_result_t class_stuff_values (omapi_object_t *c, omapi_object_t *id, omapi_object_t *h)
 
isc_result_t dhcp_class_stuff_values (omapi_object_t *c, omapi_object_t *id, omapi_object_t *h)
 
isc_result_t dhcp_class_lookup (omapi_object_t **lp, omapi_object_t *id, omapi_object_t *ref)
 
isc_result_t dhcp_class_create (omapi_object_t **lp, omapi_object_t *id)
 
isc_result_t dhcp_class_remove (omapi_object_t *lp, omapi_object_t *id)
 
isc_result_t dhcp_subclass_set_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_typed_data_t *value)
 
isc_result_t dhcp_subclass_get_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_value_t **value)
 
isc_result_t dhcp_subclass_signal_handler (omapi_object_t *h, const char *name, va_list ap)
 
isc_result_t dhcp_subclass_stuff_values (omapi_object_t *c, omapi_object_t *id, omapi_object_t *h)
 
isc_result_t dhcp_subclass_lookup (omapi_object_t **lp, omapi_object_t *id, omapi_object_t *ref)
 
isc_result_t dhcp_subclass_create (omapi_object_t **lp, omapi_object_t *id)
 
isc_result_t dhcp_subclass_remove (omapi_object_t *lp, omapi_object_t *id)
 
isc_result_t binding_scope_set_value (struct binding_scope *scope, int createp, omapi_data_string_t *name, omapi_typed_data_t *value)
 
isc_result_t binding_scope_get_value (omapi_value_t **value, struct binding_scope *scope, omapi_data_string_t *name)
 
isc_result_t binding_scope_stuff_values (omapi_object_t *c, struct binding_scope *scope)
 

Variables

omapi_object_type_tdhcp_type_lease
 
omapi_object_type_tdhcp_type_pool
 
omapi_object_type_tdhcp_type_class
 
omapi_object_type_tdhcp_type_subclass
 
omapi_object_type_tdhcp_type_host
 

Function Documentation

◆ binding_scope_get_value()

isc_result_t binding_scope_get_value ( omapi_value_t ** value,
struct binding_scope * scope,
omapi_data_string_t * name )

Definition at line 2471 of file omapi.c.

◆ binding_scope_set_value()

isc_result_t binding_scope_set_value ( struct binding_scope * scope,
int createp,
omapi_data_string_t * name,
omapi_typed_data_t * value )

Definition at line 2395 of file omapi.c.

◆ binding_scope_stuff_values()

isc_result_t binding_scope_stuff_values ( omapi_object_t * c,
struct binding_scope * scope )

Definition at line 2541 of file omapi.c.

◆ class_stuff_values()

isc_result_t class_stuff_values ( omapi_object_t * c,
omapi_object_t * id,
omapi_object_t * h )

Definition at line 2113 of file omapi.c.

◆ dhcp_class_create()

isc_result_t dhcp_class_create ( omapi_object_t ** lp,
omapi_object_t * id )

Definition at line 2252 of file omapi.c.

◆ dhcp_class_destroy()

isc_result_t dhcp_class_destroy ( omapi_object_t * h,
const char * file,
int line )

Definition at line 1984 of file omapi.c.

◆ dhcp_class_get_value()

isc_result_t dhcp_class_get_value ( omapi_object_t * h,
omapi_object_t * id,
omapi_data_string_t * name,
omapi_value_t ** value )

Definition at line 1959 of file omapi.c.

◆ dhcp_class_lookup()

isc_result_t dhcp_class_lookup ( omapi_object_t ** lp,
omapi_object_t * id,
omapi_object_t * ref )

Definition at line 2246 of file omapi.c.

◆ dhcp_class_remove()

isc_result_t dhcp_class_remove ( omapi_object_t * lp,
omapi_object_t * id )

Definition at line 2271 of file omapi.c.

◆ dhcp_class_set_value()

isc_result_t dhcp_class_set_value ( omapi_object_t * h,
omapi_object_t * id,
omapi_data_string_t * name,
omapi_typed_data_t * value )

Definition at line 1948 of file omapi.c.

◆ dhcp_class_signal_handler()

isc_result_t dhcp_class_signal_handler ( omapi_object_t * h,
const char * name,
va_list ap )

Definition at line 2100 of file omapi.c.

◆ dhcp_class_stuff_values()

isc_result_t dhcp_class_stuff_values ( omapi_object_t * c,
omapi_object_t * id,
omapi_object_t * h )

Definition at line 2146 of file omapi.c.

◆ dhcp_db_objects_setup()

void dhcp_db_objects_setup ( void )

Definition at line 57 of file omapi.c.

◆ dhcp_host_create()

isc_result_t dhcp_host_create ( omapi_object_t ** lp,
omapi_object_t * id )

Definition at line 1576 of file omapi.c.

◆ dhcp_host_destroy()

isc_result_t dhcp_host_destroy ( omapi_object_t * h,
const char * file,
int line )

Definition at line 1190 of file omapi.c.

◆ dhcp_host_get_value()

isc_result_t dhcp_host_get_value ( omapi_object_t * h,
omapi_object_t * id,
omapi_data_string_t * name,
omapi_value_t ** value )

Definition at line 1121 of file omapi.c.

◆ dhcp_host_lookup()

isc_result_t dhcp_host_lookup ( omapi_object_t ** lp,
omapi_object_t * id,
omapi_object_t * ref )

Definition at line 1369 of file omapi.c.

◆ dhcp_host_remove()

isc_result_t dhcp_host_remove ( omapi_object_t * lp,
omapi_object_t * id )

Definition at line 1592 of file omapi.c.

◆ dhcp_host_set_value()

isc_result_t dhcp_host_set_value ( omapi_object_t * h,
omapi_object_t * id,
omapi_data_string_t * name,
omapi_typed_data_t * value )

Definition at line 926 of file omapi.c.

◆ dhcp_host_signal_handler()

isc_result_t dhcp_host_signal_handler ( omapi_object_t * h,
const char * name,
va_list ap )

Definition at line 1218 of file omapi.c.

◆ dhcp_host_stuff_values()

isc_result_t dhcp_host_stuff_values ( omapi_object_t * c,
omapi_object_t * id,
omapi_object_t * h )

Definition at line 1266 of file omapi.c.

◆ dhcp_lease_create()

isc_result_t dhcp_lease_create ( omapi_object_t ** lp,
omapi_object_t * id )

Definition at line 914 of file omapi.c.

◆ dhcp_lease_destroy()

isc_result_t dhcp_lease_destroy ( omapi_object_t * h,
const char * file,
int line )

Definition at line 467 of file omapi.c.

◆ dhcp_lease_get_value()

isc_result_t dhcp_lease_get_value ( omapi_object_t * h,
omapi_object_t * id,
omapi_data_string_t * name,
omapi_value_t ** value )

Definition at line 391 of file omapi.c.

◆ dhcp_lease_lookup()

isc_result_t dhcp_lease_lookup ( omapi_object_t ** lp,
omapi_object_t * id,
omapi_object_t * ref )

Definition at line 748 of file omapi.c.

◆ dhcp_lease_remove()

isc_result_t dhcp_lease_remove ( omapi_object_t * lp,
omapi_object_t * id )

Definition at line 920 of file omapi.c.

◆ dhcp_lease_set_value()

isc_result_t dhcp_lease_set_value ( omapi_object_t * h,
omapi_object_t * id,
omapi_data_string_t * name,
omapi_typed_data_t * value )

Definition at line 200 of file omapi.c.

◆ dhcp_lease_signal_handler()

isc_result_t dhcp_lease_signal_handler ( omapi_object_t * h,
const char * name,
va_list ap )

Definition at line 541 of file omapi.c.

◆ dhcp_lease_stuff_values()

isc_result_t dhcp_lease_stuff_values ( omapi_object_t * c,
omapi_object_t * id,
omapi_object_t * h )

Definition at line 563 of file omapi.c.

◆ dhcp_pool_create()

isc_result_t dhcp_pool_create ( omapi_object_t ** lp,
omapi_object_t * id )

Definition at line 1777 of file omapi.c.

◆ dhcp_pool_destroy()

isc_result_t dhcp_pool_destroy ( omapi_object_t * h,
const char * file,
int line )

Definition at line 1654 of file omapi.c.

◆ dhcp_pool_get_value()

isc_result_t dhcp_pool_get_value ( omapi_object_t * h,
omapi_object_t * id,
omapi_data_string_t * name,
omapi_value_t ** value )

Definition at line 1632 of file omapi.c.

◆ dhcp_pool_lookup()

isc_result_t dhcp_pool_lookup ( omapi_object_t ** lp,
omapi_object_t * id,
omapi_object_t * ref )

Definition at line 1765 of file omapi.c.

◆ dhcp_pool_remove()

isc_result_t dhcp_pool_remove ( omapi_object_t * lp,
omapi_object_t * id )

Definition at line 1783 of file omapi.c.

◆ dhcp_pool_set_value()

isc_result_t dhcp_pool_set_value ( omapi_object_t * h,
omapi_object_t * id,
omapi_data_string_t * name,
omapi_typed_data_t * value )

Definition at line 1607 of file omapi.c.

◆ dhcp_pool_signal_handler()

isc_result_t dhcp_pool_signal_handler ( omapi_object_t * h,
const char * name,
va_list ap )

Definition at line 1697 of file omapi.c.

◆ dhcp_pool_stuff_values()

isc_result_t dhcp_pool_stuff_values ( omapi_object_t * c,
omapi_object_t * id,
omapi_object_t * h )

Definition at line 1719 of file omapi.c.

◆ dhcp_subclass_create()

isc_result_t dhcp_subclass_create ( omapi_object_t ** lp,
omapi_object_t * id )

Definition at line 2360 of file omapi.c.

◆ dhcp_subclass_get_value()

isc_result_t dhcp_subclass_get_value ( omapi_object_t * h,
omapi_object_t * id,
omapi_data_string_t * name,
omapi_value_t ** value )

Definition at line 2299 of file omapi.c.

◆ dhcp_subclass_lookup()

isc_result_t dhcp_subclass_lookup ( omapi_object_t ** lp,
omapi_object_t * id,
omapi_object_t * ref )

Definition at line 2351 of file omapi.c.

◆ dhcp_subclass_remove()

isc_result_t dhcp_subclass_remove ( omapi_object_t * lp,
omapi_object_t * id )

Definition at line 2378 of file omapi.c.

◆ dhcp_subclass_set_value()

isc_result_t dhcp_subclass_set_value ( omapi_object_t * h,
omapi_object_t * id,
omapi_data_string_t * name,
omapi_typed_data_t * value )

Definition at line 2287 of file omapi.c.

◆ dhcp_subclass_signal_handler()

isc_result_t dhcp_subclass_signal_handler ( omapi_object_t * h,
const char * name,
va_list ap )

Definition at line 2324 of file omapi.c.

◆ dhcp_subclass_stuff_values()

isc_result_t dhcp_subclass_stuff_values ( omapi_object_t * c,
omapi_object_t * id,
omapi_object_t * h )

Definition at line 2334 of file omapi.c.

Variable Documentation

◆ dhcp_type_class

omapi_object_type_t* dhcp_type_class

Definition at line 48 of file omapi.c.

◆ dhcp_type_host

omapi_object_type_t* dhcp_type_host

Definition at line 50 of file omapi.c.

◆ dhcp_type_lease

omapi_object_type_t* dhcp_type_lease

Definition at line 46 of file omapi.c.

◆ dhcp_type_pool

omapi_object_type_t* dhcp_type_pool

Definition at line 47 of file omapi.c.

◆ dhcp_type_subclass

omapi_object_type_t* dhcp_type_subclass

Definition at line 49 of file omapi.c.