File: scrap.h

package info (click to toggle)
libvncserver 0.9.9%2Bdfsg2-6.1%2Bdeb8u3
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 5,528 kB
  • sloc: ansic: 38,454; sh: 9,297; makefile: 199
file content (18 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Handle clipboard text and data in arbitrary formats */

/* Miscellaneous defines */
#define T(A, B, C, D)	(int)((A<<24)|(B<<16)|(C<<8)|(D<<0))

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

extern int init_scrap(void);
extern int lost_scrap(void);
extern void put_scrap(int type, int srclen, const char *src);
extern void get_scrap(int type, int *dstlen, char **dst);
extern int clipboard_filter(const SDL_Event *event);

#ifdef __cplusplus
}
#endif /* __cplusplus */