added 'stat' winix function

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@665 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-10-23 14:54:44 +00:00
parent 1b053c03ba
commit a1bee81a5b
19 changed files with 446 additions and 156 deletions

View File

@@ -89,8 +89,8 @@ ckeditor.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
ckeditor.o: functions.h functionparser.h adduser.h cat.h chmod.h
ckeditor.o: privchanger.h chown.h cp.h createthread.h default.h download.h
ckeditor.o: emacs.h last.h login.h logout.h ls.h mkdir.h mv.h node.h priv.h
ckeditor.o: reload.h rm.h run.h subject.h funthread.h template.h tinymce.h
ckeditor.o: uname.h upload.h uptime.h who.h ../core/htmlfilter.h
ckeditor.o: reload.h rm.h run.h stat.h subject.h funthread.h template.h
ckeditor.o: tinymce.h uname.h upload.h uptime.h who.h ../core/htmlfilter.h
cp.o: cp.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
cp.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
cp.o: ../core/error.h ../core/log.h ../db/dbitemquery.h ../db/dbitemcolumns.h
@@ -109,8 +109,8 @@ cp.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
cp.o: ../core/system.h ../core/misc.h functions.h functionparser.h adduser.h
cp.o: cat.h chmod.h privchanger.h chown.h ckeditor.h createthread.h default.h
cp.o: download.h emacs.h last.h login.h logout.h ls.h mkdir.h mv.h node.h
cp.o: priv.h reload.h rm.h run.h subject.h funthread.h template.h tinymce.h
cp.o: uname.h upload.h uptime.h who.h ../core/htmlfilter.h
cp.o: priv.h reload.h rm.h run.h stat.h subject.h funthread.h template.h
cp.o: tinymce.h uname.h upload.h uptime.h who.h ../core/htmlfilter.h
createthread.o: createthread.h functionbase.h ../core/item.h ../db/db.h
createthread.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
createthread.o: ../core/textstream.h ../core/error.h ../core/log.h
@@ -132,8 +132,8 @@ createthread.o: ../core/locale.h ../core/system.h functions.h
createthread.o: functionparser.h adduser.h cat.h chmod.h privchanger.h
createthread.o: chown.h ckeditor.h cp.h default.h download.h emacs.h last.h
createthread.o: login.h logout.h ls.h mkdir.h mv.h node.h priv.h reload.h
createthread.o: rm.h run.h subject.h funthread.h template.h tinymce.h uname.h
createthread.o: upload.h uptime.h who.h ../core/htmlfilter.h
createthread.o: rm.h run.h stat.h subject.h funthread.h template.h tinymce.h
createthread.o: uname.h upload.h uptime.h who.h ../core/htmlfilter.h
default.o: default.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
default.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
default.o: ../core/error.h ../core/log.h ../db/dbitemquery.h
@@ -192,8 +192,9 @@ emacs.o: ../core/log.h ../templates/indexpatterns.h ../core/sessionmanager.h
emacs.o: ../core/sessioncontainer.h functions.h functionparser.h adduser.h
emacs.o: cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h createthread.h
emacs.o: default.h download.h last.h login.h logout.h ls.h mkdir.h mv.h
emacs.o: node.h priv.h reload.h rm.h run.h subject.h funthread.h template.h
emacs.o: tinymce.h uname.h upload.h uptime.h who.h ../core/htmlfilter.h
emacs.o: node.h priv.h reload.h rm.h run.h stat.h subject.h funthread.h
emacs.o: template.h tinymce.h uname.h upload.h uptime.h who.h
emacs.o: ../core/htmlfilter.h
functionbase.o: functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
functionbase.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
functionbase.o: ../core/error.h ../core/log.h ../db/dbitemquery.h
@@ -215,8 +216,8 @@ functionbase.o: ../core/locale.h ../core/system.h functions.h
functionbase.o: functionparser.h adduser.h cat.h chmod.h privchanger.h
functionbase.o: chown.h ckeditor.h cp.h createthread.h default.h download.h
functionbase.o: emacs.h last.h login.h logout.h ls.h mkdir.h mv.h node.h
functionbase.o: priv.h reload.h rm.h run.h subject.h funthread.h template.h
functionbase.o: tinymce.h uname.h upload.h uptime.h who.h
functionbase.o: priv.h reload.h rm.h run.h stat.h subject.h funthread.h
functionbase.o: template.h tinymce.h uname.h upload.h uptime.h who.h
functionbase.o: ../core/htmlfilter.h
functionparser.o: functionparser.h ../core/request.h ../core/requesttypes.h
functionparser.o: ../core/session.h ../core/item.h ../core/error.h
@@ -239,9 +240,9 @@ functionparser.o: ../templates/misc.h ../templates/localefilter.h
functionparser.o: ../core/locale.h ../core/system.h adduser.h cat.h chmod.h
functionparser.o: privchanger.h chown.h ckeditor.h cp.h createthread.h
functionparser.o: default.h download.h emacs.h last.h login.h logout.h ls.h
functionparser.o: mkdir.h mv.h node.h priv.h reload.h rm.h run.h subject.h
functionparser.o: funthread.h template.h tinymce.h uname.h upload.h uptime.h
functionparser.o: who.h ../core/htmlfilter.h
functionparser.o: mkdir.h mv.h node.h priv.h reload.h rm.h run.h stat.h
functionparser.o: subject.h funthread.h template.h tinymce.h uname.h upload.h
functionparser.o: uptime.h who.h ../core/htmlfilter.h
functions.o: functions.h functionbase.h ../core/item.h ../db/db.h
functions.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
functions.o: ../core/textstream.h ../core/error.h ../core/log.h
@@ -262,12 +263,13 @@ functions.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
functions.o: functionparser.h adduser.h cat.h chmod.h privchanger.h chown.h
functions.o: ckeditor.h cp.h createthread.h default.h download.h emacs.h
functions.o: last.h login.h logout.h ls.h mkdir.h mv.h node.h priv.h reload.h
functions.o: rm.h run.h subject.h funthread.h template.h tinymce.h uname.h
functions.o: upload.h uptime.h who.h ../core/htmlfilter.h ../core/log.h
functions.o: ../core/misc.h ../core/plugin.h ../core/pluginmsg.h
functions.o: ../core/sessionmanager.h ../core/sessioncontainer.h
functions.o: ../functions/functions.h ../templates/templates.h
functions.o: ../templates/misc.h ../templates/patterncacher.h ../core/item.h
functions.o: rm.h run.h stat.h subject.h funthread.h template.h tinymce.h
functions.o: uname.h upload.h uptime.h who.h ../core/htmlfilter.h
functions.o: ../core/log.h ../core/misc.h ../core/plugin.h
functions.o: ../core/pluginmsg.h ../core/sessionmanager.h
functions.o: ../core/sessioncontainer.h ../functions/functions.h
functions.o: ../templates/templates.h ../templates/misc.h
functions.o: ../templates/patterncacher.h ../core/item.h
functions.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
functions.o: ../core/log.h ../templates/indexpatterns.h
functions.o: ../core/sessionmanager.h
@@ -374,8 +376,8 @@ mkdir.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
mkdir.o: functions.h functionparser.h adduser.h cat.h chmod.h privchanger.h
mkdir.o: chown.h ckeditor.h cp.h createthread.h default.h download.h emacs.h
mkdir.o: last.h login.h logout.h ls.h mv.h node.h priv.h reload.h rm.h run.h
mkdir.o: subject.h funthread.h template.h tinymce.h uname.h upload.h uptime.h
mkdir.o: who.h ../core/htmlfilter.h
mkdir.o: stat.h subject.h funthread.h template.h tinymce.h uname.h upload.h
mkdir.o: uptime.h who.h ../core/htmlfilter.h
mv.o: mv.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
mv.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
mv.o: ../core/error.h ../core/log.h ../db/dbitemquery.h ../db/dbitemcolumns.h
@@ -394,8 +396,8 @@ mv.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
mv.o: ../core/system.h functions.h functionparser.h adduser.h cat.h chmod.h
mv.o: privchanger.h chown.h ckeditor.h cp.h createthread.h default.h
mv.o: download.h emacs.h last.h login.h logout.h ls.h mkdir.h node.h priv.h
mv.o: reload.h rm.h run.h subject.h funthread.h template.h tinymce.h uname.h
mv.o: upload.h uptime.h who.h ../core/htmlfilter.h
mv.o: reload.h rm.h run.h stat.h subject.h funthread.h template.h tinymce.h
mv.o: uname.h upload.h uptime.h who.h ../core/htmlfilter.h
node.o: node.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
node.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
node.o: ../core/error.h ../core/log.h ../db/dbitemquery.h
@@ -501,6 +503,22 @@ run.o: ../core/group.h ../core/loadavg.h ../core/notify.h
run.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
run.o: ../core/mount.h ../core/locale.h ../templates/misc.h
run.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
stat.o: stat.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
stat.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
stat.o: ../core/error.h ../core/log.h ../db/dbitemquery.h
stat.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h ../core/thread.h
stat.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
stat.o: ../core/request.h ../core/requesttypes.h ../core/session.h
stat.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
stat.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
stat.o: ../core/config.h ../core/system.h ../core/dirs.h
stat.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
stat.o: ../core/mount.h ../core/mountparser.h ../core/users.h
stat.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
stat.o: ../core/group.h ../core/loadavg.h ../core/notify.h
stat.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
stat.o: ../core/mount.h ../core/locale.h ../templates/misc.h
stat.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
subject.o: subject.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
subject.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
subject.o: ../core/error.h ../core/log.h ../db/dbitemquery.h
@@ -556,8 +574,8 @@ tinymce.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
tinymce.o: functions.h functionparser.h adduser.h cat.h chmod.h privchanger.h
tinymce.o: chown.h ckeditor.h cp.h createthread.h default.h download.h
tinymce.o: emacs.h last.h login.h logout.h ls.h mkdir.h mv.h node.h priv.h
tinymce.o: reload.h rm.h run.h subject.h funthread.h template.h uname.h
tinymce.o: upload.h uptime.h who.h ../core/htmlfilter.h
tinymce.o: reload.h rm.h run.h stat.h subject.h funthread.h template.h
tinymce.o: uname.h upload.h uptime.h who.h ../core/htmlfilter.h
uname.o: uname.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
uname.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
uname.o: ../core/error.h ../core/log.h ../db/dbitemquery.h

