dcop Library API Documentation

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 344662 2004-09-07 11:54:40Z dfaure $"
00025 
00026 
00027 #define DCOPVendorString "KDE"
00028 #define DCOPReleaseString "2.0"
00029 #define DCOPVersionMajor 2
00030 #define DCOPVersionMinor 0
00031 
00032 #define DCOPSend 1
00033 #define DCOPCall 2
00034 #define DCOPReply 3
00035 #define DCOPReplyFailed 4
00036 #define DCOPReplyWait 5
00037 #define DCOPReplyDelayed 6
00038 #define DCOPFind 7
00039 
00040 #ifdef Q_OS_UNIX
00041 
00042 #define INT32 QINT32
00043 #ifdef Q_WS_X11
00044 #include <X11/Xlib.h>
00045 #include <X11/Xmd.h>
00046 #endif
00047 #include <KDE-ICE/ICElib.h>
00048 
00049 #ifdef __cplusplus
00050 extern "C" {
00051 #endif
00052 
00053 #include <KDE-ICE/ICEutil.h>
00054 #include <KDE-ICE/ICEmsg.h>
00055 #include <KDE-ICE/ICEproto.h>
00056 
00057 #ifdef __cplusplus
00058 }
00059 #endif
00060 
00061 #ifdef __cplusplus
00062 extern "C" {
00063 #endif
00064 extern IcePoAuthStatus _kde_IcePoMagicCookie1Proc (IceConn, void **, int, int, int, void *, int *, void **, char **);
00065 extern IcePaAuthStatus _kde_IcePaMagicCookie1Proc (IceConn, void **, int, int, void *, int *, void **, char **);
00066 #ifdef __cplusplus
00067 }
00068 #endif
00069 /* these 4 below are static, otherwise build with --disable-shared will fail */
00070 static IcePoAuthProc DCOPClientAuthProcs[] = {_kde_IcePoMagicCookie1Proc};
00071 static IcePaAuthProc DCOPServerAuthProcs[] = {_kde_IcePaMagicCookie1Proc};
00072 static int DCOPAuthCount = 1;
00073 static const char *DCOPAuthNames[] = {"MIT-MAGIC-COOKIE-1"};
00074 
00078 struct DCOPMsg {
00079   CARD8 majorOpcode;
00080   CARD8 minorOpcode;
00081   CARD8 data[2];
00082   CARD32 length B32;
00083   CARD32 key;
00084 };
00085 
00086 #endif /* Q_OS_UNIX */
00087 
00088 #endif
KDE Logo
This file is part of the documentation for dcop Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 8 06:21:42 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003