file: convert to plugin library
[project/rpcd.git] / file.h
diff --git a/file.h b/file.h
index c4cb0d8..870e267 100644 (file)
--- a/file.h
+++ b/file.h
 #ifndef __RPC_FILE_H
 #define __RPC_FILE_H
 
+#include <fcntl.h>
+#include <errno.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
+#include <limits.h>
+#include <dirent.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
 #include <libubus.h>
 #include <libubox/blobmsg.h>
 #include <libubox/ustream.h>
@@ -57,6 +66,4 @@ struct rpc_file_exec_context {
        int stat;
 };
 
-int rpc_file_api_init(struct ubus_context *ctx);
-
 #endif