]> www.average.org Git - psmb.git/commitdiff
rename the project to 'psmb' before it's too late
authorEugene Crosser <crosser@average.org>
Mon, 11 Mar 2019 11:07:03 +0000 (12:07 +0100)
committerEugene Crosser <crosser@average.org>
Mon, 11 Mar 2019 11:07:03 +0000 (12:07 +0100)
mps.h [deleted file]
psmb.h [new file with mode: 0644]

diff --git a/mps.h b/mps.h
deleted file mode 100644 (file)
index 23b449d..0000000
--- a/mps.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef _MPS_H
-
-#include <stdlib.h>
-#include <stdbool.h>
-
-struct mps_ctx;
-
-typedef struct _mps_result mps_result_t;
-
-struct mps_ctx *mps_new(void);
-struct mps_ctx *mps_new_mm(void *(*malloc)(size_t size),
-       void (*free)(void *ptr),
-       void *(*realloc)(void *ptr, size_t size));
-mps_result_t mps_set_pmtu(struct mps_ctx * ctx, int pmtu);
-mps_result_t mps_open(struct mps_ctx *ctx);
-void mps_destroy(struct mps_ctx *ctx);
-int mps_getfd(struct mps_ctx *ctx);
-bool mps_need_write_wait(mps_result_t result);
-mps_result_t mps_ev_rd(struct mps_ctx *ctx);
-mps_result_t mps_ev_wr(struct mps_ctx *ctx);
-mps_result_t mps_ev_ex(struct mps_ctx *ctx);
-mps_result_t mps_subscribe(struct mps_ctx * ctx, char *channel);
-mps_result_t mps_publish(struct mps_ctx * ctx, char *channel,
-       void *data, size_t size);
-bool mps_message(struct mps_ctx * ctx, char **channel,
-       void **data, size_t *size);
-
-#endif
diff --git a/psmb.h b/psmb.h
new file mode 100644 (file)
index 0000000..afdb69d
--- /dev/null
+++ b/psmb.h
@@ -0,0 +1,28 @@
+#ifndef _PSMB_H
+
+#include <stdlib.h>
+#include <stdbool.h>
+
+struct psmb_ctx;
+
+typedef struct _psmb_result psmb_result_t;
+
+struct psmb_ctx *psmb_new(void);
+struct psmb_ctx *psmb_new_mm(void *(*malloc)(size_t size),
+       void (*free)(void *ptr),
+       void *(*realloc)(void *ptr, size_t size));
+psmb_result_t psmb_set_pmtu(struct psmb_ctx * ctx, int pmtu);
+psmb_result_t psmb_open(struct psmb_ctx *ctx);
+void psmb_destroy(struct psmb_ctx *ctx);
+int psmb_getfd(struct psmb_ctx *ctx);
+bool psmb_need_write_wait(psmb_result_t result);
+psmb_result_t psmb_ev_rd(struct psmb_ctx *ctx);
+psmb_result_t psmb_ev_wr(struct psmb_ctx *ctx);
+psmb_result_t psmb_ev_ex(struct psmb_ctx *ctx);
+psmb_result_t psmb_subscribe(struct psmb_ctx * ctx, char *channel);
+psmb_result_t psmb_publish(struct psmb_ctx * ctx, char *channel,
+       void *data, size_t size);
+bool psmb_message(struct psmb_ctx * ctx, char **channel,
+       void **data, size_t *size);
+
+#endif