Originally Posted by vadkutya
nothing easier than that
. seriously, it is impossible just to convert code by looking at a snippet. copying the source won't do either because if the code does have windows api system calls you need to translate them into proper POSIX (i.e. linux system calls). we can't do your work for you, buddy, we might assist but you have to figure it out for your self.
btw: what do you need it for?
NOCLEAN, FREPORTS, FDRILLDROWNS, PREPORTS
typedef struct _ThrdHandle
void *DelFolderThrd(void* element)
CleanType clnType = NOCLEAN;
ThrdHandle * handler = (ThrdHandle*)element;
clnType = handler->cType;
void CleanupOlderFiles(bool bFirstTime = false)
ThrdHandle * stmsg = new ThrdHandle;
stmsg->cType = FDRILLDOWNS;