代码拉取完成,页面将自动刷新
/**
* Copyright 2009-2014 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 __LOG_STREAM_H__
#define __LOG_STREAM_H__
#include <php.h>
#include <main/php_streams.h>
#include <main/php_network.h>
#include "mcon/types.h"
#include "php_mongo.h"
#include "api/write.h"
#define MONGO_STREAM_NOTIFY_TYPE_IO_INIT 100
#define MONGO_STREAM_NOTIFY_TYPE_LOG 200
#define MONGO_STREAM_NOTIFY_IO_READ 111
#define MONGO_STREAM_NOTIFY_IO_WRITE 112
#define MONGO_STREAM_NOTIFY_IO_PROGRESS PHP_STREAM_NOTIFY_PROGRESS
#define MONGO_STREAM_NOTIFY_IO_COMPLETED PHP_STREAM_NOTIFY_COMPLETED
#define MONGO_STREAM_NOTIFY_LOG_INSERT 211
#define MONGO_STREAM_NOTIFY_LOG_QUERY 212
#define MONGO_STREAM_NOTIFY_LOG_UPDATE 213
#define MONGO_STREAM_NOTIFY_LOG_DELETE 214
#define MONGO_STREAM_NOTIFY_LOG_GETMORE 215
#define MONGO_STREAM_NOTIFY_LOG_KILLCURSOR 216
#define MONGO_STREAM_NOTIFY_LOG_BATCHINSERT 217
#define MONGO_STREAM_NOTIFY_LOG_RESPONSE_HEADER 218
#define MONGO_STREAM_NOTIFY_LOG_WRITE_REPLY 219
#define MONGO_STREAM_NOTIFY_LOG_CMD_INSERT 220
#define MONGO_STREAM_NOTIFY_LOG_CMD_UPDATE 221
#define MONGO_STREAM_NOTIFY_LOG_CMD_DELETE 222
#define MONGO_STREAM_NOTIFY_LOG_WRITE_BATCH 223
void php_mongo_stream_notify_io(mongo_server_options *opts, int code, int sofar, int max TSRMLS_DC);
void mongo_log_stream_insert(mongo_connection *connection, zval *document, zval *options TSRMLS_DC);
void mongo_log_stream_query(mongo_connection *connection, mongo_cursor *cursor TSRMLS_DC);
void mongo_log_stream_update(mongo_connection *connection, zval *ns, zval *criteria, zval *newobj, zval *options, int flags TSRMLS_DC);
void mongo_log_stream_delete(mongo_connection *connection, zval *ns, zval *criteria, zval *options, int flags TSRMLS_DC);
void mongo_log_stream_getmore(mongo_connection *connection, mongo_cursor *cursor TSRMLS_DC);
void mongo_log_stream_killcursor(mongo_connection *connection, int64_t cursor_id TSRMLS_DC);
void mongo_log_stream_batchinsert(mongo_connection *connection, zval *docs, zval *options, int flags TSRMLS_DC);
void mongo_log_stream_response_header(mongo_connection *connection, mongo_cursor *cursor TSRMLS_DC);
void mongo_log_stream_write_reply(mongo_connection *connection, mongo_msg_header *header, php_mongo_reply *reply TSRMLS_DC);
void mongo_log_stream_cmd_insert(mongo_connection *connection, zval *document, php_mongo_write_options *write_options, int message_length, int request_id, char *ns TSRMLS_DC);
void mongo_log_stream_cmd_update(mongo_connection *connection, php_mongo_write_update_args *update_options, php_mongo_write_options *write_options, int message_length, int request_id, char *ns TSRMLS_DC);
void mongo_log_stream_cmd_delete(mongo_connection *connection, php_mongo_write_delete_args *delete_options, php_mongo_write_options *write_options, int message_length, int request_id, char *ns TSRMLS_DC);
void mongo_log_stream_write_batch(mongo_connection *connection, php_mongo_write_options *write_options, int request_id, zval *batch TSRMLS_DC);
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: fdm=marker
* vim: noet sw=4 ts=4
*/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。