themblem/alg/fileprocess.h
2024-09-01 21:51:50 +01:00

14 lines
413 B
C++

#ifndef _FILEPROCESS_H_
#define _FILEPROCESS_H_
#include <stdint.h>
#include <string>
#include <vector>
typedef int (*handler_fn)(const std::string &input_path,
const std::vector<uint8_t> &input,
std::string &output_path,
std::vector<uint8_t> &output);
int run_server(const std::string &server_addr, handler_fn handle_image);
#endif