taskrambler  0.1.8
Web server and task management solution.
session_start.c File Reference
#include <stdlib.h>
#include <sys/types.h>
#include "class.h"
#include "session.h"
#include "hash.h"
#include "application/application.h"
#include "utils/memory.h"
+ Include dependency graph for session_start.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

Session applicationSessionStart (Application this)
 

Detailed Description

Author
Georg Hopp

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file session_start.c.

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 23 of file session_start.c.

Function Documentation

Session applicationSessionStart ( Application  this)

Definition at line 36 of file session_start.c.

References hashAdd().

Referenced by applicationAdapterHttpUpdate().

37 {
38  Session sess = new(Session);
39 
40  hashAdd((this->active_sessions)[0], sess);
41 
42  return sess;
43 }
void * hashAdd(Hash, void *)
Definition: add.c:48

+ Here is the call graph for this function:

+ Here is the caller graph for this function: