Subversion Repositories public

Compare Revisions

Ignore whitespace Rev 66 → Rev 67

/incron/trunk/incrontab.h
22,10 → 22,13
 
#include "strtok.h"
 
/// Incron table base directory
#define INCRON_TABLE_BASE "/var/spool/incron/"
/// Incron user table base directory
#define INCRON_USER_TABLE_BASE "/var/spool/incron/"
 
/// Incron system table base directory
#define INCRON_SYS_TABLE_BASE "/etc/incron.d/"
 
 
/// Incron table entry class.
class InCronTabEntry
{
211,6 → 214,15
* \attention No tests (existence, permission etc.) are done.
*/
static std::string GetUserTablePath(const std::string& rUser);
/// Composes a path to a system incron table file.
/**
* \param[in] rName table name (pseudouser)
* \return path to the table file
*
* \attention No tests (existence, permission etc.) are done.
*/
static std::string GetSystemTablePath(const std::string& rName);
 
protected:
std::deque<InCronTabEntry> m_tab; ///< incron table