File indexing completed on 2025-01-18 10:14:26
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 #ifndef _XMU_ATOMS_H_
0033 #define _XMU_ATOMS_H_
0034
0035 #include <X11/Intrinsic.h>
0036 #include <X11/Xfuncproto.h>
0037
0038 typedef struct _AtomRec *AtomPtr;
0039
0040 extern AtomPtr
0041 _XA_ATOM_PAIR,
0042 _XA_CHARACTER_POSITION,
0043 _XA_CLASS,
0044 _XA_CLIENT_WINDOW,
0045 _XA_CLIPBOARD,
0046 _XA_COMPOUND_TEXT,
0047 _XA_DECNET_ADDRESS,
0048 _XA_DELETE,
0049 _XA_FILENAME,
0050 _XA_HOSTNAME,
0051 _XA_IP_ADDRESS,
0052 _XA_LENGTH,
0053 _XA_LIST_LENGTH,
0054 _XA_NAME,
0055 _XA_NET_ADDRESS,
0056 _XA_NULL,
0057 _XA_OWNER_OS,
0058 _XA_SPAN,
0059 _XA_TARGETS,
0060 _XA_TEXT,
0061 _XA_TIMESTAMP,
0062 _XA_USER,
0063 _XA_UTF8_STRING;
0064
0065 #define XA_ATOM_PAIR(d) XmuInternAtom(d, _XA_ATOM_PAIR)
0066 #define XA_CHARACTER_POSITION(d) XmuInternAtom(d, _XA_CHARACTER_POSITION)
0067 #define XA_CLASS(d) XmuInternAtom(d, _XA_CLASS)
0068 #define XA_CLIENT_WINDOW(d) XmuInternAtom(d, _XA_CLIENT_WINDOW)
0069 #define XA_CLIPBOARD(d) XmuInternAtom(d, _XA_CLIPBOARD)
0070 #define XA_COMPOUND_TEXT(d) XmuInternAtom(d, _XA_COMPOUND_TEXT)
0071 #define XA_DECNET_ADDRESS(d) XmuInternAtom(d, _XA_DECNET_ADDRESS)
0072 #define XA_DELETE(d) XmuInternAtom(d, _XA_DELETE)
0073 #define XA_FILENAME(d) XmuInternAtom(d, _XA_FILENAME)
0074 #define XA_HOSTNAME(d) XmuInternAtom(d, _XA_HOSTNAME)
0075 #define XA_IP_ADDRESS(d) XmuInternAtom(d, _XA_IP_ADDRESS)
0076 #define XA_LENGTH(d) XmuInternAtom(d, _XA_LENGTH)
0077 #define XA_LIST_LENGTH(d) XmuInternAtom(d, _XA_LIST_LENGTH)
0078 #define XA_NAME(d) XmuInternAtom(d, _XA_NAME)
0079 #define XA_NET_ADDRESS(d) XmuInternAtom(d, _XA_NET_ADDRESS)
0080 #define XA_NULL(d) XmuInternAtom(d, _XA_NULL)
0081 #define XA_OWNER_OS(d) XmuInternAtom(d, _XA_OWNER_OS)
0082 #define XA_SPAN(d) XmuInternAtom(d, _XA_SPAN)
0083 #define XA_TARGETS(d) XmuInternAtom(d, _XA_TARGETS)
0084 #define XA_TEXT(d) XmuInternAtom(d, _XA_TEXT)
0085 #define XA_TIMESTAMP(d) XmuInternAtom(d, _XA_TIMESTAMP)
0086 #define XA_USER(d) XmuInternAtom(d, _XA_USER)
0087 #define XA_UTF8_STRING(d) XmuInternAtom(d, _XA_UTF8_STRING)
0088
0089 _XFUNCPROTOBEGIN
0090
0091 char *XmuGetAtomName
0092 (
0093 Display *dpy,
0094 Atom atom
0095 );
0096
0097 Atom XmuInternAtom
0098 (
0099 Display *dpy,
0100 AtomPtr atom_ptr
0101 );
0102
0103 void XmuInternStrings
0104 (
0105 Display *dpy,
0106 String *names,
0107 Cardinal count,
0108 Atom *atoms_return
0109 );
0110
0111 AtomPtr XmuMakeAtom
0112 (
0113 _Xconst char *name
0114 );
0115
0116 char *XmuNameOfAtom
0117 (
0118 AtomPtr atom_ptr
0119 );
0120
0121 _XFUNCPROTOEND
0122
0123 #endif