#ifndef _WIACLIENTSM_INFO_H
#define _WIACLIENTSM_INFO_H

#define BUF_SIZE sizeof(WIAClientLibObjects)
#define WIACLIENT_SM_NAME "WIAClientSharedMemoryFile"

#define NO_VALID_FRAME -1
#define VALID_FRAME_OK 1

#ifndef _WIACLIENT_H
typedef unsigned char       BYTE;
#define BUFJPEG_LENGTH 100000
typedef struct wiaclient_data_t
{
	int jpeg_stream_len;
	BYTE jpeg_stream_data[BUFJPEG_LENGTH];
} wiaclient_data;

//-------------------------------------
#endif
typedef struct WIAClientLibObjects_t
{
	bool is_wiaclient_connected;
	unsigned long id;
	timeval t;
	double sec;
	wiaclient_data data;
} WIAClientLibObjects;
#endif

