Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/apache2/modperl_perl.h
$ cat -n /usr/include/apache2/modperl_perl.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_PERL_H 18 #define MODPERL_PERL_H 19 20 /* starting from 5.8.1 perl caches ppids, so we need to maintain our 21 * own. some distros fetch fake 5.8.0 with changes from 5.8.1, so we 22 * need to do that for those fake 5.8.0 as well. real 5.8.0 doesn't 23 * have THREADS_HAVE_PIDS defined. 24 */ 25 #if MP_PERL_VERSION_AT_LEAST(5, 8, 0) && THREADS_HAVE_PIDS 26 #define MP_MAINTAIN_PPID 27 #endif 28 29 typedef struct { 30 I32 pid; 31 Uid_t uid, euid; 32 Gid_t gid, egid; 33 #ifdef MP_MAINTAIN_PPID 34 Uid_t ppid; 35 #endif 36 } modperl_perl_ids_t; 37 38 void modperl_perl_core_global_init(pTHX); 39 40 void modperl_perl_init_ids_server(server_rec *s); 41 42 void modperl_perl_destruct(PerlInterpreter *perl); 43 44 void modperl_perl_call_endav(pTHX); 45 46 void modperl_hash_seed_init(apr_pool_t *p); 47 48 void modperl_hash_seed_set(pTHX); 49 50 #ifndef GvCV_set 51 # define GvCV_set(gv, cv) (GvCV(gv)=(cv)) 52 #endif 53 #ifndef GvGP_set 54 # define GvGP_set(gv, gp) (GvGP(gv)=(gp)) 55 #endif 56 57 #ifndef Newx 58 # define Newx(v,n,t) New(0,v,n,t) 59 #endif 60 #ifndef Newxz 61 # define Newxz(v,n,t) Newz(0,v,n,t) 62 #endif 63 64 #endif /* MODPERL_PERL_H */ 65 66 /* 67 * Local Variables: 68 * c-basic-offset: 4 69 * indent-tabs-mode: nil 70 * End: 71 */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™