greenplumn ic_proxy_router 源码

  • 2022-08-18
  • 浏览 (425)

greenplumn ic_proxy_router 代码

文件路径:/src/backend/cdb/motion/ic_proxy_router.h

/*-------------------------------------------------------------------------
 *
 * ic_proxy_router.h
 *
 *
 * Copyright (c) 2020-Present VMware, Inc. or its affiliates.
 *
 *
 *-------------------------------------------------------------------------
 */

#ifndef IC_PROXY_ROUTER_H
#define IC_PROXY_ROUTER_H


#include "postgres.h"

#include <uv.h>


typedef void (* ic_proxy_sent_cb) (void *opaque,
								   const ICProxyPkt *pkt, int status);


extern void ic_proxy_router_init(uv_loop_t *loop);
extern void ic_proxy_router_uninit(void);
extern void ic_proxy_router_route(uv_loop_t *loop, ICProxyPkt *pkt,
								  ic_proxy_sent_cb callback, void *opaque);
extern void ic_proxy_router_write(uv_stream_t *stream,
								  ICProxyPkt *pkt, int32 offset,
								  ic_proxy_sent_cb callback, void *opaque);


#endif   /* IC_PROXY_ROUTER_H */

相关信息

greenplumn 源码目录

相关文章

greenplumn cdbmotion 源码

greenplumn htupfifo 源码

greenplumn ic_common 源码

greenplumn ic_proxy 源码

greenplumn ic_proxy_addr 源码

greenplumn ic_proxy_addr 源码

greenplumn ic_proxy_backend 源码

greenplumn ic_proxy_backend 源码

greenplumn ic_proxy_bgworker 源码

greenplumn ic_proxy_client 源码

0  赞