/incron-0.5.9/doc/html/usertable_8cpp.html
HTML | 153 lines | 137 code | 15 blank | 1 comment | 0 complexity | 807c4c9874bb5ed81b5c7d5b07e5190e MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>incron: usertable.cpp File Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.6 -->
8<div class="navigation" id="top">
9 <div class="tabs">
10 <ul>
11 <li><a href="index.html"><span>Main Page</span></a></li>
12 <li><a href="annotated.html"><span>Classes</span></a></li>
13 <li class="current"><a href="files.html"><span>Files</span></a></li>
14 </ul>
15 </div>
16</div>
17<div class="contents">
18<h1>usertable.cpp File Reference</h1>inotify cron daemon user tables implementation <a href="#_details">More...</a>
19<p>
20<code>#include <pwd.h></code><br>
21<code>#include <syslog.h></code><br>
22<code>#include <errno.h></code><br>
23<code>#include <sys/wait.h></code><br>
24<code>#include <unistd.h></code><br>
25<code>#include <grp.h></code><br>
26<code>#include <stdlib.h></code><br>
27<code>#include <sys/stat.h></code><br>
28<code>#include <cstring></code><br>
29<code>#include "<a class="el" href="usertable_8h-source.html">usertable.h</a>"</code><br>
30<code>#include "<a class="el" href="incroncfg_8h-source.html">incroncfg.h</a>"</code><br>
31<code>#include "<a class="el" href="incrontab_8h-source.html">incrontab.h</a>"</code><br>
32<table border="0" cellpadding="0" cellspacing="0">
33<tr><td></td></tr>
34<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
35<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usertable_8cpp.html#00c18f85faced2c2e33213d3507127f7">DONT_FOLLOW</a>(mask) (false)</td></tr>
36
37<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="usertable_8cpp.html#72c1937b26ce9a87266ca6c802b047a0">DEFAULT_PATH</a> "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin"</td></tr>
38
39<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
40<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="usertable_8cpp.html#37d1f2354c136358d07611dc0a3ac76e">on_proc_done</a> (<a class="el" href="classInotifyWatch.html">InotifyWatch</a> *pW)</td></tr>
41
42<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
43<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile bool </td><td class="memItemRight" valign="bottom"><a class="el" href="usertable_8cpp.html#1295917a6eebc00317fc77da160096fa">g_fFinish</a></td></tr>
44
45<tr><td class="mdescLeft"> </td><td class="mdescRight">Finish program yes/no. <a href="#1295917a6eebc00317fc77da160096fa"></a><br></td></tr>
46<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="usertable_8h.html#9aa598e8878c4709e214b51047e52e13">SUT_MAP</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="usertable_8cpp.html#7b1aaf113e44f11e01cf42487aeb5359">g_ut</a></td></tr>
47
48<tr><td class="mdescLeft"> </td><td class="mdescRight">User name to user table mapping table. <a href="#7b1aaf113e44f11e01cf42487aeb5359"></a><br></td></tr>
49</table>
50<hr><a name="_details"></a><h2>Detailed Description</h2>
51inotify cron daemon user tables implementation
52<p>
53inotify cron system<p>
54Copyright (C) 2006, 2007, 2008 Lukas Jelinek, <<a href="mailto:lukas@aiken.cz">lukas@aiken.cz</a>><p>
55This program is free software; you can use it, redistribute it and/or modify it under the terms of the GNU General Public License, version 2 (see LICENSE-GPL).<p>
56Credits: David Santinoli (supplementary groups) Boris Lechner (spaces in event-related file names) <hr><h2>Define Documentation</h2>
57<a class="anchor" name="72c1937b26ce9a87266ca6c802b047a0"></a><!-- doxytag: member="usertable.cpp::DEFAULT_PATH" ref="72c1937b26ce9a87266ca6c802b047a0" args="" -->
58<div class="memitem">
59<div class="memproto">
60 <table class="memname">
61 <tr>
62 <td class="memname">#define DEFAULT_PATH "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin" </td>
63 </tr>
64 </table>
65</div>
66<div class="memdoc">
67
68<p>
69
70</div>
71</div><p>
72<a class="anchor" name="00c18f85faced2c2e33213d3507127f7"></a><!-- doxytag: member="usertable.cpp::DONT_FOLLOW" ref="00c18f85faced2c2e33213d3507127f7" args="(mask)" -->
73<div class="memitem">
74<div class="memproto">
75 <table class="memname">
76 <tr>
77 <td class="memname">#define DONT_FOLLOW </td>
78 <td>(</td>
79 <td class="paramtype">mask </td>
80 <td class="paramname"> </td>
81 <td> ) </td>
82 <td> (false)</td>
83 </tr>
84 </table>
85</div>
86<div class="memdoc">
87
88<p>
89
90</div>
91</div><p>
92<hr><h2>Function Documentation</h2>
93<a class="anchor" name="37d1f2354c136358d07611dc0a3ac76e"></a><!-- doxytag: member="usertable.cpp::on_proc_done" ref="37d1f2354c136358d07611dc0a3ac76e" args="(InotifyWatch *pW)" -->
94<div class="memitem">
95<div class="memproto">
96 <table class="memname">
97 <tr>
98 <td class="memname">void on_proc_done </td>
99 <td>(</td>
100 <td class="paramtype"><a class="el" href="classInotifyWatch.html">InotifyWatch</a> * </td>
101 <td class="paramname"> <em>pW</em> </td>
102 <td> ) </td>
103 <td></td>
104 </tr>
105 </table>
106</div>
107<div class="memdoc">
108
109<p>
110
111</div>
112</div><p>
113<hr><h2>Variable Documentation</h2>
114<a class="anchor" name="1295917a6eebc00317fc77da160096fa"></a><!-- doxytag: member="usertable.cpp::g_fFinish" ref="1295917a6eebc00317fc77da160096fa" args="" -->
115<div class="memitem">
116<div class="memproto">
117 <table class="memname">
118 <tr>
119 <td class="memname">volatile bool <a class="el" href="usertable_8cpp.html#1295917a6eebc00317fc77da160096fa">g_fFinish</a> </td>
120 </tr>
121 </table>
122</div>
123<div class="memdoc">
124
125<p>
126Finish program yes/no.
127<p>
128
129</div>
130</div><p>
131<a class="anchor" name="7b1aaf113e44f11e01cf42487aeb5359"></a><!-- doxytag: member="usertable.cpp::g_ut" ref="7b1aaf113e44f11e01cf42487aeb5359" args="" -->
132<div class="memitem">
133<div class="memproto">
134 <table class="memname">
135 <tr>
136 <td class="memname"><a class="el" href="usertable_8h.html#9aa598e8878c4709e214b51047e52e13">SUT_MAP</a> <a class="el" href="usertable_8cpp.html#7b1aaf113e44f11e01cf42487aeb5359">g_ut</a> </td>
137 </tr>
138 </table>
139</div>
140<div class="memdoc">
141
142<p>
143User name to user table mapping table.
144<p>
145
146</div>
147</div><p>
148</div>
149<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jun 21 22:27:24 2009 for incron by
150<a href="http://www.doxygen.org/index.html">
151<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
152</body>
153</html>