Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2005 14:39:29 GMT
From:      soc-tyler <soc-tyler@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 82901 for review
Message-ID:  <200508311439.j7VEdT5g001461@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=82901

Change 82901 by soc-tyler@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508311439.j7VEdT5g001461>