added winix functions: ln winix function 'default' can be used without redirecting now added new tickets types: TypeProgress, TypeString, TypeMultistring, TypeImages, TypeFiles now tickets are combined with files added winix functions: showtickets fixed mountpoints: when the default root mount was created its parameter table was empty and it caused accessing to a non-existing objects fixed logger: modifiers (log1, log2, log3) were incorrectly treated added modifier: log4 (debug info) now we are moving threads to a new plugin 'thread' created directory: plugins/thread (not finished yet) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@704 e52654a7-88a9-db11-a3e9-0013d4bc506e
56 lines
789 B
C
Executable File
56 lines
789 B
C
Executable File
/*
|
|
* This file is a part of Winix
|
|
* and is not publicly distributed
|
|
*
|
|
* Copyright (c) 2010, Tomasz Sowa
|
|
* All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#ifndef headerfile_winix_db_dbitemcolumns
|
|
#define headerfile_winix_db_dbitemcolumns
|
|
|
|
|
|
#include <libpq-fe.h>
|
|
#include "core/item.h"
|
|
|
|
|
|
|
|
|
|
struct DbItemColumns
|
|
{
|
|
int id;
|
|
int user_id;
|
|
int group_id;
|
|
int privileges;
|
|
int date_creation;
|
|
int date_modification;
|
|
int url;
|
|
int type;
|
|
int parent_id;
|
|
int content_id;
|
|
int link_to;
|
|
int link_redirect;
|
|
int subject;
|
|
int content;
|
|
int content_type;
|
|
int guest_name;
|
|
int modification_user_id;
|
|
int html_template;
|
|
int file_path;
|
|
int file_fs;
|
|
int file_type;
|
|
int has_thumb;
|
|
int ref;
|
|
int modify_index;
|
|
|
|
void SetColumns(PGresult * r);
|
|
void SetItem(PGresult * r, long row, Item & item);
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|