cygrunsrv ChangeLog crit.h cygrunsrv.R ...
Sun May 22 16:34:00 GMT 2005

CVSROOT:	/cvs/cygwin-apps
Module name:	cygrunsrv
Changes by:	2005-05-22 16:34:56

Modified files:
	.              : ChangeLog crit.h cygrunsrv.README 
	        cygrunsrv.h utils.h 

Log message:
	2005-05-16  Corinna Vinschen <>
	* Bump version to 1.10.
	2005-05-22  Brian Dessent  <>
	* Add includes.
	(longopts): Add '--list' and '--verbose' options.
	(opts): Add '-L' and '-V' options; keep order consistent with above.
	(action_t): Add 'List'.
	(err_out_set_error): Define version of 'err_out' macro that allows for
	convenient setting the error code.
	(get_description): New function.
	(check_system_mounts): Ditto.
	(install_service): Check mounts and warn if problem found. Use
	'err_out_set_error' throughout.
	(start_service): Ditto.
	(stop_service): Ditto.
	(ServiceType_desc): Add.  Use structs to map DWORD fields onto strings.
	(StartType_desc): Ditto.
	(CurrentState_desc): Ditto.
	(ControlsAccepted_desc): Ditto.
	(make_desc): Add new function that generalizes the task of creating
	a textual field from a binary DWORD.
	(serviceTypeToString): Remove.
	(serviceStateToString): Ditto.
	(controlsToString): Ditto.
	(parsedoublenull): Add new helper function for parsing lists of
	strings, which is used below when printing the 'lpDependencies' value.
	(print_service): Add new function that is responsible for generating
	the formatted output for --list and --query commands.
	(query_service): Add verbosity parameter.  Remove printf output from
	here, call 'print_service' instead.  Call QueryServiceConfig to
	retrieve more detail on the service.
	(same_filename): New function.
	(list_services): Add new function that implements -L,--list command.
	Call EnumServicesStatus to get names of all services, and then
	determine which ones are cygrunsrv services.  List their names, or
	call print_service() if verbosity was requested.
	(main): Declare new variable 'verbosity'.  Support new command line
	switches.  Pass on verbosity information to query_service and
	* (reason_list): Update error text.
	(usage): Document new switches in the help text.
	* utils.h (reason_t): Add new symbolic name for error text.
	* cygrunsrv.README: Update documentation for new flags and mount


More information about the Cygwin-apps-cvs mailing list