/*====================================================================*
*
* session.c - global session variable declaration;
*
* session.h
*
*
*. Atheros Powerline Toolkit for HomePlug AV;
*: Published 2006-2009 by Intellon Corp. ALL RIGHTS RESERVED;
*; For demonstration; Not for production use;
*
*--------------------------------------------------------------------*/
#ifndef SESSION_SOURCE
#define SESSION_SOURCE
/*====================================================================*
* system header files;
*--------------------------------------------------------------------*/
#include <stdlib.h>
#include <unistd.h>
#include <memory.h>
#include <errno.h>
/*====================================================================*
* custom header files;
*--------------------------------------------------------------------*/
#include "../tools/number.h"
#include "../tools/memory.h"
#include "../tools/files.h"
#include "../cgi/session.h"
#include "../cgi/page.h"
/*====================================================================*
*
*--------------------------------------------------------------------*/
struct fileinfo pib;
struct fileinfo nvm;
/*====================================================================*
*
*--------------------------------------------------------------------*/
struct message message;
/*====================================================================*
* custom variables;
*--------------------------------------------------------------------*/
struct session session =
{
OPTION_TOPOLOGY,
"",
SESSION_NIC,
{
{
{
0x00,
0xB0,
0x52,
0x00,
0x00,
0x01
}
}
},
0,
{
},
{
"HomePlugAV"
},
{
"HomePlugAV"
},
{
{
2000000,
2000000,
3000000,
3000000
},
{
1,
1
},
{
1,
2,
3,
0,
0,
0,
0,
0
},
{
0,
0,
0,
0,
0,
0,
0,
0
},
}
};
/*====================================================================*
*
*--------------------------------------------------------------------*/
#endif