mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 16:51:55 -06:00
45ceef14f9
Instead of manually encoding controls, use an actual asn1 compiler. The file asn1/asn1c/ipa.asn1 will contain ipa modules. The generated code is committed to the tree and built into a static library that is linked to the code that uses it. The first module implements the GetKeytabControl control. Related: https://fedorahosted.org/freeipa/ticket/4718 https://fedorahosted.org/freeipa/ticket/4728 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
48 lines
934 B
C
48 lines
934 B
C
/*
|
|
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
|
|
* From ASN.1 module "KeytabModule"
|
|
* found in "ipa.asn1"
|
|
* `asn1c -fskeletons-copy`
|
|
*/
|
|
|
|
#ifndef _GKNewKeys_H_
|
|
#define _GKNewKeys_H_
|
|
|
|
|
|
#include <asn_application.h>
|
|
|
|
/* Including external dependencies */
|
|
#include <OCTET_STRING.h>
|
|
#include "Int32.h"
|
|
#include <asn_SEQUENCE_OF.h>
|
|
#include <constr_SEQUENCE_OF.h>
|
|
#include <constr_SEQUENCE.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* GKNewKeys */
|
|
typedef struct GKNewKeys {
|
|
OCTET_STRING_t serviceIdentity;
|
|
struct enctypes {
|
|
A_SEQUENCE_OF(Int32_t) list;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} enctypes;
|
|
OCTET_STRING_t *password /* OPTIONAL */;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} GKNewKeys_t;
|
|
|
|
/* Implementation */
|
|
extern asn_TYPE_descriptor_t asn_DEF_GKNewKeys;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _GKNewKeys_H_ */
|