Deleted Added
full compact
devd.hh (174824) devd.hh (209583)
1/*-
2 * Copyright (c) 2002-2003 M. Warner Losh.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2002-2003 M. Warner Losh.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sbin/devd/devd.hh 174824 2007-12-21 01:00:04Z imp $
26 * $FreeBSD: head/sbin/devd/devd.hh 209583 2010-06-29 03:52:12Z imp $
27 */
28
29#ifndef DEVD_HH
30#define DEVD_HH
31
32class config;
33
34/**

--- 113 unchanged lines hidden (view full) ---

148 void add_attach(int, event_proc *);
149 void add_detach(int, event_proc *);
150 void add_directory(const char *);
151 void add_nomatch(int, event_proc *);
152 void add_notify(int, event_proc *);
153 void set_pidfile(const char *);
154 void reset();
155 void parse();
27 */
28
29#ifndef DEVD_HH
30#define DEVD_HH
31
32class config;
33
34/**

--- 113 unchanged lines hidden (view full) ---

148 void add_attach(int, event_proc *);
149 void add_detach(int, event_proc *);
150 void add_directory(const char *);
151 void add_nomatch(int, event_proc *);
152 void add_notify(int, event_proc *);
153 void set_pidfile(const char *);
154 void reset();
155 void parse();
156 void close_pidfile();
156 void open_pidfile();
157 void write_pidfile();
158 void remove_pidfile();
159 void push_var_table();
160 void pop_var_table();
161 void set_variable(const char *var, const char *val);
162 const std::string &get_variable(const std::string &var);
163 const std::string expand_string(const std::string &var);

--- 20 unchanged lines hidden ---
157 void open_pidfile();
158 void write_pidfile();
159 void remove_pidfile();
160 void push_var_table();
161 void pop_var_table();
162 void set_variable(const char *var, const char *val);
163 const std::string &get_variable(const std::string &var);
164 const std::string expand_string(const std::string &var);

--- 20 unchanged lines hidden ---