Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

route-none.c

Go to the documentation of this file.
00001 /*
00002  * route-none.c
00003  *
00004  * Copyright (c) 2000 Dug Song <dugsong@monkey.org>
00005  *
00006  * $Id: route-none.c,v 1.5 2002/02/04 03:59:45 dugsong Exp $
00007  */
00008 
00009 #include "config.h"
00010 
00011 #include <sys/types.h>
00012 
00013 #include <errno.h>
00014 #include <stdio.h>
00015 #include <stdlib.h>
00016 
00017 #include "dnet.h"
00018 
00019 route_t *
00020 route_open(void)
00021 {
00022         errno = ENOSYS;
00023         return (NULL);
00024 }
00025 
00026 int
00027 route_add(route_t *r, const struct route_entry *entry)
00028 {
00029         errno = ENOSYS;
00030         return (-1);
00031 }
00032 
00033 int
00034 route_delete(route_t *r, const struct route_entry *entry)
00035 {
00036         errno = ENOSYS;
00037         return (-1);
00038 }
00039 
00040 int
00041 route_get(route_t *r, struct route_entry *entry)
00042 {
00043         errno = ENOSYS;
00044         return (-1);
00045 }
00046 
00047 int
00048 route_loop(route_t *r, route_handler callback, void *arg)
00049 {
00050         errno = ENOSYS;
00051         return (-1);
00052 }
00053 
00054 route_t *
00055 route_close(route_t *r)
00056 {
00057         return (NULL);
00058 }

Generated on Sun May 14 14:51:12 2006 by  doxygen 1.4.2