Back to index

im-sdk  12.3.91
Classes | Defines | Typedefs
IIIMPClient.hh File Reference
#include "IMList.hh"
#include "CompoundString.hh"
#include "IIIMProtocol.hh"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IIimpProtoHdr
class  IIIMPClient

Defines

#define req_put8(p, d)   (*((CARD8 *)(p)) = (d), (p) += 1)
#define req_put16(p, d)   (*((CARD16 *)(p)) = (d), (p) += 2)
#define req_put32(p, d)   (*((CARD32 *)(p)) = (d), (p) += 4)
#define req_put8s(p, d)   (*((CARD8 *)(p)) = (d), (p) += 1)
#define req_put16s(p, d)   (*((CARD16 *)(p)) = req_swap16(d), (p) += 2)
#define req_put32s(p, d)   (*((CARD32 *)(p)) = req_swap32(d), (p) += 4)
#define req_get8(p, d)   ((d) = *((CARD8 *)(p)), (p) += 1)
#define req_get16(p, d)   ((d) = *((CARD16 *)(p)), (p) += 2)
#define req_get32(p, d)   ((d) = *((CARD32 *)(p)), (p) += 4)
#define req_get8s(p, d)   ((d) = *((CARD8 *)(p)), (p) += 1)
#define req_get16s(p, d)   ((d) = req_swap16(*((CARD16 *)(p))), (p) += 2)
#define req_get32s(p, d)   ((d) = req_swap32(*((CARD32 *)(p))), (p) += 4)
#define req_swap16(n)
#define req_swap32(n)

Typedefs

typedef struct _FrameMgrFrameMgr
typedef struct _XimFrameXimFrame
typedef unsigned int CARD32
typedef unsigned short CARD16
typedef unsigned char CARD8

Class Documentation

struct IIimpProtoHdr

Definition at line 68 of file IIIMPClient.hh.

Class Members
unsigned char length
unsigned char opcode

Define Documentation

#define req_get16 (   p,
  d 
)    ((d) = *((CARD16 *)(p)), (p) += 2)

Definition at line 342 of file IIIMPClient.hh.

#define req_get16s (   p,
  d 
)    ((d) = req_swap16(*((CARD16 *)(p))), (p) += 2)

Definition at line 346 of file IIIMPClient.hh.

#define req_get32 (   p,
  d 
)    ((d) = *((CARD32 *)(p)), (p) += 4)

Definition at line 343 of file IIIMPClient.hh.

#define req_get32s (   p,
  d 
)    ((d) = req_swap32(*((CARD32 *)(p))), (p) += 4)

Definition at line 347 of file IIIMPClient.hh.

#define req_get8 (   p,
  d 
)    ((d) = *((CARD8 *)(p)), (p) += 1)

Definition at line 341 of file IIIMPClient.hh.

#define req_get8s (   p,
  d 
)    ((d) = *((CARD8 *)(p)), (p) += 1)

Definition at line 345 of file IIIMPClient.hh.

#define req_put16 (   p,
  d 
)    (*((CARD16 *)(p)) = (d), (p) += 2)

Definition at line 334 of file IIIMPClient.hh.

#define req_put16s (   p,
  d 
)    (*((CARD16 *)(p)) = req_swap16(d), (p) += 2)

Definition at line 338 of file IIIMPClient.hh.

#define req_put32 (   p,
  d 
)    (*((CARD32 *)(p)) = (d), (p) += 4)

Definition at line 335 of file IIIMPClient.hh.

#define req_put32s (   p,
  d 
)    (*((CARD32 *)(p)) = req_swap32(d), (p) += 4)

Definition at line 339 of file IIIMPClient.hh.

#define req_put8 (   p,
  d 
)    (*((CARD8 *)(p)) = (d), (p) += 1)

Definition at line 333 of file IIIMPClient.hh.

#define req_put8s (   p,
  d 
)    (*((CARD8 *)(p)) = (d), (p) += 1)

Definition at line 337 of file IIIMPClient.hh.

#define req_swap16 (   n)
Value:
((((n) <<  8) & 0x0000ff00) |      \
                      (((n) >>  8) & 0x000000ff))

Definition at line 349 of file IIIMPClient.hh.

#define req_swap32 (   n)
Value:
((((n) << 24) & 0xff000000) |      \
                      (((n) <<  8) & 0x00ff0000) |      \
                      (((n) >>  8) & 0x0000ff00) |      \
                      (((n) >> 24) & 0x000000ff))

Definition at line 351 of file IIIMPClient.hh.


Typedef Documentation

typedef unsigned short CARD16

Definition at line 328 of file IIIMPClient.hh.

typedef unsigned int CARD32

Definition at line 327 of file IIIMPClient.hh.

typedef unsigned char CARD8

Definition at line 329 of file IIIMPClient.hh.

typedef struct _FrameMgr* FrameMgr

Definition at line 65 of file IIIMPClient.hh.

typedef struct _XimFrame* XimFrame

Definition at line 66 of file IIIMPClient.hh.