/* Generated by IDL compiler version OSF DCE T1.1.0-03 */
#ifndef DCEAPI 
# include <dce/dcedef.h> 
#endif 
#ifndef sec_acl_encode_v0_0_included
#define sec_acl_encode_v0_0_included
#ifndef IDLBASE_H
#include <dce/idlbase.h>
#endif

#ifdef __cplusplus
    extern "C" {
#endif

#ifndef nbase_v0_0_included
#include <dce/nbase.h>
#endif
#ifndef sec_acl_base_v0_0_included
#include <dce/aclbase.h>
#endif
extern void  DCEAPI sec_acl_entry_encode(
#ifdef IDL_PROTOTYPES
    /* [in] */ idl_void_p_t (*allocate)(
#ifdef IDL_PROTOTYPES
    /* [out] */ unsigned32 size
#endif
),
    /* [in] */ void (*dealloc)(
#ifdef IDL_PROTOTYPES
    /* [out] */ idl_void_p_t ptr
#endif
),
    /* [in] */ sec_acl_entry_t *entry,
    /* [out] */ unsigned32 *num_bytes,
    /* [out] */ idl_byte **bytes,
    /* [out] */ error_status_t *stp
#endif
);
extern void  DCEAPI sec_acl_entry_decode(
#ifdef IDL_PROTOTYPES
    /* [in] */ idl_void_p_t allocate(
#ifdef IDL_PROTOTYPES
    /* [out] */ unsigned32 size
#endif
),
    /* [in] */ void (*dealloc)(
#ifdef IDL_PROTOTYPES
    /* [out] */ idl_void_p_t ptr
#endif
),
    /* [in] */ unsigned32 num_bytes,
    /* [in] */ idl_byte *bytes,
    /* [out] */ sec_acl_entry_t *entry,
    /* [out] */ error_status_t *stp
#endif
);
extern void  DCEAPI sec_acl_entry_decoded_data_free(
#ifdef IDL_PROTOTYPES
    /* [in] */ void (*dealloc)(
#ifdef IDL_PROTOTYPES
    /* [out] */ idl_void_p_t ptr
#endif
),
    /* [in] */ sec_acl_entry_t *epac_data
#endif
);
extern void  DCEAPI sec_acl_encode_v0_entries(
#ifdef IDL_PROTOTYPES
    /* [in] */ idl_void_p_t (*allocate)(
#ifdef IDL_PROTOTYPES
    /* [out] */ unsigned32 size
#endif
),
    /* [in] */ void (*deallocate)(
#ifdef IDL_PROTOTYPES
    /* [out] */ idl_void_p_t ptr
#endif
),
    /* [in] */ boolean32 free_old_entries,
    /* [in, out] */ sec_acl_list_t *aclsP,
    /* [out] */ error_status_t *stp
#endif
);
extern void  DCEAPI sec_acl_decode_v0_entries(
#ifdef IDL_PROTOTYPES
    /* [in] */ idl_void_p_t (*allocate)(
#ifdef IDL_PROTOTYPES
    /* [out] */ unsigned32 size
#endif
),
    /* [in] */ void (*deallocate)(
#ifdef IDL_PROTOTYPES
    /* [out] */ idl_void_p_t ptr
#endif
),
    /* [in] */ boolean32 free_old_entries,
    /* [in, out] */ sec_acl_list_t *aclsP,
    /* [out] */ error_status_t *stp
#endif
);

#ifdef __cplusplus
    }
#endif

#endif
