librc.h

00001 /*
00002  * librc.h
00003  * Internal header file to setup build env for files in librc.so
00004  * Copyright 2007 Gentoo Foundation
00005  * Released under the GPLv2
00006  */
00007 
00008 #ifndef _LIBRC_H_
00009 #define _LIBRC_H_
00010 
00011 #include <sys/stat.h>
00012 #include <sys/time.h>
00013 #include <sys/types.h>
00014 #include <sys/utsname.h>
00015 #include <sys/wait.h>
00016 
00017 #ifdef __linux__
00018 #include <sys/sysinfo.h>
00019 #endif
00020 
00021 #include <dirent.h>
00022 #include <errno.h>
00023 #include <fcntl.h>
00024 #include <libgen.h>
00025 #include <limits.h>
00026 #include <regex.h>
00027 #include <stdarg.h>
00028 #include <stdbool.h>
00029 #include <stdio.h>
00030 #include <stdlib.h>
00031 #include <string.h>
00032 #include <time.h>
00033 #include <unistd.h>
00034 
00035 #if defined(__DragonFly__) || defined(__FreeBSD__) || \
00036         defined(__NetBSD__) || defined (__OpenBSD__)
00037 #include <sys/param.h>
00038 #include <sys/user.h>
00039 #include <sys/sysctl.h>
00040 #include <kvm.h>
00041 #endif
00042 
00043 #include "einfo.h"
00044 #include "rc.h"
00045 #include "rc-misc.h"
00046 #include "strlist.h"
00047 
00048 #include "hidden-visibility.h"
00049 #define librc_hidden_proto(x) hidden_proto(x)
00050 #define librc_hidden_def(x) hidden_def(x)
00051 
00052 librc_hidden_proto(rc_allow_plug)
00053 librc_hidden_proto(rc_exists)
00054 librc_hidden_proto(rc_filter_env)
00055 librc_hidden_proto(rc_find_pids)
00056 librc_hidden_proto(rc_free_deptree)
00057 librc_hidden_proto(rc_get_config)
00058 librc_hidden_proto(rc_get_config_entry)
00059 librc_hidden_proto(rc_get_depends)
00060 librc_hidden_proto(rc_get_depinfo)
00061 librc_hidden_proto(rc_get_deptype)
00062 librc_hidden_proto(rc_get_list)
00063 librc_hidden_proto(rc_get_runlevel)
00064 librc_hidden_proto(rc_get_runlevels)
00065 librc_hidden_proto(rc_get_service_option)
00066 librc_hidden_proto(rc_is_dir)
00067 librc_hidden_proto(rc_is_env)
00068 librc_hidden_proto(rc_is_exec)
00069 librc_hidden_proto(rc_is_file)
00070 librc_hidden_proto(rc_is_link)
00071 librc_hidden_proto(rc_load_deptree)
00072 librc_hidden_proto(rc_ls_dir)
00073 librc_hidden_proto(rc_make_env)
00074 librc_hidden_proto(rc_mark_service)
00075 librc_hidden_proto(rc_order_services)
00076 librc_hidden_proto(rc_resolve_service)
00077 librc_hidden_proto(rc_rm_dir)
00078 librc_hidden_proto(rc_runlevel_exists)
00079 librc_hidden_proto(rc_runlevel_starting)
00080 librc_hidden_proto(rc_runlevel_stopping)
00081 librc_hidden_proto(rc_schedule_clear)
00082 librc_hidden_proto(rc_schedule_start_service)
00083 librc_hidden_proto(rc_service_add)
00084 librc_hidden_proto(rc_service_daemons_crashed)
00085 librc_hidden_proto(rc_service_delete)
00086 librc_hidden_proto(rc_service_description)
00087 librc_hidden_proto(rc_service_exists)
00088 librc_hidden_proto(rc_service_in_runlevel)
00089 librc_hidden_proto(rc_service_options)
00090 librc_hidden_proto(rc_services_in_runlevel)
00091 librc_hidden_proto(rc_services_in_state)
00092 librc_hidden_proto(rc_services_scheduled)
00093 librc_hidden_proto(rc_services_scheduled_by)
00094 librc_hidden_proto(rc_service_started_daemon)
00095 librc_hidden_proto(rc_service_state)
00096 librc_hidden_proto(rc_set_runlevel)
00097 librc_hidden_proto(rc_set_service_daemon)
00098 librc_hidden_proto(rc_set_service_option)
00099 librc_hidden_proto(rc_start_service)
00100 librc_hidden_proto(rc_stop_service)
00101 librc_hidden_proto(rc_strcatpaths)
00102 librc_hidden_proto(rc_strlist_add)
00103 librc_hidden_proto(rc_strlist_addu)
00104 librc_hidden_proto(rc_strlist_addsort)
00105 librc_hidden_proto(rc_strlist_addsortc)
00106 librc_hidden_proto(rc_strlist_addsortu)
00107 librc_hidden_proto(rc_strlist_delete)
00108 librc_hidden_proto(rc_strlist_free)
00109 librc_hidden_proto(rc_strlist_join)
00110 librc_hidden_proto(rc_strlist_reverse)
00111 librc_hidden_proto(rc_update_deptree)
00112 librc_hidden_proto(rc_wait_service)
00113 librc_hidden_proto(rc_xmalloc)
00114 librc_hidden_proto(rc_xrealloc)
00115 librc_hidden_proto(rc_xstrdup)
00116 
00117 #endif

Generated on Tue Sep 25 16:24:20 2007 for rc by  doxygen 1.5.3