2019-08-11 02:43:29 -06:00
|
|
|
#pragma once
|
|
|
|
#include <time.h>
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
2019-08-12 07:54:16 -06:00
|
|
|
#include "navmon.pb.h"
|
2019-08-11 02:43:29 -06:00
|
|
|
|
|
|
|
std::vector<std::string> getPathComponents(std::string_view root, time_t s, uint64_t sourceid);
|
|
|
|
std::string getPath(std::string_view root, time_t s, uint64_t sourceid, bool create=false);
|
2019-08-12 07:54:16 -06:00
|
|
|
bool getNMM(int fd, NavMonMessage& nmm, uint32_t& offset);
|