allows to add directories
[src/app-framework-main.git] / src / af-db.h
index f54d807..ce4d04f 100644 (file)
@@ -1,6 +1,8 @@
 /*
  Copyright 2015 IoT.bzh
 
+ author: José Bollo <jose.bollo@iot.bzh>
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
@@ -21,6 +23,7 @@ extern void af_db_addref(struct af_db *afdb);
 extern void af_db_unref(struct af_db *afdb);
 
 extern int af_db_add_root(struct af_db *afdb, const char *path);
+extern int af_db_add_application(struct af_db *afdb, const char *path);
 extern int af_db_update_applications(struct af_db *afdb);
 extern int af_db_ensure_applications(struct af_db *afdb);