ossp-pkg/rc/rc_script.c 1.7 -> 1.8
--- rc_script.c 2002/07/10 19:03:58 1.7
+++ rc_script.c 2002/07/30 16:36:41 1.8
@@ -180,6 +180,20 @@
}
/************************************************
+* scriptTostring(rc_script_t *) *
+* Return the private script data as a string *
+************************************************/
+const char *scriptTostring(rc_script_t *pScript)
+{
+ /* Don't remove this! It encapsulates the script object, */
+ /* which might not be a simple string */
+ if (pScript)
+ return(*pScript);
+ else
+ return(NULL);
+}
+
+/************************************************
* scriptDump(rc_script_t *) *
* Print a script to standard out *
************************************************/
|
|