#ifndef _VNC_CAPSCONTAINER
#define _VNC_CAPSCONTAINER
FIXME:
#define TIGHTVNC_MAX_CAPS 64
typedef struct _CapsContainer
{
int known_count;
CARD32 known_list[TIGHTVNC_MAX_CAPS];
rfbCapabilityInfo known_info[TIGHTVNC_MAX_CAPS];
char *descriptions[TIGHTVNC_MAX_CAPS];
char enable_flags[TIGHTVNC_MAX_CAPS];
int enabled_count;
CARD32 enabled_list[TIGHTVNC_MAX_CAPS];
} CapsContainer;
CapsContainer *CapsNewContainer(void);
void CapsDeleteContainer(CapsContainer *pcaps);
void CapsAdd(CapsContainer *pcaps,
CARD32 code, char *vendor, char *name, char *desc);
void CapsAddInfo(CapsContainer *pcaps,
rfbCapabilityInfo *capinfo, char *desc);
Bool CapsIsKnown(CapsContainer *pcaps, CARD32 code);
Bool CapsGetInfo(CapsContainer *pcaps, CARD32 code,
rfbCapabilityInfo *capinfo);
char *CapsGetDescription(CapsContainer *pcaps, CARD32 code);
Bool CapsEnable(CapsContainer *pcaps, rfbCapabilityInfo *capinfo);
Bool CapsIsEnabled(CapsContainer *pcaps, CARD32 code);
int CapsNumEnabled(CapsContainer *pcaps);
CARD32 CapsGetByOrder(CapsContainer *pcaps, int idx);
#endif