#include <bayonne.h>
Inheritance diagram for Keyroute:

Public Member Functions | |
| Keyroute () | |
| Construct a route table. | |
| void | set (const char *id, const char *data) |
| Add or change a route entry. | |
| void | clear (const char *id) |
| Remove a route entry. | |
| const char * | first (const char *id) |
| Match a dialing string to a route by increase size. | |
| const char * | last (const char *id) |
| Match a dialihng string to a route by decrease size. | |
| unsigned | getIndex (char **list, unsigned max) |
| Dump an index table of routes. | |
Protected Attributes | |
| key * | idx [32] |
| key * | fre |
Friends | |
| class | KeyServer |
Classes | |
| class | key |
These lists are ordered and searched for patterns in digit length order for matching entries.
|
|
Construct a route table.
|
|
|
Remove a route entry.
|
|
|
Match a dialing string to a route by increase size.
|
|
||||||||||||
|
Dump an index table of routes.
|
|
|
Match a dialihng string to a route by decrease size.
|
|
||||||||||||
|
Add or change a route entry.
|
|
|
|
|
|
|
|
|
Reimplemented from String. |
1.4.4