PERFORCE change 82901 for review

soc-tyler soc-tyler at FreeBSD.org
Wed Aug 31 14:39:31 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=82901

Change 82901 by soc-tyler at soc-tyler_launchd on 2005/08/31 14:38:50

	Update file to move to another workstation (oncampus)

Affected files ...

.. //depot/projects/soc2005/launchd/launchctl/launchctl.c#13 edit

Differences ...

==== //depot/projects/soc2005/launchd/launchctl/launchctl.c#13 (text+ko) ====

@@ -332,6 +332,7 @@
 }
 
 #ifndef _BUILD_DARWIN
+// Just using this method for testing (until that plist parser is written)
 #ifdef _LAUNCHD_
 static launch_data_t read_conf_file(const char *file, bool editondisk, bool load) {
 	/* fill this with an array of launch_data_t structs */
@@ -358,6 +359,15 @@
 	close(fd);
 	return retval;
 }
+
+/* This function should mimic CF2launch_data in how it creates
+ * a launch_data_t data structure from the contents of a .plist file
+ */
+static launch_data_t Conf2launch_data(void *) {
+	launch_data_t r;
+
+	return r;
+}
 #endif
 #endif
 


More information about the p4-projects mailing list