ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

tree.h
Go to the documentation of this file.
00001 /*  $OpenBSD: tree.h,v 1.5 2004/05/06 22:29:15 deraadt Exp $    */
00002 
00003 /* Definitions for address trees... */
00004 
00005 /*
00006  * Copyright (c) 1995 The Internet Software Consortium.  All rights reserved.
00007  *
00008  * Redistribution and use in source and binary forms, with or without
00009  * modification, are permitted provided that the following conditions
00010  * are met:
00011  *
00012  * 1. Redistributions of source code must retain the above copyright
00013  *    notice, this list of conditions and the following disclaimer.
00014  * 2. Redistributions in binary form must reproduce the above copyright
00015  *    notice, this list of conditions and the following disclaimer in the
00016  *    documentation and/or other materials provided with the distribution.
00017  * 3. Neither the name of The Internet Software Consortium nor the names
00018  *    of its contributors may be used to endorse or promote products derived
00019  *    from this software without specific prior written permission.
00020  *
00021  * THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
00022  * CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
00023  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00024  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00025  * DISCLAIMED.  IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
00026  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
00027  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
00028  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
00029  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00030  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00031  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
00032  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00033  * SUCH DAMAGE.
00034  *
00035  * This software has been written for the Internet Software Consortium
00036  * by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
00037  * Enterprises.  To learn more about the Internet Software Consortium,
00038  * see ``http://www.vix.com/isc''.  To learn more about Vixie
00039  * Enterprises, see ``http://www.vix.com''.
00040  */
00041 
00042 /* A pair of pointers, suitable for making a linked list. */
00043 typedef struct _pair {
00044     caddr_t car;
00045     struct _pair *cdr;
00046 } *pair;
00047 
00048 struct tree_cache {
00049     unsigned char *value;
00050     int len;
00051     int buf_size;
00052     time_t timeout;
00053 };
00054 
00055 struct universe {
00056     char *name;
00057     struct hash_table *hash;
00058     struct dhcp_option *options[256];
00059 };
00060 
00061 struct dhcp_option {
00062     char *name;
00063     char *format;
00064     struct universe *universe;
00065     unsigned char code;
00066 };

Generated on Sun May 27 2012 04:23:30 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.