File: FileSystem.h

package info (click to toggle)
hashrat 1.8.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,700 kB
  • ctags: 1,677
  • sloc: ansic: 17,713; sh: 323; makefile: 157
file content (31 lines) | stat: -rw-r--r-- 745 bytes parent folder | download
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
#ifndef LIBUSEFUL_FILEPATH_H
#define LIBUSEFUL_FILEPATH_H

#include "includes.h"

#ifdef __cplusplus
extern "C" {
#endif

char *GetBasename(char *Path);
char *SlashTerminateDirectoryPath(char *DirPath);
char *StripDirectorySlash(char *DirPath);
int FileExists(const char *);
int MakeDirPath(const char *Path, int DirMask);
int FindFilesInPath(const char *File, const char *Path, ListNode *Files);
char *FindFileInPath(char *InBuff, const char *File, const char *Path);
int ChangeFileExtension(const char *FilePath, const char *NewExt);
int FindFilesInPath(const char *File, const char *Path, ListNode *Files);


int FileNotifyInit(const char *Path, int Flags);
int FileNotifyGetNext(int fd, char **Path);


#ifdef __cplusplus
}
#endif



#endif