-/* @(#) $Id: file_op.h,v 1.14 2009/06/24 17:06:26 dcid Exp $ */
+/* @(#) $Id: ./src/headers/file_op.h, 2011/09/08 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All rights reserved.
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
* Foundation
*/
/* not really a file operation, but returns the uname */
char *getuname();
+/* Return basename of path */
+char *basename_ex(char *path) __attribute__((nonnull));
+
+/* Rename file or directory */
+int rename_ex(const char *source, const char *destination) __attribute__((nonnull));
+
+/* Create temporary file */
+int mkstemp_ex(char *tmp_path) __attribute__((nonnull));
+
/* Checks for vista. */
#ifdef WIN32