void TcpListener::getMyAddresses(std::list<char*>* result) {
#if defined(HAVE_GETADDRINFO) && defined(HAVE_INET_PTON)
- vnc_sockaddr_t sa;
struct addrinfo *ai, *current, hints;
memset(&hints, 0, sizeof(struct addrinfo));
rdr::UBPP colour;
int count;
- rdr::UBPP c0, c1, ci = 0;
- int i, n0, n1, ni;
-
info->rleRuns = 0;
info->palette.clear();
{
if (needSetCursor) {
rdr::U8* data;
- int stride;
const Cursor& cursor = cp->cursor();
int length;
const rdr::U8* buffer;
- int stride, w, h;
+ int stride, h;
os = conn->getOutStream();
void VNCSConnectionST::handleRTTPong(const struct RTTInfo &rttInfo)
{
unsigned rtt, delay;
- int bdp;
pingCounter--;
return true;
}
- int err = GetLastError();
-
return false;
}
int orig_tx, orig_ty;
int half_width, full_width;
- int width, height;
+ int height;
tx += OUTER_MARGIN;
ty += OUTER_MARGIN;
tx += GROUP_MARGIN;
ty += GROUP_MARGIN;
- width = encodingGroup->w() - GROUP_MARGIN * 2;
-
tightButton = new Fl_Round_Button(LBLRIGHT(tx, ty,
RADIO_MIN_WIDTH,
RADIO_HEIGHT,
tx += GROUP_MARGIN;
ty += GROUP_MARGIN;
- width = colorlevelGroup->w() - GROUP_MARGIN * 2;
-
fullcolorCheckbox = new Fl_Round_Button(LBLRIGHT(tx, ty,
RADIO_MIN_WIDTH,
RADIO_HEIGHT,
int major, minor;
Bool pixmaps;
XErrorHandler old_handler;
- Status status;
const char *display_name = XDisplayName (NULL);
/* Don't use MIT-SHM on remote displays */
{
int cur = 0;
int max = sizeof(keysymtab) / sizeof(struct codepair) - 1;
- int mid;
/* first check for Latin-1 characters (1:1 mapping) */
if ((ucs >= 0x0020 && ucs <= 0x007e) ||
char readError[buffersize*2];
char line[buffersize];
char decodingBuffer[buffersize];
- char decodedValue[buffersize];
static char servername[sizeof(line)];
// Load from the registry or a predefined file if no filename was specified.