File: usertable_8cpp.html

package info (click to toggle)
incron 0.5.9-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,356 kB
  • ctags: 1,766
  • sloc: cpp: 3,031; makefile: 106; sh: 80
file content (153 lines) | stat: -rw-r--r-- 7,072 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>incron: usertable.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>usertable.cpp File Reference</h1>inotify cron daemon user tables implementation <a href="#_details">More...</a>
<p>
<code>#include &lt;pwd.h&gt;</code><br>
<code>#include &lt;syslog.h&gt;</code><br>
<code>#include &lt;errno.h&gt;</code><br>
<code>#include &lt;sys/wait.h&gt;</code><br>
<code>#include &lt;unistd.h&gt;</code><br>
<code>#include &lt;grp.h&gt;</code><br>
<code>#include &lt;stdlib.h&gt;</code><br>
<code>#include &lt;sys/stat.h&gt;</code><br>
<code>#include &lt;cstring&gt;</code><br>
<code>#include &quot;<a class="el" href="usertable_8h-source.html">usertable.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="incroncfg_8h-source.html">incroncfg.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="incrontab_8h-source.html">incrontab.h</a>&quot;</code><br>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="usertable_8cpp.html#00c18f85faced2c2e33213d3507127f7">DONT_FOLLOW</a>(mask)&nbsp;&nbsp;&nbsp;(false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="usertable_8cpp.html#72c1937b26ce9a87266ca6c802b047a0">DEFAULT_PATH</a>&nbsp;&nbsp;&nbsp;&quot;/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin&quot;</td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</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>

<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="usertable_8cpp.html#1295917a6eebc00317fc77da160096fa">g_fFinish</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Finish program yes/no.  <a href="#1295917a6eebc00317fc77da160096fa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="usertable_8h.html#9aa598e8878c4709e214b51047e52e13">SUT_MAP</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="usertable_8cpp.html#7b1aaf113e44f11e01cf42487aeb5359">g_ut</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">User name to user table mapping table.  <a href="#7b1aaf113e44f11e01cf42487aeb5359"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
inotify cron daemon user tables implementation 
<p>
inotify cron system<p>
Copyright (C) 2006, 2007, 2008 Lukas Jelinek, &lt;<a href="mailto:lukas@aiken.cz">lukas@aiken.cz</a>&gt;<p>
This 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>
Credits: David Santinoli (supplementary groups) Boris Lechner (spaces in event-related file names) <hr><h2>Define Documentation</h2>
<a class="anchor" name="72c1937b26ce9a87266ca6c802b047a0"></a><!-- doxytag: member="usertable.cpp::DEFAULT_PATH" ref="72c1937b26ce9a87266ca6c802b047a0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DEFAULT_PATH&nbsp;&nbsp;&nbsp;&quot;/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin&quot;          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="00c18f85faced2c2e33213d3507127f7"></a><!-- doxytag: member="usertable.cpp::DONT_FOLLOW" ref="00c18f85faced2c2e33213d3507127f7" args="(mask)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DONT_FOLLOW          </td>
          <td>(</td>
          <td class="paramtype">mask&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;(false)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="37d1f2354c136358d07611dc0a3ac76e"></a><!-- doxytag: member="usertable.cpp::on_proc_done" ref="37d1f2354c136358d07611dc0a3ac76e" args="(InotifyWatch *pW)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void on_proc_done           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classInotifyWatch.html">InotifyWatch</a> *&nbsp;</td>
          <td class="paramname"> <em>pW</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="1295917a6eebc00317fc77da160096fa"></a><!-- doxytag: member="usertable.cpp::g_fFinish" ref="1295917a6eebc00317fc77da160096fa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile bool <a class="el" href="usertable_8cpp.html#1295917a6eebc00317fc77da160096fa">g_fFinish</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Finish program yes/no. 
<p>

</div>
</div><p>
<a class="anchor" name="7b1aaf113e44f11e01cf42487aeb5359"></a><!-- doxytag: member="usertable.cpp::g_ut" ref="7b1aaf113e44f11e01cf42487aeb5359" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
User name to user table mapping table. 
<p>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jun 21 22:27:24 2009 for incron by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>