1 |
/* |
/* |
2 |
rdesktop: A Remote Desktop Protocol client. |
rdesktop: A Remote Desktop Protocol client. |
3 |
Miscellaneous protocol constants |
Miscellaneous protocol constants |
4 |
Copyright (C) Matthew Chapman 1999-2000 |
Copyright (C) Matthew Chapman 1999-2002 |
5 |
|
|
6 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
251 |
|
|
252 |
#define MapLocalStateMask (1<<10) |
#define MapLocalStateMask (1<<10) |
253 |
|
|
254 |
|
#define MapInhibitMask (1<<11) |
255 |
|
|
256 |
#define MASK_ADD_BITS(var, mask) (var |= mask) |
#define MASK_ADD_BITS(var, mask) (var |= mask) |
257 |
#define MASK_REMOVE_BITS(var, mask) (var &= ~mask) |
#define MASK_REMOVE_BITS(var, mask) (var &= ~mask) |
258 |
#define MASK_HAS_BITS(var, mask) ((var & mask)>0) |
#define MASK_HAS_BITS(var, mask) ((var & mask)>0) |