2011-01-23 15:15:30 +01:00
|
|
|
/*
|
|
|
|
* This file is a part of Winix
|
|
|
|
* and is not publicly distributed
|
|
|
|
*
|
2011-06-21 23:24:49 +02:00
|
|
|
* Copyright (c) 2010-2011, Tomasz Sowa
|
2011-01-23 15:15:30 +01:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef headerfile_winix_core_cur
|
|
|
|
#define headerfile_winix_core_cur
|
|
|
|
|
|
|
|
#include "request.h"
|
|
|
|
#include "session.h"
|
2011-06-21 23:24:49 +02:00
|
|
|
#include "mount.h"
|
2011-01-23 15:15:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
current request and session
|
|
|
|
*/
|
|
|
|
struct Cur
|
|
|
|
{
|
|
|
|
Request * request;
|
|
|
|
Session * session;
|
2011-06-21 23:24:49 +02:00
|
|
|
Mount * mount;
|
2011-01-23 15:15:30 +01:00
|
|
|
|
|
|
|
// those pointers are never null, if there is no a session for the user
|
|
|
|
// the 'session' pointer pointers at a special temporary session
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|