Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F633231
phongo_client.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
phongo_client.h
View Options
/*
* Copyright 2022-present MongoDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef PHONGO_CLIENT_H
#define PHONGO_CLIENT_H
#include
<php.h>
#include
"phongo_classes.h"
const
char
*
php_phongo_crypt_shared_version
(
void
);
void
phongo_manager_init
(
php_phongo_manager_t
*
manager
,
const
char
*
uri_string
,
zval
*
options
,
zval
*
driverOptions
);
void
php_phongo_client_reset_once
(
php_phongo_manager_t
*
manager
,
int
pid
);
bool
php_phongo_client_register
(
php_phongo_manager_t
*
manager
);
bool
php_phongo_client_unregister
(
php_phongo_manager_t
*
manager
);
bool
php_phongo_manager_register
(
php_phongo_manager_t
*
manager
);
bool
php_phongo_manager_unregister
(
php_phongo_manager_t
*
manager
);
void
php_phongo_pclient_destroy_ptr
(
zval
*
ptr
);
#define PHONGO_RESET_CLIENT_IF_PID_DIFFERS(intern, manager) \
do { \
int pid = (int) getpid(); \
if ((intern)->created_by_pid != pid) { \
php_phongo_client_reset_once((manager), pid); \
} \
} while (0)
#endif
/* PHONGO_CLIENT_H */
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Nov 15, 4:22 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
129778
Default Alt Text
phongo_client.h (1 KB)
Attached To
Mode
R114 php-mongodb
Attached
Detach File
Event Timeline