Permalink
Fetching contributors…
Cannot retrieve contributors at this time
/** | |
* private.h | |
* | |
* Data structure used for mod_virgule thread private data | |
*/ | |
/* | |
Copyright (c) 2005 by R. Steven Rainwater <steve@ncc.com> | |
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 2 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, write to the Free Software | |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
*/ | |
typedef struct _Topic Topic; | |
typedef struct _NavOption NavOption; | |
typedef struct _AllowedTag AllowedTag; | |
typedef struct virgule_private virgule_private_t; | |
struct virgule_private { | |
apr_pool_t *pool; /* Thread private memory pool */ | |
apr_time_t mtime; /* Time of last CFG modification */ | |
unsigned long count; /* Thread request counter */ | |
const char *site_name; | |
const char *base_uri; | |
const char *base_path; /* Path to virgule DB in apache config */ | |
const char *admin_email; | |
const char *google_analytics; | |
int recentlog_as_posted; | |
const char **cert_level_names; | |
const char **editors; /* editors - article posting */ | |
const char **seeds; | |
const int *caps; | |
const char **special_users; | |
const char **trans; | |
char *tmetric; /* Trust metric cache */ | |
apr_time_t tm_mtime; /* Time of last tmetric change */ | |
apr_pool_t *tm_pool; /* Subpool used for tmetric cache */ | |
int render_diaryratings; | |
int allow_account_creation; | |
int allow_account_extendedcharset; | |
int use_article_title_links; | |
int use_article_topics; | |
int article_post_by_editors_only; | |
int article_title_maxsize; | |
int article_days_to_edit; | |
int level_articlepost; | |
int level_articlereply; | |
int level_projectcreate; | |
int level_blogsyndicate; | |
int acct_spam_threshold; | |
long utc_offset; /* Local offset of from UTC in seconds */ | |
const Topic **topics; | |
const NavOption **nav_options; | |
const AllowedTag **allowed_tags; | |
enum { | |
PROJSTYLE_RAPH, | |
PROJSTYLE_NICK, | |
PROJSTYLE_STEVE | |
} projstyle; | |
}; | |