changed: the way of building

core.a content.a templates.a confparser.a have gone away
	 there is only: cmslu.a now (in the global directory 'cmslu')
changed: the way of building
         in Makefile(s) we dont longer use explicitly a variable 'o = file1.o file2.o...'
	 it was put into Makefile.o.dep and is generated automatically 
         when 'make depend' is invoked
changed: some #include "..." directives were put from *.h to *.cpp files
         fewer dependences


git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@501 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2009-04-21 20:50:55 +00:00
parent f46677dfc0
commit 2dd3fc7df8
105 changed files with 647 additions and 809 deletions

View File

@ -1,36 +1,24 @@
# Makefile for GNU make
ifndef CC
CC = g++
export CC
ifndef CXX
CXX = g++
export CXX
endif
ifndef CFLAGS
CFLAGS = -Wall -pedantic -g -I/usr/local/include -L/usr/local/lib
export CFLAGS
ifndef CXXFLAGS
CXXFLAGS = -Wall -pedantic -g -I/usr/local/include -L/usr/local/lib
export CXXFLAGS
endif
all: cmslu.a
all: core content confparser templates
cp core/core.a ./
cp content/content.a ./
cp confparser/confparser.a ./
cp templates/templates.a ./
core: FORCE
cmslu.a: FORCE
@cd core ; $(MAKE) -e
content: FORCE
@cd content ; $(MAKE) -e
confparser: FORCE
@cd confparser ; $(MAKE) -e
templates: FORCE
@cd templates ; $(MAKE) -e
ar rcs cmslu.a core/*.o content/*.o templates/*.o confparser/*.o
clean:
@ -38,13 +26,12 @@ clean:
@cd content ; $(MAKE) -e clean
@cd confparser ; $(MAKE) -e clean
@cd templates ; $(MAKE) -e clean
rm -f *.a
rm -f cmslu.a
FORCE:
depend:
@cd core ; $(MAKE) -e depend
@cd content ; $(MAKE) -e depend

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
@ -11,13 +11,6 @@
#define headerfileappcontent
#include "../core/log.h"
#include "../core/data.h"
#include "../core/function.h"
#include "../core/log.h"
namespace AppContent
{

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
@ -12,8 +12,7 @@
#include "../../ezc/src/ezc.h"
#include "../core/log.h"
#include "../core/data.h"
namespace AppTemplateFunctions
{

View File

@ -1,29 +1,22 @@
o = confparser.o
include Makefile.o.dep
all: confparser.a
confparser.a: $(o)
ar rcs confparser.a $(o)
all: $(o)
.SUFFIXES: .cpp .o
.cpp.o:
$(CC) -c $(CFLAGS) $<
$(CXX) -c $(CXXFLAGS) $<
depend:
makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep
echo -n "o = " > Makefile.o.dep
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
clean:
rm -f *.o
rm -f *.a
include Makefile.dep

1
confparser/Makefile.o.dep Executable file
View File

@ -0,0 +1 @@
o = confparser.o

View File

@ -1,26 +1,22 @@
o = content.o priv.o emacs.o login.o rm.o cat.o logout.o ls.o node.o mkdir.o default.o run.o last.o who.o thread.o createthread.o
include Makefile.o.dep
all: content.a
content.a: $(o)
ar rcs content.a $(o)
all: $(o)
.SUFFIXES: .cpp .o
.cpp.o:
$(CC) -c $(CFLAGS) $<
$(CXX) -c $(CXXFLAGS) $<
depend:
makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep
echo -n "o = " > Makefile.o.dep
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
clean:
rm -f *.o
rm -f *.a
include Makefile.dep

View File

@ -1,241 +1,120 @@
# DO NOT DELETE
cat.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
cat.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
cat.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
cat.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h ../core/users.h
cat.o: ../core/groups.h ../core/functions.h ../core/function.h
cat.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
cat.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
cat.o: ../core/session.h ../core/done.h ../core/getparser.h
cat.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
cat.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
cat.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
cat.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h
cat.o: ../app/templates.h ../core/misc.h ../core/function.h
cat.o: ../core/functionparser.h ../core/data.h ../app/content.h
content.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
content.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
content.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
content.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
content.o: ../core/thread.h ../core/users.h ../core/groups.h
content.o: ../core/functions.h ../core/function.h
content.o: ../core/functioncodeparser.h ../core/lastcontainer.h
content.o: ../core/mounts.h ../core/mount.h ../core/request.h
content.o: ../core/requesttypes.h ../core/session.h ../core/done.h
content.o: ../core/getparser.h ../core/httpsimpleparser.h
content.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
content.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
content.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
content.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
content.o: ../core/misc.h ../core/function.h ../core/functionparser.h
content.o: ../core/data.h ../app/content.h
createthread.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
createthread.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
createthread.o: ../core/error.h ../core/dirs.h ../core/db.h
createthread.o: ../core/dircontainer.h ../core/user.h ../core/group.h
createthread.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
createthread.o: ../core/groups.h ../core/functions.h ../core/function.h
createthread.o: ../core/functioncodeparser.h ../core/lastcontainer.h
createthread.o: ../core/mounts.h ../core/mount.h ../core/request.h
createthread.o: ../core/requesttypes.h ../core/session.h ../core/done.h
createthread.o: ../core/getparser.h ../core/httpsimpleparser.h
createthread.o: ../core/postparser.h ../core/cookieparser.h
createthread.o: ../core/mountparser.h ../core/request.h ../core/item.h
createthread.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
createthread.o: ../core/users.h ../core/groups.h ../core/log.h
createthread.o: ../templates/patterncacher.h ../app/templates.h
createthread.o: ../core/misc.h ../core/function.h ../core/functionparser.h
createthread.o: ../core/data.h ../app/content.h
default.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
default.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
default.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
default.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
default.o: ../core/thread.h ../core/users.h ../core/groups.h
default.o: ../core/functions.h ../core/function.h
default.o: ../core/functioncodeparser.h ../core/lastcontainer.h
default.o: ../core/mounts.h ../core/mount.h ../core/request.h
default.o: ../core/requesttypes.h ../core/session.h ../core/done.h
default.o: ../core/getparser.h ../core/httpsimpleparser.h
default.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
default.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
default.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
default.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
default.o: ../core/misc.h ../core/function.h ../core/functionparser.h
default.o: ../core/data.h ../app/content.h
emacs.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
emacs.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
emacs.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
emacs.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
emacs.o: ../core/thread.h ../core/users.h ../core/groups.h
emacs.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
emacs.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
cat.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
cat.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
cat.o: ../core/requesttypes.h ../core/session.h ../core/done.h ../core/item.h
cat.o: ../core/error.h ../core/log.h ../core/user.h ../core/function.h
cat.o: ../core/thread.h ../core/error.h
content.o: content.h ../core/item.h ../templates/templates.h
content.o: ../../ezc/src/ezc.h ../templates/patterncacher.h
content.o: ../app/templates.h ../core/request.h ../core/requesttypes.h
content.o: ../core/session.h ../core/done.h ../core/item.h ../core/error.h
content.o: ../core/log.h ../core/user.h ../core/function.h ../core/thread.h
content.o: ../core/error.h ../core/db.h ../core/group.h
content.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/data.h
content.o: ../core/dirs.h ../core/users.h ../core/groups.h
content.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
content.o: ../core/mount.h
createthread.o: content.h ../core/item.h ../templates/templates.h
createthread.o: ../../ezc/src/ezc.h ../templates/patterncacher.h
createthread.o: ../app/templates.h ../core/request.h ../core/requesttypes.h
createthread.o: ../core/session.h ../core/done.h ../core/item.h
createthread.o: ../core/error.h ../core/log.h ../core/user.h
createthread.o: ../core/function.h ../core/thread.h ../core/error.h
createthread.o: ../core/db.h ../core/group.h ../core/dircontainer.h
createthread.o: ../core/ugcontainer.h ../core/mount.h ../core/data.h
createthread.o: ../core/dirs.h ../core/users.h ../core/groups.h
createthread.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
createthread.o: ../core/mount.h
default.o: content.h ../core/item.h ../templates/templates.h
default.o: ../../ezc/src/ezc.h ../templates/patterncacher.h
default.o: ../app/templates.h ../core/request.h ../core/requesttypes.h
default.o: ../core/session.h ../core/done.h ../core/item.h ../core/error.h
default.o: ../core/log.h ../core/user.h ../core/function.h ../core/thread.h
default.o: ../core/error.h ../core/db.h ../core/group.h
default.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/data.h
default.o: ../core/dirs.h ../core/users.h ../core/groups.h
default.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
default.o: ../core/mount.h
emacs.o: content.h ../core/item.h ../templates/templates.h
emacs.o: ../../ezc/src/ezc.h ../templates/patterncacher.h ../app/templates.h
emacs.o: ../core/request.h ../core/requesttypes.h ../core/session.h
emacs.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
emacs.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
emacs.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
emacs.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
emacs.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
emacs.o: ../core/misc.h ../core/function.h ../core/functionparser.h
emacs.o: ../core/data.h ../app/content.h
last.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
last.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
last.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
last.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h
last.o: ../core/users.h ../core/groups.h ../core/functions.h
last.o: ../core/function.h ../core/functioncodeparser.h
last.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
last.o: ../core/request.h ../core/requesttypes.h ../core/session.h
last.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
last.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
last.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
last.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
last.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
last.o: ../core/misc.h ../core/function.h ../core/functionparser.h
last.o: ../core/data.h ../app/content.h
login.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
login.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
login.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
login.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
login.o: ../core/thread.h ../core/users.h ../core/groups.h
login.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
login.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
emacs.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
emacs.o: ../core/user.h ../core/function.h ../core/thread.h ../core/error.h
emacs.o: ../core/misc.h ../core/db.h ../core/group.h ../core/dircontainer.h
emacs.o: ../core/ugcontainer.h ../core/data.h ../core/dirs.h ../core/users.h
emacs.o: ../core/groups.h ../core/functions.h ../core/lastcontainer.h
emacs.o: ../core/mounts.h ../core/mount.h
last.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
last.o: ../templates/patterncacher.h ../app/templates.h
login.o: content.h ../core/item.h ../templates/templates.h
login.o: ../../ezc/src/ezc.h ../templates/patterncacher.h ../app/templates.h
login.o: ../core/request.h ../core/requesttypes.h ../core/session.h
login.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
login.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
login.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
login.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
login.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
login.o: ../core/misc.h ../core/function.h ../core/functionparser.h
login.o: ../core/data.h ../app/content.h
logout.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
logout.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
logout.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
logout.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
logout.o: ../core/thread.h ../core/users.h ../core/groups.h
logout.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
logout.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
login.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
login.o: ../core/user.h ../core/function.h ../core/thread.h ../core/error.h
login.o: ../core/db.h ../core/group.h ../core/dircontainer.h
login.o: ../core/ugcontainer.h ../core/data.h ../core/dirs.h ../core/users.h
login.o: ../core/groups.h ../core/functions.h ../core/lastcontainer.h
login.o: ../core/mounts.h ../core/mount.h
logout.o: content.h ../core/item.h ../templates/templates.h
logout.o: ../../ezc/src/ezc.h ../templates/patterncacher.h ../app/templates.h
logout.o: ../core/request.h ../core/requesttypes.h ../core/session.h
logout.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
logout.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
logout.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
logout.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
logout.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
logout.o: ../core/misc.h ../core/function.h ../core/functionparser.h
logout.o: ../core/data.h ../app/content.h
ls.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
ls.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
ls.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
ls.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h ../core/users.h
ls.o: ../core/groups.h ../core/functions.h ../core/function.h
ls.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
ls.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
ls.o: ../core/session.h ../core/done.h ../core/getparser.h
ls.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
ls.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
ls.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
ls.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h
ls.o: ../app/templates.h ../core/misc.h ../core/function.h
ls.o: ../core/functionparser.h ../core/data.h ../app/content.h
mkdir.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
mkdir.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
mkdir.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
mkdir.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
mkdir.o: ../core/thread.h ../core/users.h ../core/groups.h
mkdir.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
mkdir.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
logout.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
logout.o: ../core/user.h ../core/function.h ../core/thread.h ../core/data.h
logout.o: ../core/dirs.h ../core/dircontainer.h ../core/users.h
logout.o: ../core/ugcontainer.h ../core/groups.h ../core/group.h
logout.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
logout.o: ../core/mount.h
ls.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
ls.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
ls.o: ../core/requesttypes.h ../core/session.h ../core/done.h ../core/item.h
ls.o: ../core/error.h ../core/log.h ../core/user.h ../core/function.h
ls.o: ../core/thread.h ../core/db.h ../core/group.h ../core/dircontainer.h
ls.o: ../core/ugcontainer.h
mkdir.o: content.h ../core/item.h ../templates/templates.h
mkdir.o: ../../ezc/src/ezc.h ../templates/patterncacher.h ../app/templates.h
mkdir.o: ../core/request.h ../core/requesttypes.h ../core/session.h
mkdir.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
mkdir.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
mkdir.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
mkdir.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
mkdir.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
mkdir.o: ../core/misc.h ../core/function.h ../core/functionparser.h
mkdir.o: ../core/data.h ../app/content.h
node.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
node.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
node.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
node.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h
node.o: ../core/users.h ../core/groups.h ../core/functions.h
node.o: ../core/function.h ../core/functioncodeparser.h
node.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
node.o: ../core/request.h ../core/requesttypes.h ../core/session.h
node.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
node.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
node.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
node.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
node.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
node.o: ../core/misc.h ../core/function.h ../core/functionparser.h
node.o: ../core/data.h ../app/content.h
priv.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
priv.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
priv.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
priv.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h
priv.o: ../core/users.h ../core/groups.h ../core/functions.h
priv.o: ../core/function.h ../core/functioncodeparser.h
priv.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
priv.o: ../core/request.h ../core/requesttypes.h ../core/session.h
priv.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
priv.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
priv.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
priv.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
priv.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
priv.o: ../core/misc.h ../core/function.h ../core/functionparser.h
priv.o: ../core/data.h ../app/content.h
rm.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
rm.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
rm.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
rm.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h ../core/users.h
rm.o: ../core/groups.h ../core/functions.h ../core/function.h
rm.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
rm.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
rm.o: ../core/session.h ../core/done.h ../core/getparser.h
rm.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
rm.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
rm.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
rm.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h
rm.o: ../app/templates.h ../core/misc.h ../core/function.h
rm.o: ../core/functionparser.h ../core/data.h ../app/content.h
run.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
run.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
run.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
run.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h ../core/users.h
run.o: ../core/groups.h ../core/functions.h ../core/function.h
run.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
run.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
run.o: ../core/session.h ../core/done.h ../core/getparser.h
run.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
run.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
run.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
run.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h
run.o: ../app/templates.h ../core/misc.h ../core/function.h
run.o: ../core/functionparser.h ../core/data.h ../app/content.h
thread.o: content.h ../templates/templates.h ../../ezc/src/ezc.h
thread.o: ../core/data.h ../core/misc.h ../core/log.h ../core/item.h
thread.o: ../core/error.h ../core/dirs.h ../core/db.h ../core/dircontainer.h
thread.o: ../core/user.h ../core/group.h ../core/ugcontainer.h
thread.o: ../core/thread.h ../core/users.h ../core/groups.h
thread.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
thread.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
mkdir.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
mkdir.o: ../core/user.h ../core/function.h ../core/thread.h ../core/error.h
mkdir.o: ../core/db.h ../core/group.h ../core/dircontainer.h
mkdir.o: ../core/ugcontainer.h ../core/data.h ../core/dirs.h ../core/users.h
mkdir.o: ../core/groups.h ../core/functions.h ../core/lastcontainer.h
mkdir.o: ../core/mounts.h ../core/mount.h
node.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
node.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
node.o: ../core/requesttypes.h ../core/session.h ../core/done.h
node.o: ../core/item.h ../core/error.h ../core/log.h ../core/user.h
node.o: ../core/function.h ../core/thread.h
priv.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
priv.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
priv.o: ../core/requesttypes.h ../core/session.h ../core/done.h
priv.o: ../core/item.h ../core/error.h ../core/log.h ../core/user.h
priv.o: ../core/function.h ../core/thread.h ../core/error.h ../core/db.h
priv.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
priv.o: ../core/data.h ../core/dirs.h ../core/users.h ../core/groups.h
priv.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
priv.o: ../core/mount.h
rm.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
rm.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
rm.o: ../core/requesttypes.h ../core/session.h ../core/done.h ../core/item.h
rm.o: ../core/error.h ../core/log.h ../core/user.h ../core/function.h
rm.o: ../core/thread.h ../core/error.h ../core/db.h ../core/group.h
rm.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/data.h
rm.o: ../core/dirs.h ../core/users.h ../core/groups.h ../core/functions.h
rm.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
run.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
run.o: ../templates/patterncacher.h ../app/templates.h ../core/request.h
run.o: ../core/requesttypes.h ../core/session.h ../core/done.h ../core/item.h
run.o: ../core/error.h ../core/log.h ../core/user.h ../core/function.h
run.o: ../core/thread.h ../core/error.h
thread.o: content.h ../core/item.h ../templates/templates.h
thread.o: ../../ezc/src/ezc.h ../templates/patterncacher.h ../app/templates.h
thread.o: ../core/request.h ../core/requesttypes.h ../core/session.h
thread.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
thread.o: ../core/postparser.h ../core/cookieparser.h ../core/mountparser.h
thread.o: ../core/request.h ../core/item.h ../core/db.h ../core/error.h
thread.o: ../core/user.h ../core/group.h ../core/users.h ../core/groups.h
thread.o: ../core/log.h ../templates/patterncacher.h ../app/templates.h
thread.o: ../core/misc.h ../core/function.h ../core/functionparser.h
thread.o: ../core/data.h ../app/content.h
who.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
who.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
who.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
who.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h ../core/users.h
who.o: ../core/groups.h ../core/functions.h ../core/function.h
who.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
who.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
who.o: ../core/session.h ../core/done.h ../core/getparser.h
who.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
who.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
who.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
who.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h
who.o: ../app/templates.h ../core/misc.h ../core/function.h
who.o: ../core/functionparser.h ../core/data.h ../app/content.h
thread.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
thread.o: ../core/user.h ../core/function.h ../core/thread.h ../core/db.h
thread.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
thread.o: ../core/data.h ../core/dirs.h ../core/users.h ../core/groups.h
thread.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
thread.o: ../core/mount.h ../core/mount.h
who.o: content.h ../core/item.h ../templates/templates.h ../../ezc/src/ezc.h
who.o: ../templates/patterncacher.h ../app/templates.h

1
content/Makefile.o.dep Executable file
View File

@ -0,0 +1 @@
o = cat.o content.o createthread.o default.o emacs.o last.o login.o logout.o ls.o mkdir.o node.o priv.o rm.o run.o thread.o who.o

View File

@ -2,18 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../core/request.h"
#include "../core/error.h"

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"

View File

@ -2,27 +2,20 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilecontent
#define headerfilecontent
#ifndef headerfilecmslucontentcontent
#define headerfilecmslucontentcontent
#include <cstdlib>
#include <fcgiapp.h>
#include <ctime>
#include "../core/item.h"
#include "../templates/templates.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/misc.h"
#include "../core/db.h"
#include "../core/user.h"
#include "../core/function.h"
#include "../core/functionparser.h"
class Content

View File

@ -2,13 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../app/content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/mount.h"
#include "../core/data.h"

View File

@ -2,12 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"

View File

@ -2,12 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/misc.h"
#include "../core/db.h"
#include "../core/data.h"

View File

@ -2,18 +2,12 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../app/content.h"

View File

@ -2,14 +2,20 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include <arpa/inet.h>
#include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"
/*
void Content::PostFunLoginAddLast()

View File

@ -2,12 +2,15 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../core/request.h"
#include "../core/data.h"

View File

@ -2,21 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../core/request.h"
#include "../core/db.h"

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../core/request.h"

View File

@ -2,12 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../core/request.h"
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"
void Content::FunRmDirRecursive()

View File

@ -2,13 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../app/content.h"
#include "../core/request.h"
#include "../core/error.h"

View File

@ -2,14 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../app/content.h"
#include "../core/request.h"
#include "../core/db.h"
#include "../core/data.h"
#include "../core/mount.h"

View File

@ -2,13 +2,12 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "content.h"
#include "../app/content.h"

View File

@ -1,26 +1,22 @@
o = data.o log.o sessionmanager.o requestcontroller.o dircontainer.o session.o main.o done.o request.o misc.o httpsimpleparser.o db.o error.o db_itemcolumns.o users.o config.o dirs.o groups.o function.o functionparser.o functions.o functioncodeparser.o sessioncontainer.o lastcontainer.o mounts.o mountparser.o mount.o
include Makefile.o.dep
all: $(o)
all: core.a
core.a: $(o)
ar rcs core.a $(o)
.SUFFIXES: .cpp .o
.cpp.o:
$(CC) -c $(CFLAGS) $<
$(CXX) -c $(CXXFLAGS) $<
depend:
makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep
echo -n "o = " > Makefile.o.dep
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
clean:
rm -f *.o
rm -f *.a
include Makefile.dep

View File

@ -1,98 +1,72 @@
# DO NOT DELETE
config.o: config.h ../confparser/confparser.h error.h log.h data.h misc.h
config.o: item.h dirs.h db.h dircontainer.h user.h group.h ugcontainer.h
config.o: thread.h users.h groups.h functions.h function.h
config.o: functioncodeparser.h lastcontainer.h mounts.h mount.h request.h
config.o: requesttypes.h session.h done.h getparser.h httpsimpleparser.h
config.o: postparser.h cookieparser.h mountparser.h
data.o: data.h misc.h log.h item.h error.h dirs.h db.h dircontainer.h user.h
data.o: group.h ugcontainer.h thread.h users.h groups.h functions.h
data.o: function.h functioncodeparser.h lastcontainer.h mounts.h mount.h
data.o: request.h requesttypes.h session.h done.h getparser.h
data.o: httpsimpleparser.h postparser.h cookieparser.h mountparser.h
db.o: db.h log.h item.h misc.h error.h dircontainer.h user.h group.h
db.o: ugcontainer.h thread.h
db_itemcolumns.o: db.h log.h item.h misc.h error.h dircontainer.h user.h
db_itemcolumns.o: group.h ugcontainer.h thread.h
config.o: config.h ../confparser/confparser.h log.h data.h dirs.h item.h
config.o: dircontainer.h users.h user.h ugcontainer.h groups.h group.h
config.o: functions.h function.h lastcontainer.h mounts.h mount.h
data.o: data.h dirs.h item.h dircontainer.h users.h user.h ugcontainer.h
data.o: log.h groups.h group.h functions.h function.h lastcontainer.h
data.o: mounts.h mount.h
db.o: db.h item.h user.h group.h thread.h error.h log.h dircontainer.h
db.o: ugcontainer.h misc.h
db_itemcolumns.o: db.h item.h user.h group.h thread.h error.h log.h
db_itemcolumns.o: dircontainer.h ugcontainer.h
dircontainer.o: dircontainer.h item.h log.h
dirs.o: dirs.h item.h error.h log.h db.h misc.h dircontainer.h user.h group.h
dirs.o: ugcontainer.h thread.h
dirs.o: dirs.h item.h dircontainer.h error.h log.h db.h user.h group.h
dirs.o: thread.h ugcontainer.h
done.o: done.h
error.o: error.h log.h
function.o: function.h log.h item.h
functioncodeparser.o: functioncodeparser.h function.h log.h item.h
functionparser.o: functionparser.h request.h requesttypes.h log.h session.h
functionparser.o: error.h item.h done.h user.h getparser.h httpsimpleparser.h
functionparser.o: postparser.h cookieparser.h function.h thread.h data.h
functionparser.o: misc.h dirs.h db.h dircontainer.h group.h ugcontainer.h
functionparser.o: users.h groups.h functions.h functioncodeparser.h
functionparser.o: lastcontainer.h mounts.h mount.h mountparser.h
functionparser.o: ../app/content.h ../core/log.h ../core/data.h
functionparser.o: ../core/function.h
functions.o: functions.h function.h log.h item.h functioncodeparser.h
groups.o: groups.h group.h db.h log.h item.h misc.h error.h dircontainer.h
groups.o: user.h ugcontainer.h thread.h
function.o: function.h item.h
functioncodeparser.o: functioncodeparser.h item.h function.h log.h
functionparser.o: functionparser.h requesttypes.h ../app/content.h log.h
functionparser.o: item.h error.h data.h dirs.h dircontainer.h users.h user.h
functionparser.o: ugcontainer.h groups.h group.h functions.h function.h
functionparser.o: lastcontainer.h mounts.h mount.h db.h thread.h request.h
functionparser.o: session.h done.h
functions.o: functions.h function.h item.h
groups.o: groups.h group.h ugcontainer.h log.h db.h item.h user.h thread.h
groups.o: error.h dircontainer.h
httpsimpleparser.o: httpsimpleparser.h
lastcontainer.o: lastcontainer.h log.h
log.o: log.h
main.o: requestcontroller.h data.h misc.h log.h item.h error.h dirs.h db.h
main.o: dircontainer.h user.h group.h ugcontainer.h thread.h users.h groups.h
main.o: functions.h function.h functioncodeparser.h lastcontainer.h mounts.h
main.o: mount.h request.h requesttypes.h session.h done.h getparser.h
main.o: httpsimpleparser.h postparser.h cookieparser.h mountparser.h
main.o: ../content/content.h ../templates/templates.h ../../ezc/src/ezc.h
main.o: ../core/data.h ../core/request.h ../core/item.h ../core/db.h
main.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
main.o: ../core/groups.h ../core/log.h ../templates/patterncacher.h
main.o: ../app/templates.h ../core/misc.h ../core/function.h
main.o: ../core/functionparser.h ../app/content.h sessionmanager.h
main.o: sessioncontainer.h config.h ../confparser/confparser.h
misc.o: misc.h log.h item.h
main.o: requestcontroller.h ../content/content.h ../core/item.h
main.o: ../templates/templates.h ../../ezc/src/ezc.h
main.o: ../templates/patterncacher.h ../app/templates.h sessionmanager.h
main.o: sessioncontainer.h session.h done.h item.h error.h log.h user.h
main.o: functionparser.h requesttypes.h ../app/content.h data.h dirs.h
main.o: dircontainer.h users.h ugcontainer.h groups.h group.h functions.h
main.o: function.h lastcontainer.h mounts.h mount.h request.h thread.h db.h
main.o: config.h ../confparser/confparser.h
misc.o: misc.h item.h log.h
mount.o: mount.h
mountparser.o: mountparser.h log.h mount.h error.h item.h data.h misc.h
mountparser.o: dirs.h db.h dircontainer.h user.h group.h ugcontainer.h
mountparser.o: thread.h users.h groups.h functions.h function.h
mountparser.o: functioncodeparser.h lastcontainer.h mounts.h request.h
mountparser.o: requesttypes.h session.h done.h getparser.h httpsimpleparser.h
mountparser.o: postparser.h cookieparser.h
mounts.o: mounts.h mount.h request.h requesttypes.h log.h session.h error.h
mounts.o: item.h done.h user.h getparser.h httpsimpleparser.h postparser.h
mounts.o: cookieparser.h function.h thread.h mountparser.h data.h misc.h
mounts.o: dirs.h db.h dircontainer.h group.h ugcontainer.h users.h groups.h
mounts.o: functions.h functioncodeparser.h lastcontainer.h
request.o: request.h requesttypes.h log.h session.h error.h item.h done.h
request.o: user.h getparser.h httpsimpleparser.h postparser.h cookieparser.h
request.o: function.h thread.h
requestcontroller.o: requestcontroller.h data.h misc.h log.h item.h error.h
requestcontroller.o: dirs.h db.h dircontainer.h user.h group.h ugcontainer.h
requestcontroller.o: thread.h users.h groups.h functions.h function.h
requestcontroller.o: functioncodeparser.h lastcontainer.h mounts.h mount.h
requestcontroller.o: request.h requesttypes.h session.h done.h getparser.h
requestcontroller.o: httpsimpleparser.h postparser.h cookieparser.h
requestcontroller.o: mountparser.h ../content/content.h
mountparser.o: mountparser.h mount.h item.h error.h log.h data.h dirs.h
mountparser.o: dircontainer.h users.h user.h ugcontainer.h groups.h group.h
mountparser.o: functions.h function.h lastcontainer.h mounts.h
mounts.o: mounts.h mount.h data.h dirs.h item.h dircontainer.h users.h user.h
mounts.o: ugcontainer.h log.h groups.h group.h functions.h function.h
mounts.o: lastcontainer.h request.h requesttypes.h session.h done.h error.h
mounts.o: thread.h mountparser.h
request.o: request.h requesttypes.h session.h done.h item.h error.h log.h
request.o: user.h function.h thread.h getparser.h httpsimpleparser.h
request.o: postparser.h cookieparser.h
requestcontroller.o: requestcontroller.h ../content/content.h ../core/item.h
requestcontroller.o: ../templates/templates.h ../../ezc/src/ezc.h
requestcontroller.o: ../core/data.h ../core/request.h ../core/item.h
requestcontroller.o: ../core/db.h ../core/error.h ../core/user.h
requestcontroller.o: ../core/group.h ../core/users.h ../core/groups.h
requestcontroller.o: ../core/log.h ../templates/patterncacher.h
requestcontroller.o: ../app/templates.h ../core/misc.h ../core/function.h
requestcontroller.o: ../core/functionparser.h ../app/content.h
requestcontroller.o: sessionmanager.h sessioncontainer.h
session.o: session.h requesttypes.h error.h log.h item.h done.h user.h
sessioncontainer.o: sessioncontainer.h session.h requesttypes.h error.h log.h
sessioncontainer.o: item.h done.h user.h data.h misc.h dirs.h db.h
sessioncontainer.o: dircontainer.h group.h ugcontainer.h thread.h users.h
sessioncontainer.o: groups.h functions.h function.h functioncodeparser.h
sessioncontainer.o: lastcontainer.h mounts.h mount.h request.h getparser.h
sessioncontainer.o: httpsimpleparser.h postparser.h cookieparser.h
sessioncontainer.o: mountparser.h
sessionmanager.o: sessionmanager.h request.h requesttypes.h log.h session.h
sessionmanager.o: error.h item.h done.h user.h getparser.h httpsimpleparser.h
sessionmanager.o: postparser.h cookieparser.h function.h thread.h data.h
sessionmanager.o: misc.h dirs.h db.h dircontainer.h group.h ugcontainer.h
sessionmanager.o: users.h groups.h functions.h functioncodeparser.h
sessionmanager.o: lastcontainer.h mounts.h mount.h mountparser.h
sessionmanager.o: sessioncontainer.h
users.o: users.h user.h db.h log.h item.h misc.h error.h dircontainer.h
users.o: group.h ugcontainer.h thread.h
requestcontroller.o: ../templates/patterncacher.h ../app/templates.h
requestcontroller.o: sessionmanager.h sessioncontainer.h session.h done.h
requestcontroller.o: item.h error.h log.h user.h functionparser.h
requestcontroller.o: requesttypes.h ../app/content.h data.h dirs.h
requestcontroller.o: dircontainer.h users.h ugcontainer.h groups.h group.h
requestcontroller.o: functions.h function.h lastcontainer.h mounts.h mount.h
requestcontroller.o: request.h thread.h postparser.h httpsimpleparser.h
requestcontroller.o: cookieparser.h
session.o: session.h done.h item.h error.h log.h user.h
sessioncontainer.o: sessioncontainer.h session.h done.h item.h error.h log.h
sessioncontainer.o: user.h data.h dirs.h dircontainer.h users.h ugcontainer.h
sessioncontainer.o: groups.h group.h functions.h function.h lastcontainer.h
sessioncontainer.o: mounts.h mount.h
sessionmanager.o: sessionmanager.h sessioncontainer.h session.h done.h item.h
sessionmanager.o: error.h log.h user.h request.h requesttypes.h function.h
sessionmanager.o: thread.h data.h dirs.h dircontainer.h users.h ugcontainer.h
sessionmanager.o: groups.h group.h functions.h lastcontainer.h mounts.h
sessionmanager.o: mount.h
users.o: users.h user.h ugcontainer.h log.h db.h item.h group.h thread.h
users.o: error.h dircontainer.h

1
core/Makefile.o.dep Executable file
View File

@ -0,0 +1 @@
o = config.o data.o db.o db_itemcolumns.o dircontainer.o dirs.o done.o error.o function.o functioncodeparser.o functionparser.o functions.o groups.o httpsimpleparser.o lastcontainer.o log.o main.o misc.o mount.o mountparser.o mounts.o request.o requestcontroller.o session.o sessioncontainer.o sessionmanager.o users.o

View File

@ -2,12 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "config.h"
#include "log.h"
#include "data.h"
Config::Config()

View File

@ -2,22 +2,19 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfileconfig
#define headerfileconfig
#include "../confparser/confparser.h"
#include "error.h"
#include "data.h"
#include "log.h"
#ifndef headerfilecmslucoreconfig
#define headerfilecmslucoreconfig
#include <string>
#include "../confparser/confparser.h"
class Config
{

View File

@ -2,18 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilecookieparser
#define headerfilecookieparser
#ifndef headerfilecmslucorecookieparser
#define headerfilecmslucorecookieparser
#include <fcgiapp.h>
#include "httpsimpleparser.h"
#include "requesttypes.h"
#include "log.h"

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
@ -11,6 +11,8 @@
Data::Data()
{
signal_hup = false;

View File

@ -2,22 +2,19 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfiledata
#define headerfiledata
#ifndef headerfilecmslucoredata
#define headerfilecmslucoredata
#include <string>
#include <vector>
#include <map>
#include <string.h>
#include "misc.h"
#include "item.h"
#include "error.h"
#include "dirs.h"
#include "users.h"
#include "groups.h"

View File

@ -2,12 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "db.h"
#include "log.h"
#include "misc.h"
Db::Db(bool close_at_end_)

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilecoredb
#define headerfilecoredb
#ifndef headerfilecmslucoredb
#define headerfilecmslucoredb
#include <string>
@ -20,15 +20,13 @@
#include <ctime>
#include <cstring>
#include "log.h"
#include "item.h"
#include "misc.h"
#include "error.h"
#include "dircontainer.h"
#include "user.h"
#include "group.h"
#include "ugcontainer.h"
#include "thread.h"
#include "error.h"
#include "dircontainer.h"
#include "ugcontainer.h"

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "dircontainer.h"
#include "log.h"
DirContainer::DirContainer()

View File

@ -2,18 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfiledircontainer
#define headerfiledircontainer
#ifndef headerfilecmslucoredircontainer
#define headerfilecmslucoredircontainer
#include <list>
#include <map>
#include "item.h"
#include "log.h"
class DirContainer

View File

@ -2,12 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "dirs.h"
#include "error.h"
#include "log.h"
#include "db.h"
void Dirs::Clear()

View File

@ -2,22 +2,20 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfiledirs
#define headerfiledirs
#ifndef headerfilecmslucoredirs
#define headerfilecmslucoredirs
#include <vector>
#include <map>
#include <string>
#include "item.h"
#include "error.h"
#include "log.h"
#include "db.h"
#include "dircontainer.h"

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfiledone
#define headerfiledone
#ifndef headerfilecmslucoredone
#define headerfilecmslucoredone

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfileerror
#define headerfileerror
#ifndef headerfilecmslucoreerror
#define headerfilecmslucoreerror
#include <iostream>
#include "log.h"

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
@ -10,6 +10,7 @@
#include "function.h"
Function::Function()
{
code = FUN_NONE;

View File

@ -7,11 +7,10 @@
*
*/
#ifndef headerfilefunction
#define headerfilefunction
#ifndef headerfilecmslucorefunction
#define headerfilecmslucorefunction
#include <iostream>
#include "log.h"
#include "item.h"

