/**1* SystemStarter.h - System Starter driver2* Wilfredo Sanchez | [email protected]3* $Apple$4**5* Copyright (c) 1999-2002 Apple Computer, Inc. All rights reserved.6*7* @APPLE_APACHE_LICENSE_HEADER_START@8*9* Licensed under the Apache License, Version 2.0 (the "License");10* you may not use this file except in compliance with the License.11* You may obtain a copy of the License at12*13* http://www.apache.org/licenses/LICENSE-2.014*15* Unless required by applicable law or agreed to in writing, software16* distributed under the License is distributed on an "AS IS" BASIS,17* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.18* See the License for the specific language governing permissions and19* limitations under the License.20*21* @APPLE_APACHE_LICENSE_HEADER_END@22**/2324#ifndef _SYSTEM_STARTER_H_25#define _SYSTEM_STARTER_H_2627/* Structure to pass common objects from system_starter to the IPC handlers */28typedef struct StartupContextStorage {29CFMutableArrayRef aWaitingList;30CFMutableArrayRef aFailedList;31CFMutableDictionaryRef aStatusDict;32int aServicesCount;33int aRunningCount;34} *StartupContext;3536#define kFixerDir "/var/db/fixer"37#define kFixerPath "/var/db/fixer/StartupItems"3839/* Action types */40typedef enum {41kActionNone = 0,42kActionStart,43kActionStop,44kActionRestart45} Action;4647void CF_syslog(int level, CFStringRef message, ...);48extern bool gVerboseFlag;4950#endif /* _SYSTEM_STARTER_H_ */515253