summaryrefslogtreecommitdiff
path: root/include/apr_errno.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaces in all *.h.ivan2022-11-191-87/+87
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905407 13f79535-47bb-0310-9956-ffa450edef68
* apr_errno: add APR_EALREADY, eventually mapped from system's [WSA]EALREADY.ylavic2020-11-271-1/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1883874 13f79535-47bb-0310-9956-ffa450edef68
* Introduce the subset of svn_cstring_ functions into APR as the apr_cstr_wrowe2016-01-271-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | family of functions. Requires the introduction of APR_ERANGE. Solves apr_cstr_casecmp[n] for ASCII and EBCDIC and borrows from the work of jim, ylavic and wrowe, see r1715401 forwards in; http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util.c?view=log&pathrev=1722194 More performance review is needed against different compilers, so went ahead and borrowed original svn implementation as a basis, and we can port whichever performance enhancements test out more efficiently. Proposing for APR 1.6.0 which is the thought behind the initial @since tags. These must be changed if not accepted for backport. Note that the svn_cstring_join function could not be implemented as-is due to the absence of svn's counted string functionality. It deserves an implementation if not already present, or should be removed before tagging or backporting. No whitespace/formatting cleanup on this pass in order to preserve as much of the svn attributions as possible. This can happen in a later pass to conform to APR's style conventions. While renaming the functions, declarations themsel git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1726928 13f79535-47bb-0310-9956-ffa450edef68
* fix comment typossf2014-05-141-1/+1
| | | | | | | s/appropiate/appropriate/ git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1594684 13f79535-47bb-0310-9956-ffa450edef68
* Using UDS, we sometime try ops not supported on UDS. Make thisjim2014-01-241-1/+15
| | | | | | | a known (and therfore handable) issue git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1561040 13f79535-47bb-0310-9956-ffa450edef68
* Fix doc errors in APR header files.trawick2013-06-251-3/+3
| | | | | | | | PR: 55133 Submitted by: Mike Rumph <mike.rumph oracle.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1496407 13f79535-47bb-0310-9956-ffa450edef68
* Reserve a range of USERERR values for HTTPDsf2012-02-041-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1240472 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Make APR_STATUS_IS_EDSOOPEN() and APR_STATUS_IS_ESYMNOTFOUND()bjh2010-04-211-0/+6
| | | | | | | work correctly on OS/2. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@936322 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Remove all remaining uses of APR_OS2_STATUS macro which has beenbjh2010-04-021-4/+0
| | | | | | | superceded by the more general APR_FROM_OS_ERROR. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@930224 13f79535-47bb-0310-9956-ffa450edef68
* On Windows, map the system error code ERROR DIRECTORY which meansbrane2009-10-031-1/+2
| | | | | | | "directory name is not valid" into APR_STATUS_IS_ENOTDIR. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@821306 13f79535-47bb-0310-9956-ffa450edef68
* Remove apr_ssl schema from apr altogether; this belongs in apr_utilwrowe2008-05-221-21/+1
| | | | | | | | if ever restored. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@659285 13f79535-47bb-0310-9956-ffa450edef68
* Add error codes for the SSL EVP interface for apr-util.minfrin2007-11-211-0/+20
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@597206 13f79535-47bb-0310-9956-ffa450edef68
* Fix testsockets the right way, moving forwards share awrowe2007-10-151-1/+15
| | | | | | clue with the user. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@584657 13f79535-47bb-0310-9956-ffa450edef68
* Fix the typo.jorton2006-08-031-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
* Update license header.jorton2006-08-031-6/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
* Add a "small" space for apr-util to define error codes.dreid2006-06-231-1/+20
| | | | | | | | Instead of just using APR_OS_ERRSPACE_SIZE / 2 I went with a defined size to give us more control over it. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@416634 13f79535-47bb-0310-9956-ffa450edef68
* - remove what appears to be a copy/paste error from docs indreid2006-06-221-1/+46
| | | | | | | | | network_io - add details about ranges of status numbers used by apr git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@416407 13f79535-47bb-0310-9956-ffa450edef68
* Clean up the documentation surrounding the APR_INCOMPLETE status code,rooneg2005-12-131-2/+2
| | | | | | | | | | | | | | | | * include/apr_file_info.h (apr_stat, apr_dir_read): Note that APR_INCOMPLETE can be returned, and that if it is you can use the finfo->valid bitfield to determine which parts of the finfo are filled in. Also break some overly long lines. * include/apr_errno.h (APR_STATUS_IS_INCOMPLETE): Update docs since this is no longer specific to the xlate code. * CHANGES: Note change. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@356615 13f79535-47bb-0310-9956-ffa450edef68
* APR_STATUS_IS_ENOENT(): check for EMVSCATLGtrawick2005-08-231-1/+11
| | | | | | | on z/OS git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@239284 13f79535-47bb-0310-9956-ffa450edef68
* Allow Apache on NetWare to build using either the standard socket libraries ↵bnicholes2005-04-141-1/+1
| | | | | | or the Winsock libraries. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@161365 13f79535-47bb-0310-9956-ffa450edef68
* Yes, these are depreciated, but lets not use C++ Comments.pquerna2005-04-131-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@161234 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.jerenkrantz2005-02-041-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate APR_STATUS_IS_SUCCESS macro.jerenkrantz2004-07-311-11/+1
| | | | | | | Reviewed by (conceptually): Ryan, Greg, Fitz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65292 13f79535-47bb-0310-9956-ffa450edef68
* #undef APR_STATUS_IS_TIMESUP on non-unix platforms before redefining it.rbb2004-04-091-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65051 13f79535-47bb-0310-9956-ffa450edef68
* Deprecated APR_ETIMEDOUT. Everything should be using APR_TIMESUPrbb2004-04-091-6/+19
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65049 13f79535-47bb-0310-9956-ffa450edef68
* Use the correct macros for converting between winsock net errors and apr on ↵bnicholes2004-03-161-4/+5
| | | | | | | | | NetWare submitted by: Jean-Jacques Clar<JJCLAR@novell.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65002 13f79535-47bb-0310-9956-ffa450edef68
* * include/apr_errno.h: Treat EDQUOT like ENOSPC on Unix.jorton2004-03-121-0/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64968 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0jerenkrantz2004-02-131-49/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
* doxygen fixesianh2003-12-291-2/+4
| | | | | | | | | new status check APR_STATUS_IS_ENOTENOUGHENTROPY Submitted by: Sander Temme <sander at temme dot net> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64850 13f79535-47bb-0310-9956-ffa450edef68
* Start of new PRNG.ben2003-11-031-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64712 13f79535-47bb-0310-9956-ffa450edef68
* Fixed my own typo from way back when.brane2003-09-231-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64638 13f79535-47bb-0310-9956-ffa450edef68
* Rebalance our exposed headers such that everything is nested properlywrowe2003-03-051-49/+47
| | | | | | | | | | | | | | between extern "C" blocks and doxygen blocks, that we never include other headers within our own header's extern "C" block, that we always tag the entire file contents for doxygen (within the APR_HEADER_H only-once block), and generally clean up doxygen so that it is all consistent and generates respectable (although not yet 'great') results. Major TODO after 0.9.2 releases; fill in the apr.h APR_HAVE/APR_HAS and apr_type_t documentation!!! git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64397 13f79535-47bb-0310-9956-ffa450edef68
* APR_NOPROC is sort of bogus (we don't check args, remember?) but it reallywrowe2003-02-241-0/+5
| | | | | | | | | didn't convey what we mean if a process *is* passed but not recognized by APR as one of APR's own (e.g. calling unregister other child with an unregistered process.) Add APR_EPROC_UNKNOWN for that definition. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64372 13f79535-47bb-0310-9956-ffa450edef68
* OS/2 can return ERROR_ACCESS_DENIED when creating an already existing directorybjh2003-01-021-2/+4
| | | | | | | | and attempting to delete a non-empty directory. Add it to appropriate test macros. This fixes a few directory tests. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64254 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.thommay2003-01-011-1/+1
| | | | | | | No functional changes git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
* APR_STATUS_IS_FOO() tests must provide at _least_ the canonical test forwrowe2002-12-311-3/+7
| | | | | | | APR_FOO amoungst other platform-specific flavors. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64247 13f79535-47bb-0310-9956-ffa450edef68
* Get the new DSO error values working on Windows. Windows now passes allrbb2002-12-291-0/+8
| | | | | | | DSO tests. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64237 13f79535-47bb-0310-9956-ffa450edef68
* Add the new error codes for DSO failures.rbb2002-12-291-0/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64234 13f79535-47bb-0310-9956-ffa450edef68
* Introduce APR_EPATHWILD to designate that a given apr_file_[l]stat()wrowe2002-12-281-0/+4
| | | | | | | | was against a filename that included wildcards (on platforms where wildcards are invalid filename characters, e.g. OS2, Win32 etc.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64212 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Fill out the possible OS error codes for APR_STATUS_IS_EEXIST.bjh2002-12-261-1/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64208 13f79535-47bb-0310-9956-ffa450edef68
* Some Unix's return EEXIST instead of ENOTEMPTY when deleting a non-emptyrbb2002-12-151-1/+2
| | | | | | | dir. This fixes the test. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64173 13f79535-47bb-0310-9956-ffa450edef68
* IIUC, users expect APR_EAGAIN() to respond TRUE if a lock has contentionwrowe2002-12-101-0/+1
| | | | | | | | | | calling apr_file_lock() with APR_FLOCK_NONBLOCK. In that case, we need to include this in our APR_EAGAIN() case list. I suspect OS2 may want the same. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64135 13f79535-47bb-0310-9956-ffa450edef68
* Go through doxygen output and remove as many errors and warnings as I could.jerenkrantz2002-11-101-2/+2
| | | | | | | | | | | No code changes. (Note removal of #define duplication in apr_poll.h/apr_network_io.h of the APR_POLL* values. This appears to have been an oversight and is now just in apr_poll.h) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64009 13f79535-47bb-0310-9956-ffa450edef68
* Revert the apr_pool_userdata_get change from last night.rbb2002-10-221-2/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63965 13f79535-47bb-0310-9956-ffa450edef68
* Allow people who use userdata to distinguish between a successful retrievalrbb2002-10-221-0/+2
| | | | | | | | | from the pool userdata, and not being able to retrieve. We could also separate out when the hash doesn't exist, but I have left that for somebody else. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63959 13f79535-47bb-0310-9956-ffa450edef68
* Thanks to Brad for cleaning up the only few occurances of this symbolwrowe2002-10-161-2/+0
| | | | | | | in the Netware MPM, it can now be eliminated (never was portably provided.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63937 13f79535-47bb-0310-9956-ffa450edef68
* I believe this is correct... would three platform folks holler from thewrowe2002-10-131-25/+33
| | | | | | | | | Unix, OS2 and Netware camps that this looks good? We aren't trying to deal with h_errno here, only the socket errno values. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63923 13f79535-47bb-0310-9956-ffa450edef68
* Consistify apr_get_netos_error() and apr_set_netos_error().wrowe2002-10-131-4/+25
| | | | | | | | Only remaining question... are h_errno values in the errno domain, or are they in their very own conflicting range? git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63912 13f79535-47bb-0310-9956-ffa450edef68
* Expand the error code spaces:kfogel2002-08-151-7/+22
| | | | | | | | | | | | | | | | | | | * include/apr_errno.h (APR_OS_ERRSPACE_SIZE): New #defined constant, init to 50000. (APR_OS_START_USERERR): New name for APR_OS_START_USEERR. Leave the old name defined for compatibility, but mark as obsolete. (APR_OS_START_STATUS, APR_OS_START_USERERR, APR_OS_START_CANONERR, APR_OS_START_EAIERR, APR_OS_START_SYSERR): Expand ranges as per above, and give USERERR a range ten times larger than the others. * misc/unix/errorcodes.c (apr_strerror): Adjust for the rename. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63814 13f79535-47bb-0310-9956-ffa450edef68
* apr_get_netos_error() must be implemented on all platforms. Aren'twrowe2002-08-041-1/+7
| | | | | | | | | | | you unix folks already having trouble with h_errno v.s. errno? Fix apr_poll to use apr_get_netos_error(). Submitted by: Rob Saccoccio <robs@fastcgi.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63787 13f79535-47bb-0310-9956-ffa450edef68