From 69477cad708235f2ab79796dc62c06d3c879111c Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Thu, 25 May 2000 15:11:13 +0000 Subject: Add section about utility functions in filters --- doc/bird.sgml | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/bird.sgml b/doc/bird.sgml index 8872628..c0699f7 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -54,7 +54,8 @@ configuration primitives, <cf> is fragment of configuration within normal

Bird is configured using text configuration file. At startup, bird reads /* comment */ are also +recognized. If there's variable number of options, it is grouped using Really simple configuration file might look like this, you can find @@ -328,21 +329,33 @@ if 1234 = i then printn "."; else { print "*** FAIL: if 1 else"; } defined( attribute ) returns TRUE if given attribute is defined. Access to undefined attribute results in runtime error. -

Plus, there are protocol-specific attributes, which are described in protocol sections. +Utility functions + +

There are few functions you might find convient to use: + + + print + prints given expressions, usefull mainly while debugging filters. + + quitbird + terminates bird. Usefull while debugging filter interpretter. + + Protocols Rip @@ -426,8 +439,15 @@ protocol rip MyRIP_test { } +Getting more help + +

This is really last section of this file, should give pointers to +programmers documentation, web pages mailing lists and similar stuff. + + + \ No newline at end of file -- cgit v1.2.3