Sha256: dc2f07a409ea478c8be52a43b968b2f4fd4a00ab6e36fc8d5d4fcd4cfc8a28be

Contents?: true

Size: 269 Bytes

Versions: 7

Compression:

Stored size: 269 Bytes

Contents

#ifndef ENCODING_HELPERS_H
#define ENCODING_HELPERS_H

typedef enum {
    VALID,
    NOT_UTF_8,
    HAS_NULL
} result_t;

result_t check_string(const unsigned char* string, const long length,
                      const char check_utf8, const char check_null);

#endif

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bson_ext-1.8.6 ext/cbson/encoding_helpers.h
bson_ext-1.8.5 ext/cbson/encoding_helpers.h
bson_ext-1.8.4 ext/cbson/encoding_helpers.h
bson_ext-1.8.4.rc0 ext/cbson/encoding_helpers.h
bson_ext-1.8.3 ext/cbson/encoding_helpers.h
bson_ext-1.8.3.rc1 ext/cbson/encoding_helpers.h
bson_ext-1.8.3.rc0 ext/cbson/encoding_helpers.h