mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 23:09:59 -04:00
typedefs broken out of omapi.h
This commit is contained in:
parent
ea44276a01
commit
f6826ddc14
1 changed files with 50 additions and 0 deletions
50
lib/omapi/include/omapi/types.h
Normal file
50
lib/omapi/include/omapi/types.h
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* Copyright (C) 1996, 1997, 1998, 1999 Internet Software Consortium.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
|
||||
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
|
||||
* CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
||||
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
||||
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
|
||||
* ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef _OMAPI_TYPES_H_
|
||||
#define _OMAPI_TYPES_H_
|
||||
|
||||
#include <isc/lang.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
/*****
|
||||
***** Type definitions.
|
||||
*****/
|
||||
|
||||
/*
|
||||
* These structures are all opaque; they are fully defined in private.h
|
||||
* for use only by the internal library. If there is a need to get
|
||||
* at their internal data for some purpose, new APIs can be added for that.
|
||||
*/
|
||||
typedef unsigned int omapi_handle_t;
|
||||
typedef struct omapi_object omapi_object_t;
|
||||
typedef struct omapi_objecttype omapi_objecttype_t;
|
||||
typedef struct omapi_data omapi_data_t;
|
||||
typedef struct omapi_string omapi_string_t;
|
||||
typedef struct omapi_value omapi_value_t;
|
||||
|
||||
typedef enum {
|
||||
omapi_datatype_int,
|
||||
omapi_datatype_string,
|
||||
omapi_datatype_data,
|
||||
omapi_datatype_object
|
||||
} omapi_datatype_t;
|
||||
|
||||
ISC_LANG_ENDDECLS
|
||||
|
||||
#endif /* _OMAPI_OMAPIP_H_ */
|
||||
Loading…
Reference in a new issue