Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/apache2/modperl_io_apache.h
$ cat -n /usr/include/apache2/modperl_io_apache.h 1 /* Licensed to the Apache Software Foundation (ASF) under one or more 2 * contributor license agreements. See the NOTICE file distributed with 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 6 * the License. You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef MODPERL_IO_APACHE_H 18 #define MODPERL_IO_APACHE_H 19 20 #ifdef PERLIO_LAYERS 21 22 #include "perliol.h" 23 /* XXX: should this be a Makefile.PL config option? */ 24 #define MP_IO_TIE_PERLIO 25 26 #include "apr_portable.h" 27 #include "apr_file_io.h" 28 #include "apr_errno.h" 29 30 typedef enum { 31 MODPERL_IO_APACHE_HOOK_READ, 32 MODPERL_IO_APACHE_HOOK_WRITE 33 } modperl_io_apache_hook_e; 34 35 #define PERLIO_Apache_DEBUG 36 37 MP_INLINE void modperl_io_apache_init(pTHX); 38 39 #else /* #ifdef PERLIO_LAYERS */ 40 41 #define modperl_io_apache_init(pTHX) 42 43 #endif /* #ifdef PERLIO_LAYERS */ 44 45 /** 46 * read 'len' bytes from the request record 'r' into 'buffer' 47 * 48 * this call will block until all 'len' bytes are read, eof is reached 49 * or will return an error otherwise 50 * 51 * @param r request record 52 * @param buffer preallocated buffer of size 'len' to store the data in 53 * @param len how many bytes to read 54 * @return how many bytes were read, 55 * -1 on error (in which case ERRSV ($!) is set) 56 */ 57 MP_INLINE SSize_t modperl_request_read(pTHX_ request_rec *r, 58 char *buffer, Size_t len); 59 60 #endif /* MODPERL_IO_APACHE_H */ 61 62 /* 63 * Local Variables: 64 * c-basic-offset: 4 65 * indent-tabs-mode: nil 66 * End: 67 */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™