trigger: reduce indentation level in trigger_event()
[project/procd.git] / jail / elf.h
index 19ceb3e..78fedcd 100644 (file)
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  */
+#ifndef _JAIL_ELF_H_
+#define _JAIL_ELF_H_
 
-#ifndef _ELF_H__
 #include <libubox/avl.h>
 #include <libubox/avl-cmp.h>
 
-#include "log.h"
-
 struct library {
        struct avl_node avl;
        char *name;
@@ -30,9 +29,10 @@ struct library_path {
 
 extern struct avl_tree libraries;
 
-void alloc_library_path(const char *path);
-char* find_lib(char *file);
-int elf_load_deps(char *library);
-void load_ldso_conf(const char *conf);
+void alloc_library(const char *path, const char *name);
+int elf_load_deps(const char *path, const char *map);
+const char* find_lib(const char *file);
+void init_library_search(void);
+int lib_open(char **fullpath, const char *file);
 
 #endif