From 01c165cd1b2ac601d5ae73d3cb5e82ccdd94ac94 Mon Sep 17 00:00:00 2001 From: Le Chi Thu Date: Tue, 3 Apr 2012 01:23:00 +0200 Subject: Initial commit --- ltp_framework/include/rmobj.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ltp_framework/include/rmobj.h (limited to 'ltp_framework/include/rmobj.h') diff --git a/ltp_framework/include/rmobj.h b/ltp_framework/include/rmobj.h new file mode 100644 index 0000000..4808ca2 --- /dev/null +++ b/ltp_framework/include/rmobj.h @@ -0,0 +1,12 @@ +#ifndef _RMOBJ_H_ +#define _RMOBJ_H_ + +/* + * rmobj() - Remove the specified object. If the specified object is a + * directory, recursively remove everything inside of it. If + * there are any problems, set errmsg (if it is not NULL) and + * return -1. Otherwise return 0. + */ +int rmobj( char *object , char **errmesg ); + +#endif -- cgit v1.2.3