/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: svid3:mac.h (VERSION 2.6)
*/

#ifndef __TDF_SVID3_MAC_H
#define __TDF_SVID3_MAC_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__svid3__mac begin

#ifndef __TDF_SVID3__CONFIG
#pragma extend interface "../shared/svid3.api/config.h"
#endif /* __TDF_SVID3__CONFIG */
#if __SYSV_ENHANCED_SECURITY
#ifndef __TDF_SVID3_SYS_TYPES_H
#pragma extend interface "../svid3.api/sys/types.h"
#endif /* __TDF_SVID3_SYS_TYPES_H */
#ifndef __TDF_SVID3_SYS_IPC_H
#pragma extend interface "../svid3.api/sys/ipc.h"
#endif /* __TDF_SVID3_SYS_IPC_H */
#pragma token EXP const : int : DEV_GET # svid3.mac.DEV_GET
#pragma token EXP const : int : DEV_SET # svid3.mac.DEV_SET
#pragma token EXP const : int : DEV_PRIVATE # svid3.mac.DEV_PRIVATE
#pragma token EXP const : int : DEV_PUBLIC # svid3.mac.DEV_PUBLIC
#pragma token EXP const : int : DEV_STATIC # svid3.mac.DEV_STATIC
#pragma token EXP const : int : DEV_DYNAMIC # svid3.mac.DEV_DYNAMIC
#pragma token EXP const : int : DEV_PERSISTENT # svid3.mac.DEV_PERSISTENT
#pragma token EXP const : int : DEV_LASTCLOSE # svid3.mac.DEV_LASTCLOSE
#pragma token EXP const : int : DEV_SYSTEM # svid3.mac.DEV_SYSTEM
#pragma token EXP const : int : MAC_GET # svid3.mac.MAC_GET
#pragma token EXP const : int : MAC_SET # svid3.mac.MAC_SET
#pragma token EXP const : int : LVL_ALIAS # svid3.mac.LVL_ALIAS
#pragma token EXP const : int : LVL_FULL # svid3.mac.LVL_FULL
#pragma token EXP const : int : MLD_QUERY # svid3.mac.MLD_QUERY
#pragma token EXP const : int : MLD_REAL # svid3.mac.MLD_REAL
#pragma token EXP const : int : MLD_VIRT # svid3.mac.MLD_VIRT
#pragma token STRUCT TAG dev_alloca # svid3.mac.dev_alloca
/* No fields specified */
#pragma token STRUCT TAG devstat # svid3.mac.devstat_struct
#pragma token MEMBER unsigned short : struct devstat : dev_state # svid3.mac.devstat.dev_state
#pragma token MEMBER unsigned short : struct devstat : dev_mode # svid3.mac.devstat.dev_mode
#pragma token MEMBER level_t : struct devstat : dev_hilevel # svid3.mac.devstat.dev_hilevel
#pragma token MEMBER level_t : struct devstat : dev_lolevel # svid3.mac.devstat.dev_lolevel
#pragma token MEMBER unsigned short : struct devstat : dev_usecount # svid3.mac.devstat.dev_usecount
#pragma token MEMBER unsigned short : struct devstat : dev_relflag # svid3.mac.devstat.dev_relflag
#pragma token FUNC int (const char *, int, struct dev_alloca *) : devalloc # svid3.mac.devalloc
#pragma token FUNC int (const char *) : devdealloc # svid3.mac.devdealloc
#pragma token FUNC int (const char *, int, struct devstat *) : devstat # svid3.mac.devstat
#pragma token FUNC int (level_t *, level_t *) : lvldom # svid3.mac.lvldom
#pragma token FUNC int (level_t *, level_t *) : lvlequal # svid3.mac.lvlequal
#pragma token FUNC int (char *, int, level_t *) : lvlfile # svid3.mac.lvlfile
#pragma token FUNC int (char *, level_t *) : lvlin # svid3.mac.lvlin
#pragma token FUNC int (int, int, int, level_t *) : lvlipc # svid3.mac.lvlipc
#pragma token FUNC int (level_t *, char *, int, int) : lvlout # svid3.mac.lvlout
#pragma token FUNC int (int, level_t *) : lvlproc # svid3.mac.lvlproc
#pragma token FUNC int (level_t *) : lvlvalid # svid3.mac.lvlvalid
#pragma token FUNC int (char *, int, level_t *) : lvlvfs # svid3.mac.lvlvfs
#pragma token FUNC int (const char *, mode_t) : mkmld # svid3.mac.mkmld
#pragma token FUNC int (int) : mldmode # svid3.mac.mldmode
#endif /* __SYSV_ENHANCED_SECURITY */

#if __SYSV_ENHANCED_SECURITY
#pragma interface DEV_GET DEV_SET DEV_PRIVATE DEV_PUBLIC DEV_STATIC
#pragma interface DEV_DYNAMIC DEV_PERSISTENT DEV_LASTCLOSE DEV_SYSTEM
#pragma interface MAC_GET MAC_SET LVL_ALIAS LVL_FULL MLD_QUERY MLD_REAL
#pragma interface MLD_VIRT TAG dev_alloca TAG devstat TAG devstat.dev_state
#pragma interface TAG devstat.dev_mode TAG devstat.dev_hilevel
#pragma interface TAG devstat.dev_lolevel TAG devstat.dev_usecount
#pragma interface TAG devstat.dev_relflag devalloc devdealloc devstat lvldom
#pragma interface lvlequal lvlfile lvlin lvlipc lvlout lvlproc lvlvalid
#pragma interface lvlvfs mkmld mldmode
#endif /* __SYSV_ENHANCED_SECURITY */

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_SVID3_MAC_H */
