Sha256: 5f9e9be73d21690e9ff09459e6b3f2df0ba8a71665829326c4870df3695b1bbe

Contents?: true

Size: 518 Bytes

Versions: 13

Compression:

Stored size: 518 Bytes

Contents

#ifndef FILE_PARSING_H
#define FILE_PARSING_H
#include <hashmap.h>
#include <file_reading.h>

typedef struct {
    char *json;
    size_t json_size;
    char *name;
    size_t name_len;

    ID multiprocess_mode;
    ID type;
    VALUE pid;

    double value;
} entry_t;

void hashmap_setup(struct hashmap *map);

int process_buffer(file_t *file_info, buffer_t *source, struct hashmap *map);
int sort_map_entries(const struct hashmap *map, entry_t ***sorted_entries);

int is_pid_significant(const entry_t *e);

#endif

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
prometheus-client-mmap-0.7.0.beta45.10 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta45.9 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta45.8 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta45.7 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta45.6 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta45.5 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta45.4 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta45.3 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta45.2 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta45.1 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta44 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta43 ext/fast_mmaped_file/file_parsing.h
prometheus-client-mmap-0.7.0.beta42 ext/fast_mmaped_file/file_parsing.h