version 1.12, 2003/04/25 01:02:47
|
version 1.16, 2004/08/23 11:40:32
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2003//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// The Open Group, Tivoli Systems |
// Company, L. P., IBM Corp., The Open Group, Tivoli Systems. |
|
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
|
// IBM Corp.; EMC Corporation, The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
# define PEGASUS_SIGHUP SIGHUP | # define PEGASUS_SIGHUP SIGHUP |
# define PEGASUS_SIGABRT SIGABRT | # define PEGASUS_SIGABRT SIGABRT |
# define PEGASUS_SIGPIPE SIGPIPE | # define PEGASUS_SIGPIPE SIGPIPE |
|
# define PEGASUS_SIGTERM SIGTERM |
# define PEGASUS_SIGUSR1 SIGUSR1 | # define PEGASUS_SIGUSR1 SIGUSR1 |
|
# define PEGASUS_SIGCHLD SIGCHLD |
| |
#else // PEGASUS_HAS_SIGNALS | #else // PEGASUS_HAS_SIGNALS |
| |
|
|
# define PEGASUS_SIGHUP 1 | # define PEGASUS_SIGHUP 1 |
# define PEGASUS_SIGABRT 11 | # define PEGASUS_SIGABRT 11 |
# define PEGASUS_SIGPIPE 13 | # define PEGASUS_SIGPIPE 13 |
|
# define PEGASUS_SIGTERM 15 |
# define PEGASUS_SIGUSR1 16 | # define PEGASUS_SIGUSR1 16 |
|
# define PEGASUS_SIGCHLD 18 |
| |
#endif // PEGASUS_HAS_SIGNALS | #endif // PEGASUS_HAS_SIGNALS |
| |
| |
#if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) |
#if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) || (PEGASUS_OS_SOLARIS) |
extern "C" { | extern "C" { |
#endif | #endif |
| |
typedef void (* signal_handler)(int, PEGASUS_SIGINFO_T *, void *); | typedef void (* signal_handler)(int, PEGASUS_SIGINFO_T *, void *); |
| |
#if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) |
#if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) || (PEGASUS_OS_SOLARIS) |
} | } |
#endif | #endif |
| |