xref: /onnv-gate/usr/src/cmd/hal/hald/util_helper.h (revision 2912:85ea316d9c18)
1*2912Sartem /***************************************************************************
2*2912Sartem  *
3*2912Sartem  * util_helper.h - HAL utilities for helper (as e.g. prober/addons) et al.
4*2912Sartem  *
5*2912Sartem  * Copyright (C) 2006 David Zeuthen, <david@fubar.dk>
6*2912Sartem  *
7*2912Sartem  * Licensed under the Academic Free License version 2.1
8*2912Sartem  *
9*2912Sartem  * This program is free software; you can redistribute it and/or modify
10*2912Sartem  * it under the terms of the GNU General Public License as published by
11*2912Sartem  * the Free Software Foundation; either version 2 of the License, or
12*2912Sartem  * (at your option) any later version.
13*2912Sartem  *
14*2912Sartem  * This program is distributed in the hope that it will be useful,
15*2912Sartem  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16*2912Sartem  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*2912Sartem  * GNU General Public License for more details.
18*2912Sartem  *
19*2912Sartem  * You should have received a copy of the GNU General Public License
20*2912Sartem  * along with this program; if not, write to the Free Software
21*2912Sartem  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
22*2912Sartem  *
23*2912Sartem  **************************************************************************/
24*2912Sartem 
25*2912Sartem 
26*2912Sartem #ifndef UTIL_HELPER_H
27*2912Sartem #define UTIL_HELPER_H
28*2912Sartem 
29*2912Sartem void drop_privileges (int keep_auxgroups);
30*2912Sartem void hal_set_proc_title_init (int argc, char *argv[]);
31*2912Sartem void hal_set_proc_title (const char *format, ...);
32*2912Sartem 
33*2912Sartem #endif /* UTIL_HELPER_H */
34