diff options
author | Stig Bakken <ssb@php.net> | 1999-04-21 23:11:20 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 1999-04-21 23:11:20 +0000 |
commit | a297b95c9da1b6138523f9b707a0fafe60e0d327 (patch) | |
tree | a50bc7a551fe793e1e9403092c0ae2ed4907b053 /ext/hyperwave/hw_error.h | |
parent | f67a9bdc52c39eed6837aef8a1eca195549b1469 (diff) | |
download | php-git-a297b95c9da1b6138523f9b707a0fafe60e0d327.tar.gz |
moved apache, com and hyperwave into ext/
Diffstat (limited to 'ext/hyperwave/hw_error.h')
-rw-r--r-- | ext/hyperwave/hw_error.h | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/ext/hyperwave/hw_error.h b/ext/hyperwave/hw_error.h new file mode 100644 index 0000000000..9730995e31 --- /dev/null +++ b/ext/hyperwave/hw_error.h @@ -0,0 +1,117 @@ +/* + +----------------------------------------------------------------------+ + | PHP HTML Embedded Scripting Language Version 3.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 1997,1998 PHP Development Team (See Credits file) | + +----------------------------------------------------------------------+ + | This program is free software; you can redistribute it and/or modify | + | it under the terms of the GNU General Public License as published by | + | the Free Software Foundation; either version 2 of the License, or | + | (at your option) any later version. | + | | + | This program is distributed in the hope that it will be useful, | + | but WITHOUT ANY WARRANTY; without even the implied warranty of | + | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | + | GNU General Public License for more details. | + | | + | You should have received a copy of the GNU General Public License | + | along with this program; if not, write to the Free Software | + | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | + +----------------------------------------------------------------------+ + | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> | + +----------------------------------------------------------------------+ + */ + + +/* $Id$ */ +#ifndef _HW_ERROR_H +#define _HW_ERROR_H + +#if HYPERWAVE + +#define NOACCESS 1 /* Access denied */ +#define NODOCS 2 /* No documents */ +#define NONAME 3 /* No collection name */ +#define NODOC 4 /* Object is not a document */ +#define NOOBJ 5 /* No object received */ +#define NOCOLLS 6 /* No collections received */ +#define DBSTUBNG 7 /* Connection to low-level database failed */ +#define NOTFOUND 8 /* Object not found */ +#define EXIST 9 /* Collection already exists */ +#define FATHERDEL 10 /* parent collection disappeared */ +#define FATHNOCOLL 11 /* parent collection not a collection */ +#define NOTEMPTY 12 /* Collection not empty */ +#define DESTNOCOLL 13 /* Destination not a collection */ +#define SRCEQDEST 14 /* Source equals destination */ +#define REQPEND 15 /* Request pending */ +#define TIMEOUT 16 /* Timeout */ +#define NAMENOTUNIQUE 17 /* Name not unique */ +#define WRITESTOPPED 18 /* Database now read-only; try again later */ +#define LOCKED 19 /* Object locked; try again later */ +#define CHANGEBASEFLD 20 /* Change of base-attribute */ +#define NOTREMOVED 21 /* Attribute not removed */ +#define FLDEXISTS 22 /* Attribute exists */ +#define CMDSYNTAX 23 /* Syntax error in command */ +#define NOLANGUAGE 24 /* No or unknown language specified */ +#define WRGTYPE 25 /* Wrong type in object */ +#define WRGVERSION 26 /* Client version too old */ +#define CONNECTION 27 /* No connection to other server */ +#define SYNC 28 /* Synchronization error */ +#define NOPATH 29 /* No path entry */ +#define WRGPATH 30 /* Wrong path entry */ +#define PASSWD 31 /* Wrong password (server-to-server server authentication) */ +#define LC_NO_MORE_USERS 32 /* No more users for license */ +#define LC_NO_MORE_DOCS 33 /* No more documents for this session and license */ +#define RSERV_NRESP 34 /* Remote server not responding */ +#define Q_OVERFLOW 35 /* Query overflow */ +#define USR_BREAK 36 /* Break by user */ +#define N_IMPL 37 /* Not implemented */ +#define WRG_VALUE 38 /* Wrong value */ +#define INSUFF_FUNDS 39 /* Insufficient funds */ +#define REORG 40 /* Reorganization in progress */ +#define USER_LIMIT 41 /* Limit of simultaneous users reached */ +#define FTCONNECT 513 /* No connection to fulltext server */ +#define FTTIMEOUT 514 /* Connection timed out */ +#define FTINDEX 515 /* Something wrong with fulltext index */ +#define FTSYNTAX 516 /* Query syntax error */ +#define REQUESTPENDING 1025 /* Request pending */ +#define NOCONNECTION 1026 /* No connection to document server */ +#define WRONGVERSION 1027 /* Wrong protocol version */ +#define NOTINITIALIZED 1028 /* Not initialized */ +#define BADREQUEST 1029 /* Bad request */ +#define BADLRN 1030 /* Bad document number */ +#define OPENSTORE_WRITE 1031 /* Cannot write to local store */ +#define OPENSTORE_READ 1032 /* Cannot read from local store */ +#define READSTORE 1033 /* Store read error */ +#define WRITESTORE 1034 /* Write error */ +#define CLOSESTORE 1035 /* Close error */ +#define BADPATH 1036 /* Bad path */ +#define NOPATHDC 1037 /* No path */ +#define OPENFILE 1038 /* Cannot open file */ +#define READFILE 1039 /* Cannot read from file // same */ +#define WRITEFILE 1040 /* Cannot write to file */ +#define CONNECTCLIENT 1041 /* Could not connect to client */ +#define ACCEPT 1042 /* Could not accept connection */ +#define READSOCKET 1043 /* Could not read from socket */ +#define WRITESOCKET 1044 /* Could not write to socket */ +#define TOOMUCHDATA 1046 /* Received too much data */ +#define TOOFEWDATA 1047 /* Received too few data // ... */ +#define NOTIMPLEMENTED 1049 /* Not implemented */ +#define USERBREAK 1050 /* User break */ +#define INTERNAL 1051 /* Internal error */ +#define INVALIDOBJECT 1052 /* Invalid object */ +#define JOBTIMEOUT 1053 /* Job timed out */ +#define OPENPORT 1054 /* Cannot open port // ... for several resons */ +#define NODATA 1055 /* Received no data */ +#define NOPORT 1056 /* No port to handle this request */ +#define NOTCACHED 1057 /* Document not cached */ +#define BADCACHETYPE 1058 /* Bad cache type */ +#define OPENCACHE_WRITE 1059 /* Cannot write to cache */ +#define OPENCACHE_READ 1060 /* Cannot read from cache // same */ +#define NOSOURCE 1061 /* Do not know what to read */ +#define CLOSECACHE 1062 /* Could not insert into cache */ +#define CONNECTREMOTE 1063 /* Could not connect to remote server */ +#define LOCKREFUSED 1064 /* Lock refused // could not lock the stores */ + +#endif +#endif |