diff options
| author | Sterling Hughes <sterling@php.net> | 2003-06-25 00:28:10 +0000 |
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2003-06-25 00:28:10 +0000 |
| commit | 09927a7ba242e7d48100bf7cd43824c5528d5792 (patch) | |
| tree | d47efdc84c7deb6e12e8deaa5dcf321f837a08b5 /ext/rpc/xmlrpc/libxmlrpc/encodings.h | |
| parent | 211ca9d9e59152438b236fbbf679cac975decc51 (diff) | |
| download | php-git-09927a7ba242e7d48100bf7cd43824c5528d5792.tar.gz | |
moved to pecl by sascha. remove them from head.
discussed with harald, will remain in pecl till he has some more time to
work on it.
Diffstat (limited to 'ext/rpc/xmlrpc/libxmlrpc/encodings.h')
| -rw-r--r-- | ext/rpc/xmlrpc/libxmlrpc/encodings.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/ext/rpc/xmlrpc/libxmlrpc/encodings.h b/ext/rpc/xmlrpc/libxmlrpc/encodings.h deleted file mode 100644 index 486360b1be..0000000000 --- a/ext/rpc/xmlrpc/libxmlrpc/encodings.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - This file is part of libXMLRPC - a C library for xml-encoded function calls. - - Author: Dan Libby (dan@libby.com) - Epinions.com may be contacted at feedback@epinions-inc.com -*/ - -/* - Copyright 2000 Epinions, Inc. - - Subject to the following 3 conditions, Epinions, Inc. permits you, free - of charge, to (a) use, copy, distribute, modify, perform and display this - software and associated documentation files (the "Software"), and (b) - permit others to whom the Software is furnished to do so as well. - - 1) The above copyright notice and this permission notice shall be included - without modification in all copies or substantial portions of the - Software. - - 2) THE SOFTWARE IS PROVIDED "AS IS", WITHOUT ANY WARRANTY OR CONDITION OF - ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY - IMPLIED WARRANTIES OF ACCURACY, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE OR NONINFRINGEMENT. - - 3) IN NO EVENT SHALL EPINIONS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, - SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT - OF OR IN CONNECTION WITH THE SOFTWARE (HOWEVER ARISING, INCLUDING - NEGLIGENCE), EVEN IF EPINIONS, INC. IS AWARE OF THE POSSIBILITY OF SUCH - DAMAGES. - -*/ - - -#ifndef __ENCODINGS__H -#define __ENCODINGS__H - -/* these defines are for legacy purposes. */ -#define encoding_utf_8 "UTF-8" -typedef const char* ENCODING_ID; -#define utf8_get_encoding_id_string(desired_enc) ((const char*)desired_enc) -#define utf8_get_encoding_id_from_string(id_string) ((ENCODING_ID)id_string) - -char* utf8_encode(const char *s, int len, int *newlen, ENCODING_ID encoding); -char* utf8_decode(const char *s, int len, int *newlen, ENCODING_ID encoding); - -#endif /* __ENCODINGS__H */ |
