From owner-p4-projects@FreeBSD.ORG Wed Aug 31 14:39:30 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3F85316A421; Wed, 31 Aug 2005 14:39:30 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1548C16A41F for ; Wed, 31 Aug 2005 14:39:30 +0000 (GMT) (envelope-from soc-tyler@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D53A943D45 for ; Wed, 31 Aug 2005 14:39:29 +0000 (GMT) (envelope-from soc-tyler@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7VEdTan001464 for ; Wed, 31 Aug 2005 14:39:29 GMT (envelope-from soc-tyler@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7VEdT5g001461 for perforce@freebsd.org; Wed, 31 Aug 2005 14:39:29 GMT (envelope-from soc-tyler@freebsd.org) Date: Wed, 31 Aug 2005 14:39:29 GMT Message-Id: <200508311439.j7VEdT5g001461@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to soc-tyler@freebsd.org using -f From: soc-tyler To: Perforce Change Reviews Cc: Subject: PERFORCE change 82901 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 14:39:31 -0000 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