Index: ossp-pkg/rc/rc_const.h RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_const.h,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/rc/rc_const.h,v' | diff -u /dev/null - -L'ossp-pkg/rc/rc_const.h' 2>/dev/null --- ossp-pkg/rc/rc_const.h +++ - 2024-05-05 07:08:24.891664393 +0200 @@ -0,0 +1,66 @@ +/* rc - OSSP Run-command processor +** Copyright (c) 2002 Cable & Wireless Deutschland GmbH +** Copyright (c) 2002 The OSSP Project +** Copyright (c) 2002 Ralf S. Engelschall +** +** This file is part of OSSP rc, a portable Run-command processor +** which can be found at http://www.ossp.org/pkg/rc/ +** +** Permission to use, copy, modify, and distribute this software for +** any purpose with or without fee is hereby granted, provided that +** the above copyright notice and this permission notice appear in all +** copies. +** +** THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +** WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +** IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +** CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +** USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +** ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +** OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +** SUCH DAMAGE. +** +** rc_const.h: Run-command processor ISO C public header file +*/ + +#ifndef __OSSPRC_CONST_H__ +#define __OSSPRC_CONST_H__ + +/* Option descriptions used with popt */ +#define RC_USE_DESC "Print a short usage summary, then exit." +#define RC_DBG_DESC "Don't remove temporary files, and write debug messages to stderr." +#define RC_VER_DESC "Print the version and copyright, then exit." +#define RC_EVL_DESC "Output the command(s) in a format suitable for shell evaluation, but do not run them." +#define RC_HLP_DESC "Print this help, then exit." +#define RC_INF_DESC "Print a comprehensive summary of the rc environment." +#define RC_LBL_DESC "Learn what section labels a rcfile has." +#define RC_PRN_DESC "Output the command(s) in a format suitable for human reading, but do not run them." +#define RC_SIL_DESC "Be silent, and disable output to stdout." +#define RC_RAW_DESC "Output text using no terminal control sequences." +#define RC_VRB_DESC "Output text verbosely." +#define RC_EXC_DESC "Execute the commands through an interpreter." + +#define RC_LOC_DESC "Specifiy the location(s) to search for rcfiles, and ignore parts according to the regex." +#define RC_CNF_DESC "Specify the location(s) of the configuration files." +#define RC_FNC_DESC "Specify the single location of the extra functions file." +#define RC_QRY_DESC "Query the effective value of configuration variables." +#define RC_TMP_DESC "Specify the single location for temporary files." + +#define RC_OWN_DESC "Username used to verify run command rights at runtime." +#define RC_GRP_DESC "Group name used to verify run command rights at runtime." +#define RC_MSK_DESC "Umask used to verify run command rights at runtime." +#define RC_ASS_DESC "Regex used to match name value assignments in a rcfile." +#define RC_DEF_DESC "Regex used to match a section label in a rcfile." +#define RC_REF_DESC "Regex used to match a section reference in a rcfile." +#define RC_PRM_DESC "Regex used to match the parameter(s) of a section label." +#define RC_TRM_DESC "Regex used to match the terminal(s) in a rcfile." +#define RC_NCF_DESC "Name of the config section in a rcfile." +#define RC_CMN_DESC "Name of the common section in a rcfile." +#define RC_DFL_DESC "Name of the default section in a rcfile." +#define RC_ERR_DESC "Name of the error section in a rcfile." + +#endif /* __OSSPRC_CONST_H__ */ Index: ossp-pkg/rc/rc_p.h RCS File: /v/ossp/cvs/ossp-pkg/rc/Attic/rc_p.h,v co -q -kk -p'1.4' '/v/ossp/cvs/ossp-pkg/rc/Attic/rc_p.h,v' | diff -u - /dev/null -L'ossp-pkg/rc/rc_p.h' 2>/dev/null --- ossp-pkg/rc/rc_p.h +++ /dev/null 2024-05-05 07:07:55.000000000 +0200 @@ -1,70 +0,0 @@ -/* rc - OSSP Run-command processor -** Copyright (c) 2002 Cable & Wireless Deutschland GmbH -** Copyright (c) 2002 The OSSP Project -** Copyright (c) 2002 Ralf S. Engelschall -** -** This file is part of OSSP rc, a portable Run-command processor -** which can be found at http://www.ossp.org/pkg/rc/ -** -** Permission to use, copy, modify, and distribute this software for -** any purpose with or without fee is hereby granted, provided that -** the above copyright notice and this permission notice appear in all -** copies. -** -** THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED -** WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -** IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR -** CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -** USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -** ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -** OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT -** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -** SUCH DAMAGE. -** -** rc_p.h: Run-command processor ISO C private API header file -*/ - -#ifndef __OSSPRC_P_H__ -#define __OSSPRC_P_H__ - -#include "rc_config.h" - -#ifdef HAVE_SYS_TIME_H /* must come after include rc_config.h */ -#include -#endif - -/* Option values used with popt */ -#define RC_USE_VAL 32 -#define RC_DBG_VAL 33 -#define RC_VER_VAL 34 -#define RC_EVL_VAL 35 -#define RC_HLP_VAL 36 -#define RC_INF_VAL 37 -#define RC_LBL_VAL 38 -#define RC_PRN_VAL 39 -#define RC_SIL_VAL 40 -#define RC_RAW_VAL 41 -#define RC_VRB_VAL 42 -#define RC_EXC_VAL 43 -#define RC_LOC_VAL 44 -#define RC_CNF_VAL 45 -#define RC_FNC_VAL 46 -#define RC_QRY_VAL 47 -#define RC_TMP_VAL 48 -#define RC_OWN_VAL 49 -#define RC_GRP_VAL 50 -#define RC_MSK_VAL 51 -#define RC_ASS_VAL 52 -#define RC_DEF_VAL 53 -#define RC_REF_VAL 54 -#define RC_PRM_VAL 55 -#define RC_TRM_VAL 56 -#define RC_NCF_VAL 57 -#define RC_CMN_VAL 58 -#define RC_DFL_VAL 59 -#define RC_ERR_VAL 60 - -#endif /* __OSSPRC_P_H__ */ Index: ossp-pkg/rc/rc_private.h RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_private.h,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/rc/rc_private.h,v' | diff -u /dev/null - -L'ossp-pkg/rc/rc_private.h' 2>/dev/null --- ossp-pkg/rc/rc_private.h +++ - 2024-05-05 07:08:24.897179103 +0200 @@ -0,0 +1,39 @@ +/* rc - OSSP Run-command processor +** Copyright (c) 2002 Cable & Wireless Deutschland GmbH +** Copyright (c) 2002 The OSSP Project +** Copyright (c) 2002 Ralf S. Engelschall +** +** This file is part of OSSP rc, a portable Run-command processor +** which can be found at http://www.ossp.org/pkg/rc/ +** +** Permission to use, copy, modify, and distribute this software for +** any purpose with or without fee is hereby granted, provided that +** the above copyright notice and this permission notice appear in all +** copies. +** +** THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +** WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +** IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +** CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +** USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +** ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +** OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +** SUCH DAMAGE. +** +** rc_private.h: Run-command processor ISO C private API header file +*/ + +#ifndef __OSSPRC_P_H__ +#define __OSSPRC_P_H__ + +#include "rc_config.h" + +#ifdef HAVE_SYS_TIME_H /* must come after include rc_config.h */ +#include +#endif + +#endif /* __OSSPRC_P_H__ */ Index: ossp-pkg/rc/rc_strings.h RCS File: /v/ossp/cvs/ossp-pkg/rc/Attic/rc_strings.h,v co -q -kk -p'1.2' '/v/ossp/cvs/ossp-pkg/rc/Attic/rc_strings.h,v' | diff -u - /dev/null -L'ossp-pkg/rc/rc_strings.h' 2>/dev/null --- ossp-pkg/rc/rc_strings.h +++ /dev/null 2024-05-05 07:07:55.000000000 +0200 @@ -1,66 +0,0 @@ -/* rc - OSSP Run-command processor -** Copyright (c) 2002 Cable & Wireless Deutschland GmbH -** Copyright (c) 2002 The OSSP Project -** Copyright (c) 2002 Ralf S. Engelschall -** -** This file is part of OSSP rc, a portable Run-command processor -** which can be found at http://www.ossp.org/pkg/rc/ -** -** Permission to use, copy, modify, and distribute this software for -** any purpose with or without fee is hereby granted, provided that -** the above copyright notice and this permission notice appear in all -** copies. -** -** THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED -** WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -** IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR -** CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -** USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -** ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -** OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT -** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -** SUCH DAMAGE. -** -** rc_strings.h: Run-command processor ISO C public header file -*/ - -#ifndef __OSSPRC_STRINGS_H__ -#define __OSSPRC_STRINGS_H__ - -/* Option descriptions used with popt */ -#define RC_USE_DESC "Print a short usage summary, then exit." -#define RC_DBG_DESC "Don't remove temporary files, and write debug messages to stderr." -#define RC_VER_DESC "Print the version and copyright, then exit." -#define RC_EVL_DESC "Output the command(s) in a format suitable for shell evaluation, but do not run them." -#define RC_HLP_DESC "Print this help, then exit." -#define RC_INF_DESC "Print a comprehensive summary of the rc environment." -#define RC_LBL_DESC "Learn what section labels a rcfile has." -#define RC_PRN_DESC "Output the command(s) in a format suitable for human reading, but do not run them." -#define RC_SIL_DESC "Be silent, and disable output to stdout." -#define RC_RAW_DESC "Output text using no terminal control sequences." -#define RC_VRB_DESC "Output text verbosely." -#define RC_EXC_DESC "Execute the commands through an interpreter." - -#define RC_LOC_DESC "Specifiy the location(s) to search for rcfiles, and ignore parts according to the regex." -#define RC_CNF_DESC "Specify the location(s) of the configuration files." -#define RC_FNC_DESC "Specify the single location of the extra functions file." -#define RC_QRY_DESC "Query the effective value of configuration variables." -#define RC_TMP_DESC "Specify the single location for temporary files." - -#define RC_OWN_DESC "Username used to verify run command rights at runtime." -#define RC_GRP_DESC "Group name used to verify run command rights at runtime." -#define RC_MSK_DESC "Umask used to verify run command rights at runtime." -#define RC_ASS_DESC "Regex used to match name value assignments in a rcfile." -#define RC_DEF_DESC "Regex used to match a section label in a rcfile." -#define RC_REF_DESC "Regex used to match a section reference in a rcfile." -#define RC_PRM_DESC "Regex used to match the parameter(s) of a section label." -#define RC_TRM_DESC "Regex used to match the terminal(s) in a rcfile." -#define RC_NCF_DESC "Name of the config section in a rcfile." -#define RC_CMN_DESC "Name of the common section in a rcfile." -#define RC_DFL_DESC "Name of the default section in a rcfile." -#define RC_ERR_DESC "Name of the error section in a rcfile." - -#endif /* __OSSPRC_STRINGS_H__ */