diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-09 11:07:16 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-09 11:07:16 +0000 |
commit | eb0f039d0f66dc2fc920ed49cf0539ca186f6fe2 (patch) | |
tree | a82cfd5113bf0b200cbd8e900d81fe6d6b6d1e98 | |
parent | 998d526600b866b26bf2d865f21716b5a7eb6c71 (diff) |
Added security function that removes paths from filenames
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@463 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | include/inspircd_util.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/inspircd_util.h b/include/inspircd_util.h index c300e98cd..1a2e59a87 100644 --- a/include/inspircd_util.h +++ b/include/inspircd_util.h @@ -1,7 +1,8 @@ /* + * InspIRCd utlity functions + */ - -*/ +char* SafeStrncpy(char *, const char *, size_t ); +char* CleanIpAddr(char *, const char *); +char* CleanFilename(char* name); -char * SafeStrncpy (char *, const char *, size_t ); -char * CleanIpAddr (char *, const char *); |