X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fnmem.h;h=4157e0f9e66283f2bf742b5a5457bf45f466fd87;hb=6b76baf0fb5d0d437caedd8076f77f372d775758;hp=6913f43ec30c74b76e06c9b15f0f322456c872f5;hpb=d940392c53c32ccf76fb287cc5b997b9e921a431;p=yaz-moved-to-github.git diff --git a/include/yaz/nmem.h b/include/yaz/nmem.h index 6913f43..4157e0f 100644 --- a/include/yaz/nmem.h +++ b/include/yaz/nmem.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data. + * Copyright (C) 1995-2009 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -101,6 +101,8 @@ YAZ_EXPORT void nmem_strsplit_blank(NMEM nmem, const char *dstr, */ YAZ_EXPORT int *nmem_intdup(NMEM nmem, int v); +YAZ_EXPORT long long int *nmem_longintdup(NMEM nmem, long long int v); + /** \brief transfers memory from one NMEM handle to another \param src source NMEM handle \param dst destination NMEM handle @@ -124,16 +126,13 @@ YAZ_EXPORT void nmem_destroy(NMEM n); */ YAZ_EXPORT void *nmem_malloc(NMEM n, int size); -YAZ_EXPORT int yaz_errno(void); -YAZ_EXPORT void yaz_set_errno (int v); -YAZ_EXPORT void yaz_strerror(char *buf, int max); - YAZ_END_CDECL #endif /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab