summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* OS/2: file_cleanup() should be namespace protected as it's not static.Brian Havard2000-03-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59683 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Rework of mutex locks. Makes it safe to use the same object in multipleBrian Havard2000-03-031-1/+5
| | | | | | | | | | | threads while protecting against a moderately obscure problem where multiple handles to the same named mutex in the SAME THREAD behave as if they were the same handle. IE calling lock on one handle & unlock on another would result in the mutex not being owned by the thread. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59680 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Use the COMSPEC envar to set the shell name.Bill Stoddard2000-03-031-1/+1
| | | | | | | | Submitted by: Bill Rowe <wrowe@Ind.com> Reviewed by: Bill Stoddard <stoddard@apache.org> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59679 13f79535-47bb-0310-9956-ffa450edef68
* Fix the logic for ap_signal, so it is exposed in external header files in APR.Ryan Bloom2000-03-021-0/+16
| | | | | | | Also change the header file included in http_log.c. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59676 13f79535-47bb-0310-9956-ffa450edef68
* Make file I/O and network I/O writev/sendv APIs consistent.Bill Stoddard2000-02-214-18/+1
| | | | | | | | | Eliminate use of ap_iovec_t and use Posix struct iovec. I never did hear a case (much less a strong case) supporting the need for ap_iovec_t, so out it goes. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59663 13f79535-47bb-0310-9956-ffa450edef68
* Pass ap_iovec_t on writev calls.Bill Stoddard2000-02-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59660 13f79535-47bb-0310-9956-ffa450edef68
* Have seperate variable on ap_writev to set the number of iovecs passed inBill Stoddard2000-02-182-2/+2
| | | | | | | | | and pass back the number of bytes written. Use ap_iovec_t on the call rather than struct iovec (I may reverse this tomorrow :-). Whatever we do, the network_io and file_io calls need to use iovecs consistently, which isn't the case now. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59659 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup the code to determine what kind of shared memory we are using. ThisRyan Bloom2000-02-041-4/+5
| | | | | | | is still not great, but at least we are trying now. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59643 13f79535-47bb-0310-9956-ffa450edef68
* Fix the APR build process on UNIX. We need to include signal.h if we haveRyan Bloom2000-01-282-3/+7
| | | | | | | it. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59631 13f79535-47bb-0310-9956-ffa450edef68
* Migrate free_proc_chain() for Windows to APR. Fix invalid handle exceptionBill Stoddard2000-01-282-1/+2
| | | | | | | when running CGI scripts. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59629 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup funky indentingBill Stoddard2000-01-281-7/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59626 13f79535-47bb-0310-9956-ffa450edef68
* A first pass at shared memory for Unix. This is still pretty ugly, but IRyan Bloom2000-01-273-12/+28
| | | | | | | | will clean it up over the next few days. At least this gives everybody some idea of where I want the shared memory stuff to go in APR. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59625 13f79535-47bb-0310-9956-ffa450edef68
* We need to know if a platform has fork or not.Ryan Bloom2000-01-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59623 13f79535-47bb-0310-9956-ffa450edef68
* Begin migrating Windows to use APR sockets. Clean-up sendfile a bit more.Bill Stoddard2000-01-263-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59621 13f79535-47bb-0310-9956-ffa450edef68
* Take a couple of values that were static for all locks out of the lockRyan Bloom2000-01-252-8/+1
| | | | | | | structure. These values are now created once and used for all locks. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59619 13f79535-47bb-0310-9956-ffa450edef68
* Namespace protect the HAVE_SEMUN variable that was added. This has notRyan Bloom2000-01-243-5/+3
| | | | | | | | been tested fully, because I don't have access to a platform that uses semaphores, but the logic is sound. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59617 13f79535-47bb-0310-9956-ffa450edef68
* Fix APR_HAVE_IN_ADDRBill Stoddard2000-01-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59615 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile breaks on Windows.Bill Stoddard2000-01-231-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59614 13f79535-47bb-0310-9956-ffa450edef68
* Make interprocess mutexes actually choose, fix semaphore mutexes.Ben Laurie2000-01-232-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59613 13f79535-47bb-0310-9956-ffa450edef68
* Back out most of the last commit. Keep APR macros seperate from ApacheBill Stoddard2000-01-211-1/+1
| | | | | | | macros. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59611 13f79535-47bb-0310-9956-ffa450edef68
* Convert HAVE_NETINET... to the APR macBill Stoddard2000-01-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59610 13f79535-47bb-0310-9956-ffa450edef68
* Finish the commits for the change in the header files. Basically, this hidesRyan Bloom2000-01-193-2/+60
| | | | | | | | | | all of the Apache macros that modules don't need access to. This should have been committed with the modules, but I wasn't paying attention to the directory I was in when I ran the commit. Submitted by: Manoj Kasichainula and Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59608 13f79535-47bb-0310-9956-ffa450edef68
* Update Windows port to new file_io and time specsBill Stoddard2000-01-172-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59602 13f79535-47bb-0310-9956-ffa450edef68
* Initial pass at codepage conversion routines.Ryan Bloom2000-01-141-0/+107
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59597 13f79535-47bb-0310-9956-ffa450edef68
* Replace missing end-of-comment delimiter.Bill Stoddard2000-01-111-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59591 13f79535-47bb-0310-9956-ffa450edef68
* Rework ap_finfo_t to split the file type out of the protection field.Brian Havard2000-01-102-6/+3
| | | | | | | I've taken a stab at the unix implementation but tested only on OS/2. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59584 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Implement delete on close & fix an allocation error in ap_open_stderr.Brian Havard2000-01-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59583 13f79535-47bb-0310-9956-ffa450edef68
* add the ap_get_os_*_time funcs after Dean's time re-write.Ryan Bloom2000-01-091-6/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59580 13f79535-47bb-0310-9956-ffa450edef68
* time overhaul:dgaudet2000-01-092-43/+46
| | | | | | | | | | - ap_time_t is a 64-bit scalar, microseconds since epoch - ap_exploded_time_t corresponds to struct tm with a few extras probably broken on anything except linux. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59578 13f79535-47bb-0310-9956-ffa450edef68
* Add a new time function which creates a new time instance and initializesRyan Bloom2000-01-061-0/+1
| | | | | | | | | | the current time. This augments the ap_make_time ap_current_time combination that we already have because it does the same thing in one function. Both methods are necessary, because more often than not, we create a time instance, but don't fill it out with the current time. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59576 13f79535-47bb-0310-9956-ffa450edef68
* Next pass at the time functions. This defines an ap_ansi_time_t which hasRyan Bloom2000-01-061-2/+6
| | | | | | | | | a specific format (seconds since 0:00:00 Jan 1, 1970). I also renamed the (get|set)_curtime functions to (get|set)ansitime. This should make more sense, and be a bit more intuitive. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59575 13f79535-47bb-0310-9956-ffa450edef68
* Separate the stat structure from the file structure and use ap_stat andRyan Bloom2000-01-062-17/+21
| | | | | | | ap_getfileinfo in apache. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59574 13f79535-47bb-0310-9956-ffa450edef68
* Add some comments to clear up some of the fields to windows' ap_file_t.Ryan Bloom2000-01-051-3/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59573 13f79535-47bb-0310-9956-ffa450edef68
* Initialize all ap_file_t's to NULL. This allows ap_open and ap_stat toRyan Bloom2000-01-041-1/+1
| | | | | | | work together without causing memory leaks. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59571 13f79535-47bb-0310-9956-ffa450edef68
* Add a new function. We shouldn't need to have an open file in order toRyan Bloom2000-01-031-0/+1
| | | | | | | get stat information about the file. This takes care of that problem. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59569 13f79535-47bb-0310-9956-ffa450edef68
* Add APR_SSIZE_T_FMT define to WindowsBill Stoddard2000-01-031-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59568 13f79535-47bb-0310-9956-ffa450edef68
* retsize should be ap_size_t, not hardwired to 32 bitsdgaudet1999-12-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59565 13f79535-47bb-0310-9956-ffa450edef68
* Add a flag to ap_open to allow close on delete status. This should be theRyan Bloom1999-12-301-8/+9
| | | | | | | | | | preferred way to delete a file after closing it, rather than unlinking the file immediately after opening it. This is more portable, and was can code this option to work on all platforms, the unlink option is not always possible. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59560 13f79535-47bb-0310-9956-ffa450edef68
* Some changes to the ap_strftime function. We now inform the user of theRyan Bloom1999-12-301-1/+1
| | | | | | | | length of the string written, and we return a status code. I expect the status code to mean a bit more on Windows than it currently does on Unix. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59558 13f79535-47bb-0310-9956-ffa450edef68
* Use correct data type for socket address length.Sascha Schumann1999-12-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59557 13f79535-47bb-0310-9956-ffa450edef68
* Move the test and defintion of APR_SSIZE_T_FMT. This was causing problems,Ryan Bloom1999-12-272-8/+9
| | | | | | | | | | because the SIZEOF_SSIZE_T macro was in apr_config.h which apr_general.h doesn't have access to. This puts the APR_SSIZE_T_FMT macro in apr.h, which is where it really belongs now, because it is a macro which is meant for use by external programs. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59555 13f79535-47bb-0310-9956-ffa450edef68
* Submitted by: Sascha Schumann <sascha@schumann.cx>rasmus1999-12-241-0/+1
| | | | | | | Reviewed by: Rasmus Lerdorf git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59554 13f79535-47bb-0310-9956-ffa450edef68
* A couple of new functions for APR's time library.Ryan Bloom1999-12-211-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59549 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_gm_timestr_822 to ap_timestr. Now, one function can be used to getRyan Bloom1999-12-211-1/+1
| | | | | | | a timestr for GMT and Localtimes. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59548 13f79535-47bb-0310-9956-ffa450edef68
* A bunch more time functions for use in Apache. This is really the first cutRyan Bloom1999-12-203-0/+12
| | | | | | | at making the time library usable in an actual program. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59542 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Include apr_config.h so HAVE_* macros are available to file I/O code.Brian Havard1999-12-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59538 13f79535-47bb-0310-9956-ffa450edef68
* Various fixes for Win32 APR. The test cases all almost work again onRyan Bloom1999-12-171-0/+1
| | | | | | | | | | windows. The 1 second sleep that has been added to testproc is so that Windows has time to notice the update to the file system. Submitted by: Allan Edwards Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59530 13f79535-47bb-0310-9956-ffa450edef68
* Update the BeOS files to use a single header.David Reid1999-12-153-0/+19
| | | | | | | | BeOS can't use the same non-blocking code as Unix for pipes, so until I can add the appropriate code I'm commenting it out for BeOS. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59527 13f79535-47bb-0310-9956-ffa450edef68
* Fix some build issues with APR on Windows. I am still getting some warnings,Ryan Bloom1999-12-151-2/+0
| | | | | | | but at least Apache itself will almost build again. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59522 13f79535-47bb-0310-9956-ffa450edef68
* Fix some warnings when compiling with -WallRyan Bloom1999-12-141-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59520 13f79535-47bb-0310-9956-ffa450edef68