modules/script/scriptlog.c File Reference

#include <eggdrop/eggdrop.h>
#include "egg_script_internal.h"

Go to the source code of this file.

Functions

static int script_putlog (char *text)
static int script_putloglev (char *level, char *chan, char *text)

Variables

static const char rcsid [] = "$Id: scriptlog.c,v 1.5 2005-12-01 21:22:11 stdarg Exp $"
script_command_t script_log_cmds []


Function Documentation

static int script_putlog ( char *  text  )  [static]

Definition at line 27 of file scriptlog.c.

References putlog().

00028 {
00029   return putlog(-1, "*", "%s", text);
00030 }

static int script_putloglev ( char *  level,
char *  chan,
char *  text 
) [static]

Definition at line 32 of file scriptlog.c.

References putlog().

00033 {
00034   return putlog(-1, chan, "%s", text);
00035 }


Variable Documentation

const char rcsid[] = "$Id: scriptlog.c,v 1.5 2005-12-01 21:22:11 stdarg Exp $" [static]

Definition at line 21 of file scriptlog.c.

Initial value:

 {
  {"", "putlog", script_putlog, NULL, 1, "s", "text", SCRIPT_INTEGER, 0}, 
  {"", "putloglev", script_putloglev, NULL, 3, "sss", "level channel text", SCRIPT_INTEGER, 0}, 
  {0}
}

Definition at line 37 of file scriptlog.c.


Generated on Sun Nov 30 18:43:36 2008 for eggdrop1.9 by  doxygen 1.5.6