Switch to unified view

a/src/utils/ecrontab.h b/src/utils/ecrontab.h
...
...
31
 * values are chosen by the caller, which should apply some thought to
31
 * values are chosen by the caller, which should apply some thought to
32
 * chosing sane values.
32
 * chosing sane values.
33
 */
33
 */
34
34
35
#include <string>
35
#include <string>
36
#include <vector>
36
using std::string;
37
using std::string;
38
using std::vector;
37
39
38
/** Add, replace or delete a command inside a crontab file
40
/** Add, replace or delete a command inside a crontab file
39
 *
41
 *
40
 * @param marker selects lines managed by this module and should take the form
42
 * @param marker selects lines managed by this module and should take the form
41
 *  of a (possibly empty) environment variable assignement.
43
 *  of a (possibly empty) environment variable assignement.
...
...
60
 * @param data string to look for on lines NOT marked, typically "recollindex"
62
 * @param data string to look for on lines NOT marked, typically "recollindex"
61
 * @return true if unmanaged lines exist, false else.
63
 * @return true if unmanaged lines exist, false else.
62
 */
64
 */
63
bool checkCrontabUnmanaged(const string& marker, const string& data);
65
bool checkCrontabUnmanaged(const string& marker, const string& data);
64
66
67
/** Retrieve the scheduling for a crontab entry */
68
bool getCrontabSched(const string& marker, const string& id, 
69
           vector<string>& sched);
70
65
#endif /* _ECRONTAB_H_INCLUDED_ */
71
#endif /* _ECRONTAB_H_INCLUDED_ */