|
IDZEBRA 2.2.8
|
#include <yaz/yconfig.h>#include <yaz/log.h>Go to the source code of this file.
Macros | |
| #define | ZEBRA_GCC_ATTR(x) |
| #define | ZINT_FORMAT0 "ld" |
| #define | ZINT_FORMAT "%" ZINT_FORMAT0 |
| #define | ZEBRA_FAIL -1 |
| #define | ZEBRA_OK 0 |
| #define | CAST_ZINT_TO_INT(x) (int)(x) |
| #define | CAST_ZINT_TO_DOUBLE(x) (double)(x) |
Typedefs | |
| typedef long | zint |
| Zebra integer. | |
| typedef short | ZEBRA_RES |
| Common return type for Zebra API. | |
Functions | |
| zint | atoi_zn (const char *buf, zint len) |
| void | zebra_zint_encode (char **dst, zint pos) |
| void | zebra_zint_decode (const char **src, zint *pos) |
| void | zebra_exit (const char *msg) |
| zint | atozint (const char *src) |
| #define ZEBRA_GCC_ATTR | ( | x | ) |
expand GCC_ATTRIBUTE if GCC is in use. See : http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
To see gcc pre-defines for c: gcc -E -dM -x c /dev/null
| #define ZINT_FORMAT "%" ZINT_FORMAT0 |
| typedef ZEBRA_RES |
Definition at line 27 of file atoi_zn.c.
Referenced by zebraExplain_open(), zebraExplain_readAttributeDetails(), and zebraExplain_readDatabase().
| zint atozint | ( | const char * | src | ) |
Definition at line 55 of file zint.c.
Referenced by extract_add_staticrank_string(), index_record(), rpn_search_APT_local(), and set_record_info().
| void zebra_exit | ( | const char * | msg | ) |
Definition at line 26 of file exit.c.
Referenced by bf_close(), bf_read(), bf_write(), encode_key_write(), key_block_flush_int(), new_block(), open_block(), r_flush(), r_open(), r_reread(), and zebraExplain_updateAccessInfo().
| void zebra_zint_decode | ( | const char ** | src, |
| zint * | pos | ||
| ) |
Definition at line 39 of file zint.c.
Referenced by rect_decode(), sort_term_decode1(), and sort_term_decode2().
| void zebra_zint_encode | ( | char ** | dst, |
| zint | pos | ||
| ) |
Definition at line 26 of file zint.c.
Referenced by rect_encode(), sort_term_encode1(), and sort_term_encode2().