35 if (*o->
op->
bp == 0 && *(o->
op->
bp + 1) == 0)
44 return o->
op->
bp - base < len;
105 int plen = (prefix == 0) ? 0 : strlen(prefix);
106 int olen = (old == 0) ? 0 : strlen(old);
107 char *res = (
char*)
odr_malloc (o, olen + plen + 2);
112 if (plen > 0 && old != 0)
void * nmem_malloc(NMEM n, size_t size)
allocates memory block on NMEM handle
Internal ODR definitions.
void odr_setelement(ODR o, const char *element)
void odr_seterror(ODR o, int error, int id)
void odr_printf(ODR o, const char *fmt,...)
void * odr_malloc(ODR o, size_t size)
void odr_prname(ODR o, const char *name)
int odr_missing(ODR o, int opt, const char *name)
int odp_more_chunks(ODR o, const char *base, int len)
Odr_oid * odr_oiddup(ODR odr, const Odr_oid *o)
char * odr_prepend(ODR o, const char *prefix, const char *old)
Odr_oid * odr_oiddup_nmem(NMEM nmem, const Odr_oid *o)
Odr_oid * odr_getoidbystr(ODR o, const char *str)
Odr_oid * odr_getoidbystr_nmem(NMEM nmem, const char *str)
int oid_dotstring_to_oid(const char *name, Odr_oid *oid)
converts dot string to OID
void oid_oidcpy(Odr_oid *t, const Odr_oid *s)
copies OID
int oid_oidlen(const Odr_oid *o)
returns length of OIDs
Header for OID basic functions.