Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/apache2/modperl_svptr_table.h
$ cat -n /usr/include/apache2/modperl_svptr_table.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_SVPTR_TABLE_H 18 #define MODPERL_SVPTR_TABLE_H 19 20 #ifdef USE_ITHREADS 21 22 PTR_TBL_t *modperl_svptr_table_clone(pTHX_ PerlInterpreter *proto_perl, 23 PTR_TBL_t *source); 24 25 #endif 26 27 void modperl_svptr_table_destroy(pTHX_ PTR_TBL_t *tbl); 28 29 void modperl_svptr_table_delete(pTHX_ PTR_TBL_t *tbl, void *key); 30 31 /* 32 * XXX: the following are a copy of the Perl 5.8.0 Perl_ptr_table api 33 * renamed s/Perl_ptr/modperl_svptr/g; 34 * two reasons: 35 * these functions do not exist without -DUSE_ITHREADS 36 * the clear/free functions do not exist in 5.6.x 37 */ 38 39 PTR_TBL_t * 40 modperl_svptr_table_new(pTHX); 41 42 void * 43 modperl_svptr_table_fetch(pTHX_ PTR_TBL_t *tbl, void *sv); 44 45 void 46 modperl_svptr_table_store(pTHX_ PTR_TBL_t *tbl, void *oldv, void *newv); 47 48 void 49 modperl_svptr_table_split(pTHX_ PTR_TBL_t *tbl); 50 51 void 52 modperl_svptr_table_clear(pTHX_ PTR_TBL_t *tbl); 53 54 void 55 modperl_svptr_table_free(pTHX_ PTR_TBL_t *tbl); 56 57 #endif /* MODPERL_SVPTR_TABLE_H */ 58 59 /* 60 * Local Variables: 61 * c-basic-offset: 4 62 * indent-tabs-mode: nil 63 * End: 64 */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™