Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/apache2/modperl_apr_perlio.h
$ cat -n /usr/include/apache2/modperl_apr_perlio.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_APR_PERLIO_H 18 #define MODPERL_APR_PERLIO_H 19 20 #ifdef PERLIO_LAYERS 21 #include "perliol.h" 22 #else 23 #include "iperlsys.h" 24 #endif 25 26 #include "apr_portable.h" 27 #include "apr_file_io.h" 28 #include "apr_errno.h" 29 30 #ifndef MP_SOURCE_SCAN 31 #include "apr_optional.h" 32 #endif 33 34 /* 5.6.0 */ 35 #ifndef IoTYPE_RDONLY 36 #define IoTYPE_RDONLY '<' 37 #endif 38 #ifndef IoTYPE_WRONLY 39 #define IoTYPE_WRONLY '>' 40 #endif 41 42 typedef enum { 43 MODPERL_APR_PERLIO_HOOK_READ, 44 MODPERL_APR_PERLIO_HOOK_WRITE 45 } modperl_apr_perlio_hook_e; 46 47 #ifndef MP_SOURCE_SCAN 48 void modperl_apr_perlio_init(pTHX); 49 #endif 50 51 /* The following functions can be used from other .so libs, they just 52 * need to load APR::PerlIO perl module first 53 */ 54 #ifndef MP_SOURCE_SCAN 55 56 #ifdef PERLIO_LAYERS 57 PerlIO *modperl_apr_perlio_apr_file_to_PerlIO(pTHX_ apr_file_t *file, 58 apr_pool_t *pool, 59 modperl_apr_perlio_hook_e type); 60 APR_DECLARE_OPTIONAL_FN(PerlIO *, 61 modperl_apr_perlio_apr_file_to_PerlIO, 62 (pTHX_ apr_file_t *file, apr_pool_t *pool, 63 modperl_apr_perlio_hook_e type)); 64 #endif /* PERLIO_LAYERS */ 65 66 67 SV *modperl_apr_perlio_apr_file_to_glob(pTHX_ apr_file_t *file, 68 apr_pool_t *pool, 69 modperl_apr_perlio_hook_e type); 70 APR_DECLARE_OPTIONAL_FN(SV *, 71 modperl_apr_perlio_apr_file_to_glob, 72 (pTHX_ apr_file_t *file, apr_pool_t *pool, 73 modperl_apr_perlio_hook_e type)); 74 #endif /* MP_SOURCE_SCAN */ 75 76 #endif /* MODPERL_APR_PERLIO_H */ 77 78 /* 79 * Local Variables: 80 * c-basic-offset: 4 81 * indent-tabs-mode: nil 82 * End: 83 */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™