View File

@@ -1 +1 @@
o = adduser.o cat.o chmod.o chown.o ckeditor.o cp.o createthread.o default.o download.o emacs.o functionbase.o functionparser.o functions.o funthread.o last.o login.o logout.o ls.o mkdir.o mv.o node.o priv.o privchanger.o reload.o rm.o run.o subject.o template.o tinymce.o uname.o upload.o uptime.o who.o
o = adduser.o cat.o chmod.o chown.o ckeditor.o cp.o createthread.o default.o download.o emacs.o functionbase.o functionparser.o functions.o funthread.o last.o login.o logout.o ls.o mkdir.o mv.o node.o priv.o privchanger.o reload.o rm.o run.o stat.o subject.o template.o tinymce.o uname.o upload.o uptime.o who.o

View File

@@ -189,6 +189,7 @@ void Functions::Create()
Add(fun_reload);
Add(fun_rm);
Add(fun_run);
Add(fun_stat);
Add(fun_subject);
Add(fun_template);
Add(fun_thread);

View File

@@ -34,6 +34,7 @@
#include "reload.h"
#include "rm.h"
#include "run.h"
#include "stat.h"
#include "subject.h"
#include "funthread.h"
#include "template.h"
@@ -74,6 +75,7 @@ public:
Fun::Reload fun_reload;
Fun::Rm fun_rm;
Fun::Run fun_run;
Fun::Stat fun_stat;
Fun::Subject fun_subject;
Fun::FunThread fun_thread;
Fun::Template fun_template;

24
functions/stat.cpp Executable file
View File

@@ -0,0 +1,24 @@
/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2008-2010, Tomasz Sowa
* All rights reserved.
*
*/
#include "stat.h"
namespace Fun
{
Stat::Stat()
{
fun.url = "stat";
}
} // namespace

34
functions/stat.h Executable file
View File

@@ -0,0 +1,34 @@
/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2010, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfilecmslucontentstat
#define headerfilecmslucontentstat
#include "functionbase.h"
namespace Fun
{
class Stat : public FunctionBase
{
public:
Stat();
private:
};
} // namespace
#endif