-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.h
More file actions
27 lines (21 loc) · 711 Bytes
/
Copy pathschema.h
File metadata and controls
27 lines (21 loc) · 711 Bytes
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
typedef struct _SchemaField SchemaField;
typedef enum {
SCHEMA_TEXTAREA = 1 << 0,
SCHEMA_SELECT = 1 << 1
} SchemaFlags;
struct _SchemaField {
char *name; /* name of xml property */
char *description;
char *prefix;
int size;
SchemaFlags flags;
char **choices;
};
void
virgule_schema_render_input (apr_pool_t *p, Buffer *b, SchemaField *sf, xmlNode *tree);
void
virgule_schema_render_inputs (apr_pool_t *p, Buffer *b, SchemaField *sf, const char **fields, xmlNode *tree);
void
virgule_schema_put_field (apr_pool_t *p, SchemaField *sf, xmlNode *tree, apr_table_t *args);
void
virgule_schema_put_fields (apr_pool_t *p, SchemaField *sf, const char **fields, xmlNode *tree, apr_table_t *args);