summaryrefslogtreecommitdiffstats
path: root/include/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/connection.h')
-rw-r--r--include/connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/connection.h b/include/connection.h
index 416e076..98f0eca 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -9,7 +9,7 @@ struct ptx_connection
ptx_pipeline_t *srv_read, *srv_write;
};
-struct ptx_connection *ptx_connection_new(void);
-void ptx_connection_free(struct ptx_connection *conn);
+PTX_API struct ptx_connection *ptx_connection_new(void) ATTR_WUR ATTR_MALLOC() ATTR_MALLOC((ptx_connection_free, 1));
+PTX_API void ptx_connection_free(struct ptx_connection *conn);
#endif /* include guard */