diff --git a/src/libply/ply-utils.h b/src/libply/ply-utils.h index 592a8e4e..5e41f841 100644 --- a/src/libply/ply-utils.h +++ b/src/libply/ply-utils.h @@ -46,6 +46,9 @@ typedef void (* ply_module_function_t) (void); typedef intptr_t ply_daemon_handle_t; #ifndef PLY_HIDE_FUNCTION_DECLARATIONS + +#define ply_round_to_multiple(n, m) (((n) + (((m) - 1))) & ~((m) - 1)) + bool ply_open_unidirectional_pipe (int *sender_fd, int *receiver_fd); int ply_connect_to_unix_socket (const char *path,