View File

@ -2,12 +2,14 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "functioncodeparser.h"
#include "function.h"
#include "log.h"

View File

@ -2,19 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilefunctioncodeparser
#define headerfilefunctioncodeparser
#ifndef headerfilecmslucorefunctioncodeparser
#define headerfilecmslucorefunctioncodeparser
#include <cstring>
#include <cstdlib>
#include "function.h"
#include "item.h"
#include "log.h"
class FunctionCodeParser

View File

@ -2,13 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "functionparser.h"
#include "log.h"
#include "item.h"
#include "error.h"
#include "data.h"
#include "db.h"
#include "request.h"

View File

@ -2,20 +2,15 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilefunctionparser
#define headerfilefunctionparser
#ifndef headerfilecmslucorefunctionparser
#define headerfilecmslucorefunctionparser
#include "request.h"
#include "log.h"
#include "item.h"
#include "error.h"
#include "data.h"
#include "db.h"
#include "requesttypes.h"
#ifdef APPFUNCTIONS
#include "../app/content.h"

View File

@ -14,6 +14,7 @@
void Functions::Clear()
{
table.clear();

View File

@ -2,18 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilefunctions
#define headerfilefunctions
#ifndef headerfilecmslucorefunctions
#define headerfilecmslucorefunctions
#include <map>
#include <string>
#include "function.h"
#include "functioncodeparser.h"

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilegetparser
#define headerfilegetparser
#ifndef headerfilecmslucoregetparser
#define headerfilecmslucoregetparser
#include "httpsimpleparser.h"
#include "requesttypes.h"

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilegroup
#define headerfilegroup
#ifndef headerfilecmslucoregroup
#define headerfilecmslucoregroup
#include <string>
#include <vector>

View File

@ -2,14 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "groups.h"
#include "db.h"

View File

@ -2,17 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilegroups
#define headerfilegroups
#ifndef headerfilecmslucoregroups
#define headerfilecmslucoregroups
#include <map>
#include "group.h"
#include "db.h"
#include "ugcontainer.h"

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilehttpsimpleparser
#define headerfilehttpsimpleparser
#ifndef headerfilecmslucorehttpsimpleparser
#define headerfilecmslucorehttpsimpleparser
#include <string>

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfileitem
#define headerfileitem
#ifndef headerfilecmslucoreitem
#define headerfilecmslucoreitem
#include <string>

View File

@ -9,6 +9,7 @@
#include "lastcontainer.h"
#include "log.h"

View File

@ -7,15 +7,14 @@
*
*/
#ifndef headerfilelastcontainer33
#define headerfilelastcontainer33
#ifndef headerfilecmslucorelastcontainer
#define headerfilecmslucorelastcontainer
#include <string>
#include <list>
#include <cstring>
#include <ctime>
#include "log.h"
// how many items we store in the 'last' function

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilelog
#define headerfilelog
#ifndef headerfilecmslucorelog
#define headerfilecmslucorelog
#include <sstream>

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
@ -11,6 +11,7 @@
#include <ctime>
#include <signal.h>
#include <iostream>
#include "requestcontroller.h"
#include "data.h"
#include "log.h"

View File

@ -2,12 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "misc.h"
#include "log.h"

View File

@ -2,19 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilemisc
#define headerfilemisc
#ifndef headerfilecmslucoremisc
#define headerfilecmslucoremisc
#include <string>
#include <sstream>
#include <ctime>
#include "log.h"
#include "item.h"
#define MAJOR_VER 0

View File

@ -8,8 +8,8 @@
*/
#ifndef headerfilecoremount
#define headerfilecoremount
#ifndef headerfilecmslucoremount
#define headerfilecmslucoremount
#include <set>
#include <string>

View File

@ -9,6 +9,7 @@
#include "mountparser.h"
#include "data.h"
#include "log.h"

View File

@ -7,17 +7,15 @@
*
*/
#ifndef headerfilecoremountparser
#define headerfilecoremountparser
#ifndef headerfilecmslucoremountparser
#define headerfilecmslucoremountparser
#include <map>
#include <string>
#include "log.h"
#include "mount.h"
#include "error.h"
#include "item.h"
#include "error.h"

View File

@ -9,6 +9,9 @@
#include "mounts.h"
#include "data.h"
#include "request.h"
#include "log.h"
#include "mountparser.h"
void Mounts::ReadMounts()

View File

@ -8,15 +8,12 @@
*/
#ifndef headerfilecoremounts
#define headerfilecoremounts
#ifndef headerfilecmslucorecoremounts
#define headerfilecmslucorecoremounts
#include <map>
#include "mount.h"
#include "request.h"
#include "log.h"
#include "mountparser.h"

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilepostparser
#define headerfilepostparser
#ifndef headerfilecmslucorepostparser
#define headerfilecmslucorepostparser
#include <fcgiapp.h>
#include <string>

View File

@ -2,12 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "request.h"
#include "getparser.h"
#include "postparser.h"
#include "cookieparser.h"
#include "log.h"

View File

@ -2,32 +2,29 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilerequest
#define headerfilerequest
#ifndef headerfilecmslucorerequest
#define headerfilecmslucorerequest
#include <fcgiapp.h>
#include <sstream>
#include <vector>
#include <ctime>
#include <iomanip>
#include "requesttypes.h"
#include "log.h"
#include "session.h"
#include "getparser.h"
#include "postparser.h"
#include "cookieparser.h"
#include "requesttypes.h"
#include "session.h"
#include "item.h"
#include "error.h"
#include "function.h"
#include "thread.h"
struct Request
{
// request id

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "requestcontroller.h"
#include "data.h"
#include "log.h"
#include "request.h"
#include "postparser.h"
#include "cookieparser.h"

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilerequestcontroller
#define headerfilerequestcontroller
#ifndef headerfilecmslucorerequestcontroller
#define headerfilecmslucorerequestcontroller
#include <unistd.h>
#include <sys/stat.h>
@ -18,13 +18,10 @@
#include <grp.h>
#include <errno.h>
#include "data.h"
#include "log.h"
#include "request.h"
#include "../content/content.h"
#include "sessionmanager.h"
#include "postparser.h"
#include "cookieparser.h"
#include "functionparser.h"
#include "sessioncontainer.h"
class RequestController

View File

@ -2,13 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilerequesttypes
#define headerfilerequesttypes
#ifndef headerfilecmslucorerequesttypes
#define headerfilecmslucorerequesttypes
#include <string>
#include <vector>

View File

@ -2,7 +2,7 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
@ -10,6 +10,7 @@
#include "session.h"
Session::Session()
{
Clear();

View File

@ -2,19 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilecoresession
#define headerfilecoresession
#ifndef headerfilecmslucoresession
#define headerfilecmslucoresession
#include <ctime>
#include "requesttypes.h"
#include "error.h"
#include "item.h"
#include "done.h"
#include "item.h"
#include "error.h"
#include "user.h"

View File

@ -2,13 +2,15 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "sessioncontainer.h"
#include "data.h"
#include "log.h"
void SessionContainer::Clear()
{

View File

@ -2,20 +2,22 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilesessioncontainer
#define headerfilesessioncontainer
#ifndef headerfilecmslucoresessioncontainer
#define headerfilecmslucoresessioncontainer
#include <list>
#include <map>
#include <ctime>
#include "session.h"
#include "log.h"
class SessionContainer

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "sessionmanager.h"
#include "request.h"
#include "log.h"
#include "data.h"
#include "session.h"
bool SessionManager::IsSession(long id)

View File

@ -2,22 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilesessionmanager
#define headerfilesessionmanager
#ifndef headerfilecmslucoresessionmanager
#define headerfilecmslucoresessionmanager
#include <set>
#include <ctime>
#include "request.h"
#include "log.h"
#include "data.h"
#include "session.h"
#include "db.h"
#include "sessioncontainer.h"

View File

@ -7,12 +7,13 @@
*
*/
#ifndef headerfilecorethread
#define headerfilecorethread
#ifndef headerfilecmslucorecorethread
#define headerfilecmslucorecorethread
#include <string>
class Thread
{
public:

View File

@ -2,17 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfileugcontainer
#define headerfileugcontainer
#ifndef headerfilecmslucoreugcontainer
#define headerfilecmslucoreugcontainer
#include <vector>
#include <map>
#include <stdexcept>
#include "log.h"

View File

@ -2,17 +2,19 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfileuser
#define headerfileuser
#ifndef headerfilecmslucoreuser
#define headerfilecmslucoreuser
#include <string>
#include <vector>
struct User
{
long id;

View File

@ -2,12 +2,13 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "users.h"
#include "db.h"

View File

@ -2,17 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfileusers
#define headerfileusers
#ifndef headerfilecmslucoreusers
#define headerfilecmslucoreusers
#include <map>
#include "user.h"
#include "db.h"
#include "ugcontainer.h"

View File

@ -1,25 +1,22 @@
o = templates.o sys.o item.o doc.o user.o dir.o done.o priv.o patterncacher.o who.o last.o thread.o
include Makefile.o.dep
all: templates.a
all: $(o)
templates.a: $(o)
ar rcs templates.a $(o)
.SUFFIXES: .cpp .o
.cpp.o:
$(CC) -c $(CFLAGS) $<
$(CXX) -c $(CXXFLAGS) $<
depend:
makedepend $(DEPMACROS) -Y. -f- *.cpp > Makefile.dep
echo -n "o = " > Makefile.o.dep
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
clean:
rm -f *.o
rm -f *.a
include Makefile.dep

View File

@ -1,149 +1,97 @@
# DO NOT DELETE
dir.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
dir.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
dir.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
dir.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
dir.o: ../core/groups.h ../core/functions.h ../core/function.h
dir.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
dir.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
dir.o: ../core/session.h ../core/done.h ../core/getparser.h
dir.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
dir.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
dir.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
dir.o: ../core/groups.h ../core/log.h patterncacher.h ../app/templates.h
doc.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
doc.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
doc.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
doc.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
doc.o: ../core/groups.h ../core/functions.h ../core/function.h
doc.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
doc.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
doc.o: ../core/session.h ../core/done.h ../core/getparser.h
doc.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
doc.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
doc.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
doc.o: ../core/groups.h ../core/log.h patterncacher.h ../app/templates.h
done.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
done.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
done.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
done.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
done.o: ../core/groups.h ../core/functions.h ../core/function.h
done.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
done.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
done.o: ../core/session.h ../core/done.h ../core/getparser.h
done.o: ../core/httpsimpleparser.h ../core/postparser.h
done.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
done.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
done.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
done.o: patterncacher.h ../app/templates.h
item.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
item.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
item.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
item.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
item.o: ../core/groups.h ../core/functions.h ../core/function.h
item.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
item.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
item.o: ../core/session.h ../core/done.h ../core/getparser.h
item.o: ../core/httpsimpleparser.h ../core/postparser.h
item.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
item.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
item.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
item.o: patterncacher.h ../app/templates.h
last.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
last.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
last.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
last.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
last.o: ../core/groups.h ../core/functions.h ../core/function.h
last.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
last.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
last.o: ../core/session.h ../core/done.h ../core/getparser.h
last.o: ../core/httpsimpleparser.h ../core/postparser.h
last.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
last.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
last.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
last.o: patterncacher.h ../app/templates.h ../core/lastcontainer.h
last.o: ../core/misc.h
dir.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
dir.o: ../app/templates.h ../core/request.h ../core/requesttypes.h
dir.o: ../core/session.h ../core/done.h ../core/item.h ../core/error.h
dir.o: ../core/log.h ../core/user.h ../core/function.h ../core/thread.h
dir.o: ../core/data.h ../core/dirs.h ../core/dircontainer.h ../core/users.h
dir.o: ../core/ugcontainer.h ../core/groups.h ../core/group.h
dir.o: ../core/functions.h ../core/lastcontainer.h ../core/mounts.h
dir.o: ../core/mount.h ../core/db.h ../core/log.h ../core/misc.h
doc.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
doc.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
doc.o: ../core/dircontainer.h ../core/users.h ../core/user.h
doc.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h ../core/group.h
doc.o: ../core/functions.h ../core/function.h ../core/lastcontainer.h
doc.o: ../core/mounts.h ../core/mount.h ../core/request.h
doc.o: ../core/requesttypes.h ../core/session.h ../core/done.h
doc.o: ../core/error.h ../core/thread.h ../core/misc.h
done.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
done.o: ../app/templates.h ../core/request.h ../core/requesttypes.h
done.o: ../core/session.h ../core/done.h ../core/item.h ../core/error.h
done.o: ../core/log.h ../core/user.h ../core/function.h ../core/thread.h
done.o: ../core/misc.h
item.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
item.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
item.o: ../core/dircontainer.h ../core/users.h ../core/user.h
item.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h ../core/group.h
item.o: ../core/functions.h ../core/function.h ../core/lastcontainer.h
item.o: ../core/mounts.h ../core/mount.h ../core/request.h
item.o: ../core/requesttypes.h ../core/session.h ../core/done.h
item.o: ../core/error.h ../core/thread.h ../core/misc.h
last.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
last.o: ../app/templates.h ../core/lastcontainer.h ../core/data.h
last.o: ../core/dirs.h ../core/item.h ../core/dircontainer.h ../core/users.h
last.o: ../core/user.h ../core/ugcontainer.h ../core/log.h ../core/groups.h
last.o: ../core/group.h ../core/functions.h ../core/function.h
last.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
last.o: ../core/request.h ../core/requesttypes.h ../core/session.h
last.o: ../core/done.h ../core/error.h ../core/thread.h ../core/misc.h
patterncacher.o: patterncacher.h ../core/item.h ../../ezc/src/ezc.h
patterncacher.o: ../core/data.h ../core/dirs.h ../core/item.h
patterncacher.o: ../core/dircontainer.h ../core/users.h ../core/user.h
patterncacher.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h
patterncacher.o: ../core/group.h ../core/functions.h ../core/function.h
patterncacher.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
patterncacher.o: ../core/log.h
priv.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
priv.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
priv.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
priv.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
priv.o: ../core/groups.h ../core/functions.h ../core/function.h
priv.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
priv.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
priv.o: ../core/session.h ../core/done.h ../core/getparser.h
priv.o: ../core/httpsimpleparser.h ../core/postparser.h
priv.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
priv.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
priv.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
priv.o: patterncacher.h ../app/templates.h
sys.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
sys.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
sys.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
sys.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
sys.o: ../core/groups.h ../core/functions.h ../core/function.h
sys.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
sys.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
sys.o: ../core/session.h ../core/done.h ../core/getparser.h
sys.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
sys.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
sys.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
sys.o: ../core/groups.h ../core/log.h patterncacher.h ../app/templates.h
templates.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
templates.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
templates.o: ../core/db.h ../core/dircontainer.h ../core/user.h
templates.o: ../core/group.h ../core/ugcontainer.h ../core/thread.h
templates.o: ../core/users.h ../core/groups.h ../core/functions.h
templates.o: ../core/function.h ../core/functioncodeparser.h
priv.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
priv.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
priv.o: ../core/dircontainer.h ../core/users.h ../core/user.h
priv.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h ../core/group.h
priv.o: ../core/functions.h ../core/function.h ../core/lastcontainer.h
priv.o: ../core/mounts.h ../core/mount.h ../core/request.h
priv.o: ../core/requesttypes.h ../core/session.h ../core/done.h
priv.o: ../core/error.h ../core/thread.h ../core/misc.h
sys.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
sys.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
sys.o: ../core/dircontainer.h ../core/users.h ../core/user.h
sys.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h ../core/group.h
sys.o: ../core/functions.h ../core/function.h ../core/lastcontainer.h
sys.o: ../core/mounts.h ../core/mount.h ../core/request.h
sys.o: ../core/requesttypes.h ../core/session.h ../core/done.h
sys.o: ../core/error.h ../core/thread.h ../core/misc.h
templates.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
templates.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
templates.o: ../core/dircontainer.h ../core/users.h ../core/user.h
templates.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h
templates.o: ../core/group.h ../core/functions.h ../core/function.h
templates.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
templates.o: ../core/request.h ../core/requesttypes.h ../core/session.h
templates.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
templates.o: ../core/postparser.h ../core/cookieparser.h
templates.o: ../core/mountparser.h ../core/request.h ../core/item.h
templates.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
templates.o: ../core/users.h ../core/groups.h ../core/log.h patterncacher.h
templates.o: ../app/templates.h
thread.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
thread.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
thread.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
thread.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
thread.o: ../core/groups.h ../core/functions.h ../core/function.h
thread.o: ../core/functioncodeparser.h ../core/lastcontainer.h
thread.o: ../core/mounts.h ../core/mount.h ../core/request.h
thread.o: ../core/requesttypes.h ../core/session.h ../core/done.h
thread.o: ../core/getparser.h ../core/httpsimpleparser.h ../core/postparser.h
thread.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
thread.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
thread.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
thread.o: patterncacher.h ../app/templates.h
user.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
user.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
user.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
user.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
user.o: ../core/groups.h ../core/functions.h ../core/function.h
user.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
user.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
user.o: ../core/session.h ../core/done.h ../core/getparser.h
user.o: ../core/httpsimpleparser.h ../core/postparser.h
user.o: ../core/cookieparser.h ../core/mountparser.h ../core/request.h
user.o: ../core/item.h ../core/db.h ../core/error.h ../core/user.h
user.o: ../core/group.h ../core/users.h ../core/groups.h ../core/log.h
user.o: patterncacher.h ../app/templates.h
who.o: templates.h ../../ezc/src/ezc.h ../core/data.h ../core/misc.h
who.o: ../core/log.h ../core/item.h ../core/error.h ../core/dirs.h
who.o: ../core/db.h ../core/dircontainer.h ../core/user.h ../core/group.h
who.o: ../core/ugcontainer.h ../core/thread.h ../core/users.h
who.o: ../core/groups.h ../core/functions.h ../core/function.h
who.o: ../core/functioncodeparser.h ../core/lastcontainer.h ../core/mounts.h
who.o: ../core/mount.h ../core/request.h ../core/requesttypes.h
who.o: ../core/session.h ../core/done.h ../core/getparser.h
who.o: ../core/httpsimpleparser.h ../core/postparser.h ../core/cookieparser.h
who.o: ../core/mountparser.h ../core/request.h ../core/item.h ../core/db.h
who.o: ../core/error.h ../core/user.h ../core/group.h ../core/users.h
who.o: ../core/groups.h ../core/log.h patterncacher.h ../app/templates.h
who.o: ../core/sessioncontainer.h ../core/requestcontroller.h ../core/data.h
who.o: ../content/content.h ../templates/templates.h ../core/misc.h
who.o: ../core/function.h ../core/functionparser.h ../app/content.h
who.o: ../core/sessionmanager.h ../core/sessioncontainer.h
templates.o: ../core/done.h ../core/error.h ../core/thread.h ../core/misc.h
thread.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
thread.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
thread.o: ../core/dircontainer.h ../core/users.h ../core/user.h
thread.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h
thread.o: ../core/group.h ../core/functions.h ../core/function.h
thread.o: ../core/lastcontainer.h ../core/mounts.h ../core/mount.h
thread.o: ../core/request.h ../core/requesttypes.h ../core/session.h
thread.o: ../core/done.h ../core/error.h ../core/thread.h ../core/misc.h
user.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
user.o: ../app/templates.h ../core/data.h ../core/dirs.h ../core/item.h
user.o: ../core/dircontainer.h ../core/users.h ../core/user.h
user.o: ../core/ugcontainer.h ../core/log.h ../core/groups.h ../core/group.h
user.o: ../core/functions.h ../core/function.h ../core/lastcontainer.h
user.o: ../core/mounts.h ../core/mount.h ../core/request.h
user.o: ../core/requesttypes.h ../core/session.h ../core/done.h
user.o: ../core/error.h ../core/thread.h ../core/misc.h
who.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
who.o: ../app/templates.h ../core/sessioncontainer.h ../core/session.h
who.o: ../core/done.h ../core/item.h ../core/error.h ../core/log.h
who.o: ../core/user.h ../core/requestcontroller.h ../content/content.h
who.o: ../templates/templates.h ../core/sessionmanager.h
who.o: ../core/sessioncontainer.h ../core/functionparser.h
who.o: ../core/requesttypes.h ../app/content.h ../core/data.h ../core/dirs.h
who.o: ../core/dircontainer.h ../core/users.h ../core/ugcontainer.h
who.o: ../core/groups.h ../core/group.h ../core/functions.h
who.o: ../core/function.h ../core/lastcontainer.h ../core/mounts.h
who.o: ../core/mount.h ../core/request.h ../core/thread.h ../core/misc.h

1
templates/Makefile.o.dep Executable file
View File

@ -0,0 +1 @@
o = dir.o doc.o done.o item.o last.o patterncacher.o priv.o sys.o templates.o thread.o user.o who.o

View File

@ -2,12 +2,18 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "templates.h"
#include "../core/request.h"
#include "../core/data.h"
#include "../core/db.h"
#include "../core/log.h"
#include "../core/misc.h"
namespace TemplatesFunctions

View File

@ -2,12 +2,16 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "templates.h"
#include "../core/data.h"
#include "../core/request.h"
#include "../core/misc.h"
namespace TemplatesFunctions

View File

@ -2,12 +2,15 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "templates.h"
#include "../core/request.h"
#include "../core/misc.h"
namespace TemplatesFunctions

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "templates.h"
#include "../core/data.h"
#include "../core/request.h"
#include "../core/misc.h"
namespace TemplatesFunctions

View File

@ -2,16 +2,20 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "templates.h"
#include "../core/lastcontainer.h"
#include "../core/data.h"
#include "../core/request.h"
#include "../core/misc.h"
namespace TemplatesFunctions
{
static size_t last_reqid = 0;

View File

@ -2,12 +2,15 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "patterncacher.h"
#include "../core/data.h"
#include "../core/log.h"
PatternCacher::PatternCacher()

View File

@ -2,20 +2,21 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilepatterncacher
#define headerfilepatterncacher
#ifndef headerfilecmslutemplatespatterncacher
#define headerfilecmslutemplatespatterncacher
#include <vector>
#include <map>
#include "../core/item.h"
#include "../../ezc/src/ezc.h"
#include "../core/log.h"

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "templates.h"
#include "../core/data.h"
#include "../core/request.h"
#include "../core/misc.h"
namespace TemplatesFunctions

View File

@ -2,12 +2,17 @@
* This file is a part of CMSLU -- Content Management System like Unix
* and is not publicly distributed
*
* Copyright (c) 2008, Tomasz Sowa
* Copyright (c) 2008-2009, Tomasz Sowa
* All rights reserved.
*
*/
#include "templates.h"
#include "../core/data.h"
#include "../core/request.h"
#include "../core/misc.h"
namespace TemplatesFunctions

Some files were not shown because too many files have changed in this diff Show More