diff options
author | Le Chi Thu <thu2004@yahoo.se> | 2012-04-03 01:23:00 +0200 |
---|---|---|
committer | Le Chi Thu <thu2004@yahoo.se> | 2012-04-03 01:23:00 +0200 |
commit | 01c165cd1b2ac601d5ae73d3cb5e82ccdd94ac94 (patch) | |
tree | 777ab4b2289c860cab0b438f08e4f30bd52d9af5 /ltp_framework/include/rmobj.h |
Initial commit
Diffstat (limited to 'ltp_framework/include/rmobj.h')
-rw-r--r-- | ltp_framework/include/rmobj.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 |