public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* cygrunsrv ChangeLog crit.cc crit.h cygrunsrv.R ...
@ 2005-05-22 16:34 corinna
0 siblings, 0 replies; 2+ messages in thread
From: corinna @ 2005-05-22 16:34 UTC (permalink / raw)
To: cygwin-apps-cvs
CVSROOT: /cvs/cygwin-apps
Module name: cygrunsrv
Changes by: corinna@sourceware.org 2005-05-22 16:34:56
Modified files:
. : ChangeLog crit.cc crit.h cygrunsrv.README
cygrunsrv.cc cygrunsrv.h utils.cc utils.h
Log message:
2005-05-16 Corinna Vinschen <corinna@vinschen.de>
* cygrunsrv.cc: Bump version to 1.10.
2005-05-22 Brian Dessent <brian@dessent.net>
* cygrunsrv.cc: 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.
(QSC_BUF_SIZE): Add.
(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
list_services.
* utils.cc (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
information.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/ChangeLog.diff?cvsroot=cygwin-apps&r1=1.41&r2=1.42
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/crit.cc.diff?cvsroot=cygwin-apps&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/crit.h.diff?cvsroot=cygwin-apps&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/cygrunsrv.README.diff?cvsroot=cygwin-apps&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/cygrunsrv.cc.diff?cvsroot=cygwin-apps&r1=1.27&r2=1.28
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/cygrunsrv.h.diff?cvsroot=cygwin-apps&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/utils.cc.diff?cvsroot=cygwin-apps&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/utils.h.diff?cvsroot=cygwin-apps&r1=1.12&r2=1.13
^ permalink raw reply [flat|nested] 2+ messages in thread
* cygrunsrv ChangeLog crit.cc crit.h cygrunsrv.R ...
@ 2003-05-09 20:30 igor
0 siblings, 0 replies; 2+ messages in thread
From: igor @ 2003-05-09 20:30 UTC (permalink / raw)
To: cygwin-apps-cvs
CVSROOT: /cvs/cygwin-apps
Module name: cygrunsrv
Changes by: igor@sourceware.org 2003-05-09 20:30:48
Modified files:
. : ChangeLog crit.cc crit.h cygrunsrv.README
cygrunsrv.cc cygrunsrv.h utils.cc utils.h
Log message:
2003-05-08 Igor Pechtchanski <pechtcha@cs.nyu.edu>
* crit.cc: (set_service_controls_accepted) Add an
interactive_process parameter.
* crit.h: (set_service_controls_accepted) Ditto.
* cygrunsrv.cc: (longopts, opts) Add an "--interactive"
option.
(interactive) New global variable.
(install_registry_keys) Add an interactive parameter.
(get_reg_entries) Add an interactive_p parameter.
(install_service) Add an interactive parameter.
(service_main) Pass the interactive flag to get_reg_entries
and set_service_controls_accepted.
(main) Process the "--interactive" flag.
* cygrunsrv.cc: (PARAM_INTERACT) New registry key.
* utils.h: (reason_t) Add InteractiveNotAllowed and
OnlyOneInteractive values.
* utils.cc: (reason_list) Add description strings for
the InteractiveNotAllowed and OnlyOneInteractive values.
(usage) Add description of the "--interactive" option.
* cygrunsrv.README: Add description of the "--interactive"
option.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/ChangeLog.diff?cvsroot=cygwin-apps&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/crit.cc.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/crit.h.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/cygrunsrv.README.diff?cvsroot=cygwin-apps&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/cygrunsrv.cc.diff?cvsroot=cygwin-apps&r1=1.13&r2=1.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/cygrunsrv.h.diff?cvsroot=cygwin-apps&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/utils.cc.diff?cvsroot=cygwin-apps&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/cygrunsrv/utils.h.diff?cvsroot=cygwin-apps&r1=1.8&r2=1.9
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-22 16:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-22 16:34 cygrunsrv ChangeLog crit.cc crit.h cygrunsrv.R corinna
-- strict thread matches above, loose matches on Subject: below --
2003-05-09 20:30 igor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).