diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 08:00:47 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 08:00:47 +0000 |
commit | 24c125cfc3032e6269e6e5de91c72c91508adde0 (patch) | |
tree | a3f86f5dc3ff9e23c46f845bdb64e0a50ae84a24 /srUtils.h | |
parent | 2dccfb6780c89cf9ac5e215afd7d2a18ee211840 (diff) | |
download | rsyslog-24c125cfc3032e6269e6e5de91c72c91508adde0.tar.gz rsyslog-24c125cfc3032e6269e6e5de91c72c91508adde0.tar.xz rsyslog-24c125cfc3032e6269e6e5de91c72c91508adde0.zip |
made queue file names better readable
Diffstat (limited to 'srUtils.h')
-rwxr-xr-x | srUtils.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -64,5 +64,7 @@ int makeFileParentDirs(uchar *szFile, size_t lenFile, mode_t mode, uid_t uid, gi int execProg(uchar *program, int wait, uchar *arg); void skipWhiteSpace(uchar **pp); -rsRetVal genFileName(uchar **ppName, uchar *pDirName, size_t lenDirName, uchar *pName, size_t lenName, long lNum); +rsRetVal genFileName(uchar **ppName, uchar *pDirName, size_t lenDirName, uchar *pFName, + size_t lenFName, long lNum, int lNumDigits); +int getNumberDigits(long lNum); #endif |