From ab50d908ba2eae14929a07341b1b716cde681c1c Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Sat, 30 May 2026 04:07:37 +0200 Subject: server: implement HTTP API with libae integration --- pplx_server.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pplx_server.h (limited to 'pplx_server.h') diff --git a/pplx_server.h b/pplx_server.h new file mode 100644 index 0000000..c46f4f9 --- /dev/null +++ b/pplx_server.h @@ -0,0 +1,24 @@ +#ifndef PPLX_SERVER_H +#define PPLX_SERVER_H + +#include + +typedef struct { + const char *id; + const char *path; +} pplx_server_model_spec_t; + +typedef struct { + const pplx_server_model_spec_t *models; + int n_models; + const char *host; + int port; + int batch_size; + int use_mlx; + int enable_cors; + const char *api_key; +} pplx_server_config_t; + +int pplx_run_server(const pplx_server_config_t *cfg); + +#endif -- cgit v1.3.1