summaryrefslogtreecommitdiff
path: root/ltp_framework/include/rmobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'ltp_framework/include/rmobj.h')
-rw-r--r--ltp_framework/include/rmobj.h12
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