ISC DHCP 4.4.2b1
A reference DHCPv4 and DHCPv6 implementation
array.c File Reference
#include "dhcpd.h"
#include <omapip/omapip_p.h>

Go to the source code of this file.

Functions

isc_result_t omapi_array_allocate (omapi_array_t **array, omapi_array_ref_t ref, omapi_array_deref_t deref, const char *file, int line)
 
isc_result_t omapi_array_free (omapi_array_t **array, const char *file, int line)
 
isc_result_t omapi_array_extend (omapi_array_t *array, char *ptr, int *index, const char *file, int line)
 
isc_result_t omapi_array_set (omapi_array_t *array, void *ptr, int index, const char *file, int line)
 
isc_result_t omapi_array_lookup (char **ptr, omapi_array_t *array, int index, const char *file, int line)
 

Function Documentation

◆ omapi_array_allocate()

isc_result_t omapi_array_allocate ( omapi_array_t **  array,
omapi_array_ref_t  ref,
omapi_array_deref_t  deref,
const char *  file,
int  line 
)

Definition at line 35 of file array.c.

◆ omapi_array_extend()

isc_result_t omapi_array_extend ( omapi_array_t array,
char *  ptr,
int index,
const char *  file,
int  line 
)

Definition at line 74 of file array.c.

◆ omapi_array_free()

isc_result_t omapi_array_free ( omapi_array_t **  array,
const char *  file,
int  line 
)

Definition at line 53 of file array.c.

◆ omapi_array_lookup()

isc_result_t omapi_array_lookup ( char **  ptr,
omapi_array_t array,
int  index,
const char *  file,
int  line 
)

Definition at line 146 of file array.c.

◆ omapi_array_set()

isc_result_t omapi_array_set ( omapi_array_t array,
void *  ptr,
int  index,
const char *  file,
int  line 
)

Definition at line 87 of file array.c.