| # dcop Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# dcopglobal.h

    00001 /*
    00002    Copyright (c) 1999 Preston Brown <pbrown@kde.org>
    00003    Copyright (c) 1999 Matthias Ettrich <ettrich@kde.org>
    00004
    00005    Permission is hereby granted, free of charge, to any person obtaining a copy
    00006    of this software and associated documentation files (the "Software"), to deal
    00007    in the Software without restriction, including without limitation the rights
    00008    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    00009    copies of the Software, and to permit persons to whom the Software is
    00010    furnished to do so, subject to the following conditions:
    00011
    00012    The above copyright notice and this permission notice shall be included in
    00013    all copies or substantial portions of the Software.
    00014
    00015    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    00016    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    00017    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    00018    AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
    00019    AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
    00020    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    00021 */
    00022
    00023 #ifndef DCOPGLOBAL_H
    00024 #define DCOPGLOBAL_H "$Id: dcopglobal.h,v 1.27 2002/07/31 14:41:11 coolo Exp $"
    00025
    00026 #define INT32 QINT32
    00027 #ifdef Q_WS_X11
    00028 #include <X11/Xlib.h>
    00029 #include <X11/Xmd.h>
    00030 #endif
    00031 #include <KDE-ICE/ICElib.h>
    00032
    00033 #ifdef __cplusplus
    00034 extern "C" {
    00035 #endif
    00036
    00037 #include <KDE-ICE/ICEutil.h>
    00038 #include <KDE-ICE/ICEmsg.h>
    00039 #include <KDE-ICE/ICEproto.h>
    00040
    00041 #ifdef __cplusplus
    00042 }
    00043 #endif
    00044
    00045 #define DCOPVendorString "KDE"
    00046 #define DCOPReleaseString "2.0"
    00047 #define DCOPVersionMajor 2
    00048 #define DCOPVersionMinor 0
    00049
    00050 #define DCOPSend 1
    00051 #define DCOPCall 2
    00052 #define DCOPReply 3
    00053 #define DCOPReplyFailed 4
    00054 #define DCOPReplyWait 5
    00055 #define DCOPReplyDelayed 6
    00056 #define DCOPFind 7
    00057
    00058 #ifdef __cplusplus
    00059 extern "C" {
    00060 #endif
    00061 extern IcePoAuthStatus _KDE_IcePoMagicCookie1Proc (IceConn, void **, int, int, int, void *, int *, void **, char **);
    00062 extern IcePaAuthStatus _KDE_IcePaMagicCookie1Proc (IceConn, void **, int, int, void *, int *, void **, char **);
    00063 #ifdef __cplusplus
    00064 }
    00065 #endif
    00066 /* these 4 below are static, otherwise build with --disable-shared will fail */
    00067 static IcePoAuthProc DCOPClientAuthProcs[] = {_KDE_IcePoMagicCookie1Proc};
    00068 static IcePaAuthProc DCOPServerAuthProcs[] = {_KDE_IcePaMagicCookie1Proc};
    00069 static int DCOPAuthCount = 1;
    00070 static const char *DCOPAuthNames[] = {"MIT-MAGIC-COOKIE-1"};
    00071
    00075 struct DCOPMsg {
    00076   CARD8 majorOpcode;
    00077   CARD8 minorOpcode;
    00078   CARD8 data[2];
    00079   CARD32 length B32;
    00080   CARD32 key;
    00081 };
    00082
    00083 #endif

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 12:42:41 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001