- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
- /* Declaration of W3C Reference Library UTILITIES
- DECLARATION OF W3C REFERENCE LIBRARY UTILITIES
- */
- /*
- ** (c) COPYRIGHT MIT 1995.
- ** Please first read the full copyright statement in the file COPYRIGH.
- */
- /*
- The Utility modules are mostly container modules, dynamic strings and otherstuff that
- you can't live without when building applications. The modules are used by the core
- part of the W3C Reference Library but can also be used by the application. See also the
- main Library include file called WWWLib.h which contains all converters and protocol
- modules known to the Library. You can include this one if the application is to use all
- the functionality of the Library.
- */
- #ifndef WWWUTIL_H
- #define WWWUTIL_H
- /*
- System dependencies
- The tcp.h file includes system-specific include files and flags for I/O to network and
- disk. The only reason for this file is that the Internet world is more complicated than
- Posix and ANSI.
- */
- #include "tcp.h"
- /*
- Library Includes
- */
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*
- BASIC MACROS ETC
- This module includes file contains things we need everywhere, generally macros for
- declarations, booleans, etc.
- */
- #include "HTUtils.h"
- /*
- DYNAMIC ARRAYS
- This module implements a flexible array of pointers. It is a general utility module.
- An array is a structure which may be extended. These routines create and append data
- to arrays, automatically reallocating them as necessary. It is garanteed that the last
- entry in an array is NULL
- */
- #include "HTArray.h"
- /*
- ASSOCIATION LISTS
- This is a small module build on top of the HTList module that provides a way to store
- Name-Value pairs in an easy way.
- */
- #include "HTAssoc.h"
- /*
- ATOMS
- Atoms are strings which are given representative pointer values so that they can be
- stored more efficiently, and comparisons for equality done more efficiently. The
- pointer values are in fact entries into a hash table.
- */
- #include "HTAtom.h"
- /*
- DYNAMIC STRINGS
- A Chunk is a block wise expandable array of type (char *) and is a sort of apology for
- real strings in C. Chunks make it easier to handle dynamic strings of unknown size. It
- is often faster than using the String Copy Routines.
- */
- #include "HTChunk.h"
- /*
- LINKED LISTS
- This module provides the functionality for managing a generic list of data objects. The
- module is implemented as a single linked list using the scheme first in - last out
- (FILO).
- */
- #include "HTList.h"
- /*
- DYMAMIC MEMORY MANAGEMENT
- This module implements a dynamic memory API that is used throughout the Library. The
- API covers three types of functionality:
- Handling of allocation and deallocation of dynamic memory
- Recovering from temporary lack of available memory
- Panic handling in case a new allocation fails
- */
- #include "HTMemory.h"
- /*
- STRING UTILITIES
- Routines for dynamic arrays of characters include string copy, case insensitive
- comparison etc.
- */
- #include "HTString.h"
- /*
- UU ENCODE AND DECODE
- File module provides functions functions for uuencode and decode strings which convert
- a buffer of bytes to/from RFC 1113 printable encoding format. This technique is similar
- to the familiar Unix uuencode format in that it maps 6 binary bits to one ASCII
- character (or more aptly, 3 binary bytes to 4 ASCII characters). However, RFC 1113
- does not use the same mapping to printable characters as uuencode.
- */
- #include "HTUU.h"
- /*
- End of utility modules
- */
- #ifdef __cplusplus
- } /* end extern C definitions */
- #endif
- #endif
- /*
- End of WWWUtil.h declaration */