summaryrefslogtreecommitdiff
path: root/include/apr_general.h
Commit message (Collapse)AuthorAgeFilesLines
* Slightly improve doxygen generated documentation.Christophe Jaillet2018-08-261-12/+13
| | | | | | Add some links to function git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1839182 13f79535-47bb-0310-9956-ffa450edef68
* Fix compilation with FreeBSD on ARM.Jeff Trawick2013-06-171-1/+1
| | | | | | | | Submitted by: Olli Hauer <ohauer gmx.de> Reviewed by: trawick git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1493731 13f79535-47bb-0310-9956-ffa450edef68
* fix typoStefan Fritsch2011-11-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1197393 13f79535-47bb-0310-9956-ffa450edef68
* Clarify that it is save to call apr_initialize several times.Stefan Fritsch2011-10-151-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1183683 13f79535-47bb-0310-9956-ffa450edef68
* Hide apr_wait_for_io_or_timeout() from public view and add insteadBrian Havard2010-04-121-0/+3
| | | | | | | apr_socket_wait() and apr_file_pipe_wait(). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@933338 13f79535-47bb-0310-9956-ffa450edef68
* Add the APR_TYPEDEF_STRUCT macro to provide an implementation ofGraham Leggett2010-01-161-0/+10
| | | | | | | | | complete types where only an incomplete type is available. Remove the driver parameter from the apr_crypto API, the driver is now wrapped inside the apr_crypto_t. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@899910 13f79535-47bb-0310-9956-ffa450edef68
* Fix the typo.Joe Orton2006-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
* Update license header.Joe Orton2006-08-031-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
* apr_revision? Whoops - I rethought that, decided on apr_release.h toWilliam A. Rowe Jr2005-02-071-1/+1
| | | | | | match httpd, and didn't revisit this comment. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151767 13f79535-47bb-0310-9956-ffa450edef68
* In order to remove the win32ver.awk generation of .rc files for apr,William A. Rowe Jr2005-02-071-0/+3
| | | | | | | | | | | it's necessary to have a 'vanilla' c preprocessor file which doesn't have all the extra apr.h or other function declaration cruft. ap_release.h is the httpd project's convention, and it seems to fit the bill. Provide "big red warnings" (tm) to not use this new file directly, if the user wants to retain compatibility with APR 0.x/1.x. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151766 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0Justin Erenkrantz2004-02-131-49/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
* * misc/unix/rand.c, include/apr_general.h (apr_generate_random_bytes):Joe Orton2003-09-291-6/+1
| | | | | | | Use apr_size_t for length parameter. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64662 13f79535-47bb-0310-9956-ffa450edef68
* remove these interfaces:Jeff Trawick2003-09-031-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apr_compare_groups apr_compare_users apr_current_userid apr_explode_localtime apr_explode_time apr_filename_of_pathname apr_get_groupid apr_get_groupname apr_get_home_directory apr_get_userid apr_get_username apr_group_name_get apr_implode_gmt apr_lstat FNM_NOMATCH FNM_NOESCAPE FNM_PATHNAME FNM_PERIOD FNM_CASE_BLIND change the function args to this interface: apr_mmap_dup this function's args changed in a previous commit, so mention that in CHANGES apr_socket_create git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64607 13f79535-47bb-0310-9956-ffa450edef68
* Rebalance our exposed headers such that everything is nested properlyWilliam A. Rowe Jr2003-03-051-13/+28
| | | | | | | | | | | | | | 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: https://svn.apache.org/repos/asf/apr/apr/trunk@64397 13f79535-47bb-0310-9956-ffa450edef68
* MAXIMUM_WAIT_OBJECTS has no basis in APR, and is defined for Win32 withinWilliam A. Rowe Jr2003-02-241-12/+0
| | | | | | | | WinNT.h - and should never be examined outside of the Win32 code (this is confirmed for Apache, it's only referenced in util_win32.c and mpm_winnt.c). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64376 13f79535-47bb-0310-9956-ffa450edef68
* While this is a 'proper' change, it breaks 64 bit platforms.William A. Rowe Jr2003-01-131-3/+8
| | | | | | | Identify as "this will change" with the 1.0 (or 0.10) generation. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64290 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.Thom May2003-01-011-1/+1
| | | | | | | No functional changes git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
* Changes to apr_generate_random_bytes:Joe Orton2002-12-131-3/+3
| | | | | | | | | | | - use apr_size_t for buffer size (please check on non-Unix platforms) - rewrite DEV_RANDOM implementation to re-open if an EOF is received (rather than go into an infinite loop), to cope with the odd /dev/random implementation on BSD/OS 4.1. Also don't leak the fd if the read() fails, and fix a warning with gcc -Wsign-compare. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64166 13f79535-47bb-0310-9956-ffa450edef68
* Go through doxygen output and remove as many errors and warnings as I could.Justin Erenkrantz2002-11-101-0/+4
| | | | | | | | | | | 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: https://svn.apache.org/repos/asf/apr/apr/trunk@64009 13f79535-47bb-0310-9956-ffa450edef68
* The native c offsetof() was conflicting when trying to use the APR_OFFSETOFWilliam A. Rowe Jr2002-07-081-1/+1
| | | | | | | macros with c++ ... simply use our own implementation in that case. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63588 13f79535-47bb-0310-9956-ffa450edef68
* Pedantic docs changeWilliam A. Rowe Jr2002-06-081-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63476 13f79535-47bb-0310-9956-ffa450edef68
* Renames:Cliff Woolley2002-05-181-6/+19
| | | | | | | | APR_XtOffset -> APR_OFFSET APR_XtOffsetOf -> APR_OFFSETOF git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63413 13f79535-47bb-0310-9956-ffa450edef68
* Move APR_STRINGIFY to a common place (apr_general.h). Remove theSander Striker2002-04-221-0/+3
| | | | | | | | macro from apr_version.h. Remove the APR_POOL_STRINGIZE macro form apr_pools.h and use APR_STRINGIZE instead. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63290 13f79535-47bb-0310-9956-ffa450edef68
* Correct const'ification of apr_app_initialize and internal relatedWilliam A. Rowe Jr2002-04-131-2/+6
| | | | | | | | | functions, as pointed out by GStein. Also fix a -very- significant bug in win32/apr_app_initialize() where we misassigned the new env memory to env rather than *env as required. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63260 13f79535-47bb-0310-9956-ffa450edef68
* A comment that made no sense.William A. Rowe Jr2002-04-131-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63259 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.Roy T. Fielding2002-03-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* Spelling police.Justin Erenkrantz2002-03-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63077 13f79535-47bb-0310-9956-ffa450edef68
* Export the APR_ALIGN macros.Sander Striker2002-03-021-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63076 13f79535-47bb-0310-9956-ffa450edef68
* Drop the idea of a two-pass init, apr_app_initialize can handle it all.William A. Rowe Jr2002-02-181-11/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63020 13f79535-47bb-0310-9956-ffa450edef68
* some more Doxygen goodnessIan Holsman2002-02-151-0/+14
| | | | | | | still alot more #defines to go git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62990 13f79535-47bb-0310-9956-ffa450edef68
* Introduce apr_app_main() for global consumption.William A. Rowe Jr2002-01-301-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62872 13f79535-47bb-0310-9956-ffa450edef68
* Clean up GNU compiler issues on NetWareBradley Nicholes2001-12-111-0/+2
| | | | | | | Submitted by: Pavel Novy git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62626 13f79535-47bb-0310-9956-ffa450edef68
* Doxygen updatesIan Holsman2001-08-241-34/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62221 13f79535-47bb-0310-9956-ffa450edef68
* Rename XtOffset to APR_XtOffset. This namespace protectionRyan Bloom2001-08-191-6/+6
| | | | | | | | is important to keep from conflicting with other packages. Submitted by: Doug MacEachern git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62198 13f79535-47bb-0310-9956-ffa450edef68
* Solve the linkage issue with a native-C (nonstd convention) declarationWilliam A. Rowe Jr2001-06-061-2/+16
| | | | | | | | of apr_terminate (for atexit(apr_terminate), etc), and provide an alternate apr_terminate2 only for non-C languages ('pascal' convention.) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61715 13f79535-47bb-0310-9956-ffa450edef68
* Declare memchr() if !APR_HAVE_MEMCHR.Branko Čibej2001-05-101-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61607 13f79535-47bb-0310-9956-ffa450edef68
* *) Make the apr_pool_t structure private.Greg Stein2001-04-261-13/+0
| | | | | | | | | | | *) rename apr_set_abort (in apr_general.h) to apr_pool_set_abort (in apr_pools.h) *) add apr_pool_get_abort (used in apr-util/xml/apr_xml.c) *) add apr_abortfunc_t type and use throughout *) some simplifications within apr_pools.c git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61551 13f79535-47bb-0310-9956-ffa450edef68
* Begin to move functions from the http module to the core. The goal is toRyan Bloom2001-02-261-0/+5
| | | | | | | have only functions that are HTTP specific in the http directory. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61309 13f79535-47bb-0310-9956-ffa450edef68
* *) fix inline handling. we had: apr_inline, APR_INLINE, USE_GNU_INLINE, andGreg Stein2001-02-241-9/+0
| | | | | | | | | | | | | INLINE. Now, we just have APR_INLINE and APR_HAS_INLINE. - convert all usage - note that apr_general messed up the defn (compared to apr.h) - simplify the inline decision logic in os/*/os.h - simplify the code in os/*/os-inline.c *) toss ap_checkconv() [no longer used] git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61291 13f79535-47bb-0310-9956-ffa450edef68
* don't compile mktemp.c unless we have to; it doesn't compile everywhereJeff Trawick2001-02-211-6/+0
| | | | | | | | | | | | | | | | | as it stands now (e.g., Tru64) Somebody with ReliantUNIX or some other box with no mkstemp() needs to try it out now. I wonder where the prototype for mkstemp() comes from on that platform. Regarding my configure.in changes: . The first parm to AC_CHECK_FUNCS() must be the name of the function. . We weren't using the have_mkstemp shell variable anywhere so I stopped setting it. If we need a symbol APR_HAVE_MKSTEMP later we will need to resurrect the have_mkstemp shell variable. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61276 13f79535-47bb-0310-9956-ffa450edef68
* Add mktemp() and mkstemp() emulation for systems which don't have it.Martin Kraemer2001-02-211-0/+6
| | | | | | | | | | | | | | | | | Jean-Frederic writes: I have tested Apache2.0 with a ReliantUNIX machine. This machine has a SVR4 Unix implementation. To compile correctly the -DXTI_SUPPORT should be added to CFLAGS (I have done it when calling configure), and I have added a mkstemp() because it is not in the default runtime library. I have reused and enhanced an mkstemp() routine from FreeBSD. Find enclosed the needed patch to test for mkstemp() and to use ap_mkstemp() when needed. Submitted by: Jean-Frederic Clere <jfrederic.clere@fujitsu-siemens.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61274 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001Roy T. Fielding2001-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
* get rid of the bzero() macro which we spit out on platformsJeff Trawick2001-01-311-4/+0
| | | | | | | | | | | | | where we didn't think bzero() was implemented; it turns out that on SVR4 it is implemented but we spit out the macro anyway and clashed with a system header file As APR doesn't need to guarantee the existence of bzero(), the macro is gone. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61172 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate the APR_SIG* aliases for standard signal names,Roy T. Fielding2001-01-281-91/+0
| | | | | | | since they serve no useful purpose. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61150 13f79535-47bb-0310-9956-ffa450edef68
* Use a typesafe function for access objects' pools.Greg Stein2001-01-241-10/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61113 13f79535-47bb-0310-9956-ffa450edef68
* Add remaining APR_DECLARE()s to all headers. Conditionally addedWilliam A. Rowe Jr2001-01-181-5/+13
| | | | | | | | | | | | | | | | | | | | APR_DECLARES() to the sources, based on compilation emits (there are many that should be changed eventually, but the compiler will emit errors if those sources are added for win32). This change also splits libapr from apr, so the two projects are compiled seperately. Both .dsp files must be kept up-to-date with source file revisions. Finally, libapr.def is no longer needed - so it is gone. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61072 13f79535-47bb-0310-9956-ffa450edef68
* Add an APR_GET_POOL macro to get a pool from any APR type that hasRyan Bloom2001-01-021-0/+11
| | | | | | | | a pool. This requires that ALL apr types put the pool as the first field in their structure. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61001 13f79535-47bb-0310-9956-ffa450edef68
* Add a tip about using atexit.Ryan Bloom2000-12-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60873 13f79535-47bb-0310-9956-ffa450edef68
* move apr_strerror() from apr_general.h to apr_errno.hGreg Stein2000-11-261-8/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60799 13f79535-47bb-0310-9956-ffa450edef68