taskrambler  0.1.9
Web server and task management solution.
serializable.c File Reference
#include "class.h"
#include "interface/serializable.h"
+ Include dependency graph for serializable.c:

Go to the source code of this file.

Functions

void serialize (void *serializable, unsigned char **serialized, size_t *nserialized)
 
void unserialize (void *serializable, const unsigned char *serialized, size_t nserialized)
 

Variables

const struct interface i_Serializable
 

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 serializable.c.

Function Documentation

void serialize ( void *  serializable,
unsigned char **  serialized,
size_t *  nserialized 
)

Definition at line 32 of file serializable.c.

References CALL.

Referenced by applicationCreateUser(), applicationLogin(), and applicationUpdateUser().

36 {
37  CALL(serializable, Serializable, serialize, serialized, nserialized);
38 }
void serialize(void *serializable, unsigned char **serialized, size_t *nserialized)
Definition: serializable.c:32
#define CALL(object, _iface, method,...)
Definition: class/class.h:106

+ Here is the caller graph for this function:

void unserialize ( void *  serializable,
const unsigned char *  serialized,
size_t  nserialized 
)

Definition at line 41 of file serializable.c.

References CALL.

Referenced by applicationGetUser(), and applicationLogin().

45 {
46  CALL(serializable, Serializable, unserialize, serialized, nserialized);
47 }
#define CALL(object, _iface, method,...)
Definition: class/class.h:106
void unserialize(void *serializable, const unsigned char *serialized, size_t nserialized)
Definition: serializable.c:41

+ Here is the caller graph for this function:

Variable Documentation

const struct interface i_Serializable
Initial value:
= {
"serializable",
2
}

Definition at line 26 of file serializable.c.