aboutsummaryrefslogtreecommitdiff
path: root/embed_server.h
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-11 23:40:01 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-14 08:27:10 +0200
commit978f4f7969190265e127e8a3d704bb173fbd171c (patch)
tree42f3a89e1ecb481ef0e5196a775ea37edb4b98f7 /embed_server.h
parentd9ea2cea7dfa1eb25526a3e9b729beda5ccb006f (diff)
downloadffwd-978f4f7969190265e127e8a3d704bb173fbd171c.tar.gz
ffwd-978f4f7969190265e127e8a3d704bb173fbd171c.zip
chore: rename project
Diffstat (limited to 'embed_server.h')
-rw-r--r--embed_server.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/embed_server.h b/embed_server.h
index 179ed0b..80c9aca 100644
--- a/embed_server.h
+++ b/embed_server.h
@@ -1,14 +1,14 @@
-#ifndef PPLX_SERVER_H
-#define PPLX_SERVER_H
+#ifndef EMBED_SERVER_H
+#define EMBED_SERVER_H
/* Public-API export annotation. The libraries are built with
- * -fvisibility=hidden, so only declarations carrying PPLX_API are exported
+ * -fvisibility=hidden, so only declarations carrying EMBED_API are exported
* from the shared library; everything else stays internal. */
-#ifndef PPLX_API
+#ifndef EMBED_API
#if defined(__GNUC__)
-#define PPLX_API __attribute__((visibility("default")))
+#define EMBED_API __attribute__((visibility("default")))
#else
-#define PPLX_API
+#define EMBED_API
#endif
#endif
@@ -17,10 +17,10 @@
typedef struct {
const char *id;
const char *path;
-} pplx_server_model_spec_t;
+} embed_server_model_spec_t;
typedef struct {
- const pplx_server_model_spec_t *models;
+ const embed_server_model_spec_t *models;
int n_models;
const char *host;
int port;
@@ -36,8 +36,8 @@ typedef struct {
values above 1.0 allow overcommit */
int enable_cors;
const char *api_key;
-} pplx_server_config_t;
+} embed_server_config_t;
-PPLX_API int pplx_run_server(const pplx_server_config_t *cfg);
+EMBED_API int embed_run_server(const embed_server_config_t *cfg);
#endif