/[baselayout]/trunk/src/librc.h
Gentoo

Contents of /trunk/src/librc.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2885 - (show annotations) (download) (as text)
Tue Sep 18 12:20:55 2007 UTC (7 years, 3 months ago) by uberlord
File MIME type: text/x-chdr
File size: 3404 byte(s)
API change! rc_config_env is renamed to rc_make_env and takes no argument.
1 /*
2 * librc.h
3 * Internal header file to setup build env for files in librc.so
4 * Copyright 2007 Gentoo Foundation
5 * Released under the GPLv2
6 */
7
8 #ifndef _LIBRC_H_
9 #define _LIBRC_H_
10
11 #include <sys/stat.h>
12 #include <sys/time.h>
13 #include <sys/types.h>
14 #include <sys/utsname.h>
15 #include <sys/wait.h>
16
17 #ifdef __linux__
18 #include <sys/sysinfo.h>
19 #endif
20
21 #include <dirent.h>
22 #include <errno.h>
23 #include <fcntl.h>
24 #include <libgen.h>
25 #include <limits.h>
26 #include <regex.h>
27 #include <stdarg.h>
28 #include <stdbool.h>
29 #include <stdio.h>
30 #include <stdlib.h>
31 #include <string.h>
32 #include <time.h>
33 #include <unistd.h>
34
35 #if defined(__DragonFly__) || defined(__FreeBSD__) || \
36 defined(__NetBSD__) || defined (__OpenBSD__)
37 #include <sys/param.h>
38 #include <sys/user.h>
39 #include <sys/sysctl.h>
40 #include <kvm.h>
41 #endif
42
43 #include "einfo.h"
44 #include "rc.h"
45 #include "rc-misc.h"
46 #include "strlist.h"
47
48 #include "hidden-visibility.h"
49 #define librc_hidden_proto(x) hidden_proto(x)
50 #define librc_hidden_def(x) hidden_def(x)
51
52 librc_hidden_proto(rc_allow_plug)
53 librc_hidden_proto(rc_exists)
54 librc_hidden_proto(rc_filter_env)
55 librc_hidden_proto(rc_find_pids)
56 librc_hidden_proto(rc_free_deptree)
57 librc_hidden_proto(rc_get_config)
58 librc_hidden_proto(rc_get_config_entry)
59 librc_hidden_proto(rc_get_depends)
60 librc_hidden_proto(rc_get_depinfo)
61 librc_hidden_proto(rc_get_deptype)
62 librc_hidden_proto(rc_get_list)
63 librc_hidden_proto(rc_get_runlevel)
64 librc_hidden_proto(rc_get_runlevels)
65 librc_hidden_proto(rc_get_service_option)
66 librc_hidden_proto(rc_is_dir)
67 librc_hidden_proto(rc_is_env)
68 librc_hidden_proto(rc_is_exec)
69 librc_hidden_proto(rc_is_file)
70 librc_hidden_proto(rc_is_link)
71 librc_hidden_proto(rc_load_deptree)
72 librc_hidden_proto(rc_ls_dir)
73 librc_hidden_proto(rc_make_env)
74 librc_hidden_proto(rc_mark_service)
75 librc_hidden_proto(rc_order_services)
76 librc_hidden_proto(rc_resolve_service)
77 librc_hidden_proto(rc_rm_dir)
78 librc_hidden_proto(rc_runlevel_exists)
79 librc_hidden_proto(rc_runlevel_starting)
80 librc_hidden_proto(rc_runlevel_stopping)
81 librc_hidden_proto(rc_schedule_clear)
82 librc_hidden_proto(rc_schedule_start_service)
83 librc_hidden_proto(rc_service_add)
84 librc_hidden_proto(rc_service_daemons_crashed)
85 librc_hidden_proto(rc_service_delete)
86 librc_hidden_proto(rc_service_description)
87 librc_hidden_proto(rc_service_exists)
88 librc_hidden_proto(rc_service_in_runlevel)
89 librc_hidden_proto(rc_service_options)
90 librc_hidden_proto(rc_services_in_runlevel)
91 librc_hidden_proto(rc_services_in_state)
92 librc_hidden_proto(rc_services_scheduled)
93 librc_hidden_proto(rc_services_scheduled_by)
94 librc_hidden_proto(rc_service_started_daemon)
95 librc_hidden_proto(rc_service_state)
96 librc_hidden_proto(rc_set_runlevel)
97 librc_hidden_proto(rc_set_service_daemon)
98 librc_hidden_proto(rc_set_service_option)
99 librc_hidden_proto(rc_start_service)
100 librc_hidden_proto(rc_stop_service)
101 librc_hidden_proto(rc_strcatpaths)
102 librc_hidden_proto(rc_strlist_add)
103 librc_hidden_proto(rc_strlist_addu)
104 librc_hidden_proto(rc_strlist_addsort)
105 librc_hidden_proto(rc_strlist_addsortc)
106 librc_hidden_proto(rc_strlist_addsortu)
107 librc_hidden_proto(rc_strlist_delete)
108 librc_hidden_proto(rc_strlist_free)
109 librc_hidden_proto(rc_strlist_join)
110 librc_hidden_proto(rc_strlist_reverse)
111 librc_hidden_proto(rc_update_deptree)
112 librc_hidden_proto(rc_wait_service)
113 librc_hidden_proto(rc_xcalloc)
114 librc_hidden_proto(rc_xmalloc)
115 librc_hidden_proto(rc_xrealloc)
116 librc_hidden_proto(rc_xstrdup)
117
118 #endif

  ViewVC Help
Powered by ViewVC 1.1.20