Atrinik Server  4.0
Functions
firewall.c File Reference
#include <global.h>
#include <object.h>
#include <object_methods.h>

Go to the source code of this file.

Functions

static void process_func (object *op)
 
static int trigger_func (object *op, object *cause, int state)
 
 OBJECT_TYPE_INIT_DEFINE (firewall)
 

Detailed Description

Handles code for firewall.

Author
Alex Tokar

Definition in file firewall.c.

Function Documentation

OBJECT_TYPE_INIT_DEFINE ( firewall  )

Initialize the firewall type object methods.

Definition at line 69 of file firewall.c.

static void process_func ( object op)
static

Processes an object, giving it the opportunity to move or react.

Parameters
opThe object to process.

Definition at line 38 of file firewall.c.

static int trigger_func ( object op,
object cause,
int  state 
)
static

An object is triggered by another one.

Parameters
opThe object being triggered.
causeThe object that is the cause of the trigger.
stateTrigger state.

Definition at line 51 of file firewall.c.