#include "lcn_types.h"
#include "lcn_field.h"
Go to the source code of this file.
Typedefs | |
typedef lcn_document_t | lcn_document_t |
Opaque structure representing a document in the index. | |
Functions | |
lcn_document_t * | lcn_document_create (apr_pool_t *pool) |
Create an empty document, allocated from pool. | |
apr_uint32_t | lcn_document_numfields (lcn_document_t *doc) |
Return the number of fields in document doc. | |
void | lcn_document_add_field (lcn_document_t *doc, lcn_field_t *field) |
Add field to doc. | |
const lcn_field_t * | lcn_document_field_by_num (const lcn_document_t *doc, apr_uint32_t num) |
Return field number num from doc, or NULL if it does not exist. | |
const lcn_field_t * | lcn_document_field_by_name (const lcn_document_t *doc, const lcn_char_t *name) |
Return field name from doc, or NULL if it does not exist. |
Definition in file lcn_document.h.