/usr/include/ncbi/objvalid.h is in libncbi6-dev 6.1.20110713-3ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | #ifndef _objvalid_
#define _objvalid_
#undef NLM_EXTERN
#ifdef NLM_IMPORT
#define NLM_EXTERN NLM_IMPORT
#else
#define NLM_EXTERN extern
#endif
#ifdef __cplusplus
extern "C" { /* } */
#endif
/**************************************************
*
* Generated objects for Module NCBI-Structured-comment-validation
* Generated using ASNCODE Revision: 6.16 at Dec 11, 2009 7:16 AM
*
**************************************************/
NLM_EXTERN Boolean LIBCALL
objvalidAsnLoad PROTO((void));
/* following #defines are for enumerated type, not used by object loaders */
#define Severity_level_none 0
#define Severity_level_info 1
#define Severity_level_warning 2
#define Severity_level_error 3
#define Severity_level_reject 4
#define Severity_level_fatal 5
/**************************************************
*
* FieldRule
*
**************************************************/
typedef struct struct_Field_rule {
struct struct_Field_rule PNTR next;
CharPtr field_name;
CharPtr match_expression;
Uint1 required;
Uint2 severity;
} FieldRule, PNTR FieldRulePtr;
NLM_EXTERN FieldRulePtr LIBCALL FieldRuleFree PROTO ((FieldRulePtr ));
NLM_EXTERN FieldRulePtr LIBCALL FieldRuleNew PROTO (( void ));
NLM_EXTERN FieldRulePtr LIBCALL FieldRuleAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL FieldRuleAsnWrite PROTO (( FieldRulePtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* FieldSet
*
**************************************************/
typedef struct struct_Field_rule FieldSet;
typedef struct struct_Field_rule PNTR FieldSetPtr;
#define FieldSetNew() Field_ruleNew()
#ifdef NLM_GENERATED_CODE_PROTO
NLM_EXTERN FieldSetPtr LIBCALL FieldSetFree PROTO ((FieldSetPtr ));
NLM_EXTERN FieldSetPtr LIBCALL FieldSetNew PROTO (( void ));
NLM_EXTERN FieldSetPtr LIBCALL FieldSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL FieldSetAsnWrite PROTO (( FieldSetPtr , AsnIoPtr, AsnTypePtr));
#endif /* NLM_GENERATED_CODE_PROTO */
/**************************************************
*
* DependentFieldRule
*
**************************************************/
typedef struct struct_Dependent_field_rule {
struct struct_Dependent_field_rule PNTR next;
CharPtr match_name;
CharPtr value_constraint;
struct struct_Field_rule PNTR other_fields;
struct struct_Field_rule PNTR disallowed_fields;
} DependentFieldRule, PNTR DependentFieldRulePtr;
NLM_EXTERN DependentFieldRulePtr LIBCALL DependentFieldRuleFree PROTO ((DependentFieldRulePtr ));
NLM_EXTERN DependentFieldRulePtr LIBCALL DependentFieldRuleNew PROTO (( void ));
NLM_EXTERN DependentFieldRulePtr LIBCALL DependentFieldRuleAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL DependentFieldRuleAsnWrite PROTO (( DependentFieldRulePtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* DependentFieldSet
*
**************************************************/
typedef struct struct_Dependent_field_rule DependentFieldSet;
typedef struct struct_Dependent_field_rule PNTR DependentFieldSetPtr;
#define DependentFieldSetNew() Dependent_field_ruleNew()
#ifdef NLM_GENERATED_CODE_PROTO
NLM_EXTERN DependentFieldSetPtr LIBCALL DependentFieldSetFree PROTO ((DependentFieldSetPtr ));
NLM_EXTERN DependentFieldSetPtr LIBCALL DependentFieldSetNew PROTO (( void ));
NLM_EXTERN DependentFieldSetPtr LIBCALL DependentFieldSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL DependentFieldSetAsnWrite PROTO (( DependentFieldSetPtr , AsnIoPtr, AsnTypePtr));
#endif /* NLM_GENERATED_CODE_PROTO */
/**************************************************
*
* CommentRule
*
**************************************************/
typedef struct struct_Comment_rule {
struct struct_Comment_rule PNTR next;
CharPtr prefix;
Uint1 updated;
struct struct_Field_rule PNTR fields;
Uint1 require_order;
Uint1 allow_unlisted;
struct struct_Dependent_field_rule PNTR dependent_rules;
} CommentRule, PNTR CommentRulePtr;
NLM_EXTERN CommentRulePtr LIBCALL CommentRuleFree PROTO ((CommentRulePtr ));
NLM_EXTERN CommentRulePtr LIBCALL CommentRuleNew PROTO (( void ));
NLM_EXTERN CommentRulePtr LIBCALL CommentRuleAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL CommentRuleAsnWrite PROTO (( CommentRulePtr , AsnIoPtr, AsnTypePtr));
/**************************************************
*
* CommentSet
*
**************************************************/
typedef struct struct_Comment_rule CommentSet;
typedef struct struct_Comment_rule PNTR CommentSetPtr;
#define CommentSetNew() Comment_ruleNew()
#ifdef NLM_GENERATED_CODE_PROTO
NLM_EXTERN CommentSetPtr LIBCALL CommentSetFree PROTO ((CommentSetPtr ));
NLM_EXTERN CommentSetPtr LIBCALL CommentSetNew PROTO (( void ));
NLM_EXTERN CommentSetPtr LIBCALL CommentSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
NLM_EXTERN Boolean LIBCALL CommentSetAsnWrite PROTO (( CommentSetPtr , AsnIoPtr, AsnTypePtr));
#endif /* NLM_GENERATED_CODE_PROTO */
#ifdef __cplusplus
/* { */ }
#endif
#endif /* _objvalid_ */
#undef NLM_EXTERN
#ifdef NLM_EXPORT
#define NLM_EXTERN NLM_EXPORT
#else
#define NLM_EXTERN
#endif
|