mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 11:37:00 -07:00
- Added `libhttp` and `librest_api` targets to CMakeLists.txt - Added examples for `libhttp` and `librest_api` in examples directory - Added `cache` and `add` commands - Added documentation for `libhttp` and `librest_api` - Added all available HTTP response codes to REST API - Changed how `bin/compile.sh` works (must supply args to build)
16 lines
No EOL
356 B
C++
16 lines
No EOL
356 B
C++
#pragma once
|
|
#include "types.hpp"
|
|
#include <string>
|
|
|
|
namespace gdpm::plugin{
|
|
struct info{
|
|
string name;
|
|
string description;
|
|
string version;
|
|
};
|
|
extern int init(int argc, char **argv);
|
|
extern int set_name(const char *name);
|
|
extern int set_description(const char *description);
|
|
extern int set_version(const char *version);
|
|
extern int finalize();
|
|
} |