Cleanup and refactor of public plugin API

Improve upon API names, both internal and external, to make it clearer
where methods are located and clarify responsibility.

Add new Makefile target "dev" to create untagged development snapshots.

Bump version for upcoming release.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2012-10-02 06:39:19 +02:00
1 parent 5e99b5e735
commit f55f68d032
9 files changed
+70 -63

No files matched your search

+8 -5
View File
@@ -25,13 +25,16 @@
#ifndef FINIT_PRIVATE_H_
#define FINIT_PRIVATE_H_
#include "svc.h"
#include "plugin.h"
/* plugin.c */
void run_hooks (hook_point_t no);
void run_services (void);
int load_plugins (char *path);
void io_monitor (void);
void svc_start_all (void);
void svc_monitor (void);
void plugin_run_hooks (hook_point_t no);
svc_cmd_t plugin_svc_enabled (svc_t *svc, int event, void *arg);
int plugin_load_all (char *path);
void plugin_monitor (void);
#endif /* FINIT_PRIVATE_H_ */