28#ifndef __FREEWRL_PLUGIN_UTILS_H__
29#define __FREEWRL_PLUGIN_UTILS_H__
37#define SMALLSTRINGSIZE 64
39#define LARGESTRINGSIZE 256
41#define PLUGIN_PORT 2009
42#define PLUGIN_TIMEOUT_SEC 10
43#define PLUGIN_TIMEOUT_NSEC 0
50#define SOCKET_ERROR -1000
52#define SIGNAL_ERROR -1001
54#define UNUSED(v) ((void) v)
58 char url[FILENAME_MAX];
60 unsigned int notifyCode;
64const char* XEventToString(
int type);
65const char* XErrorToString(
int error);
67void URLencod (
char *dest,
const char *src,
int maxlen);
70void sendXwinToPlugin(
void);