Sha256: 232d3bca75c9272be59227c83a488104ee9688b51e85b4f4d4265f24d4cca047

Contents?: true

Size: 574 Bytes

Versions: 1

Compression:

Stored size: 574 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;
    ID multiprocess_mode;
    ID type;
    VALUE pid;
    char *name;
    size_t name_len;
    double value;
} entry_struct;

void hashmap_setup(struct hashmap *map);

void entries_destroy(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_struct ***sorted_entries);

int is_pid_significant(const entry_struct *e);

#endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prometheus-client-mmap-0.7.0.beta41 ext/fast_mmaped_file/file_parsing.h