Jan Breuer
2017-08-07 02c004a7747e7f7f4c135c370dd82bf383750450
libscpi/src/utils_private.h
@@ -87,6 +87,17 @@
    int OUR_strncasecmp(const char *s1, const char *s2, size_t n) LOCAL;
#endif
#if USE_DEVICE_DEPENDENT_ERROR_INFORMATION && !USE_MEMORY_ALLOCATION_FREE
    void scpiheap_init(scpi_error_info_heap_t * heap, char * error_info_heap, size_t error_info_heap_length);
    char * scpiheap_strndup(scpi_error_info_heap_t * heap, const char *s, size_t n) LOCAL;
    void scpiheap_free(scpi_error_info_heap_t * heap, char *s, scpi_bool_t rollback) LOCAL;
    scpi_bool_t scpiheap_get_parts(scpi_error_info_heap_t * heap, const char *s1, size_t * len1, const char ** s2, size_t * len2) LOCAL;
#endif
#if !HAVE_STRNDUP
    char *OUR_strndup(const char *s, size_t n);
#endif
#ifndef min
#define min(a, b)  (((a) < (b)) ? (a) : (b))
#endif