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 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 <pwd.h></code><br>
<code>#include <syslog.h></code><br>
<code>#include <errno.h></code><br>
<code>#include <sys/wait.h></code><br>
<code>#include <unistd.h></code><br>
<code>#include <grp.h></code><br>
<code>#include <stdlib.h></code><br>
<code>#include <sys/stat.h></code><br>
<code>#include <cstring></code><br>
<code>#include "<a class="el" href="usertable_8h-source.html">usertable.h</a>"</code><br>
<code>#include "<a class="el" href="incroncfg_8h-source.html">incroncfg.h</a>"</code><br>
<code>#include "<a class="el" href="incrontab_8h-source.html">incrontab.h</a>"</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 </td><td class="memItemRight" valign="bottom"><a class="el" href="usertable_8cpp.html#00c18f85faced2c2e33213d3507127f7">DONT_FOLLOW</a>(mask) (false)</td></tr>
<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>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<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>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<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>
<tr><td class="mdescLeft"> </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> </td><td class="memItemRight" valign="bottom"><a class="el" href="usertable_8cpp.html#7b1aaf113e44f11e01cf42487aeb5359">g_ut</a></td></tr>
<tr><td class="mdescLeft"> </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, <<a href="mailto:lukas@aiken.cz">lukas@aiken.cz</a>><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 "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin" </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 </td>
<td class="paramname"> </td>
<td> ) </td>
<td> (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> * </td>
<td class="paramname"> <em>pW</em> </td>
<td> ) </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
<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>
|