本文整理汇总了C++中procApiRequest函数的典型用法代码示例。如果您正苦于以下问题:C++ procApiRequest函数的具体用法?C++ procApiRequest怎么用?C++ procApiRequest使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了procApiRequest函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: _rcDataObjGet
int
_rcDataObjGet( rcComm_t *conn, dataObjInp_t *dataObjInp,
portalOprOut_t **portalOprOut, bytesBuf_t *dataObjOutBBuf ) {
int status;
*portalOprOut = NULL;
memset( &conn->transStat, 0, sizeof( transStat_t ) );
memset( dataObjOutBBuf, 0, sizeof( bytesBuf_t ) );
dataObjInp->oprType = GET_OPR;
#ifndef PARA_OPR
addKeyVal( &dataObjInp->condInput, NO_PARA_OP_KW, "" );
#endif
status = procApiRequest( conn, DATA_OBJ_GET_AN, dataObjInp, NULL,
( void ** ) portalOprOut, dataObjOutBBuf );
if ( *portalOprOut != NULL && ( *portalOprOut )->l1descInx < 0 ) {
status = ( *portalOprOut )->l1descInx;
}
return ( status );
}
示例2: rcSendXmsg
/**
* \fn rcSendXmsg( rcComm_t *conn, sendXmsgInp_t *sendXmsgInp )
*
* \brief Send an XMessage.
*
* \user client
*
* \ingroup xmessage
*
* \since 1.0
*
* \author Arcot Rajasekar
*
* \remark none
*
* \note none
*
* \param[in] conn - A rcComm_t connection handle to the server.
* \param[in] sendXmsgInp
*
* \return integer
* \retval 0 on success.
* \sideeffect none
* \pre none
* \post none
* \sa none
**/
int
rcSendXmsg( rcComm_t *conn, sendXmsgInp_t *sendXmsgInp ) {
int status;
status = procApiRequest( conn, SEND_XMSG_AN, sendXmsgInp, NULL,
( void ** ) NULL, NULL );
return status;
}
示例3: rcCollCreate
int
rcCollCreate( rcComm_t *conn, collInp_t *collCreateInp ) {
int status;
status = procApiRequest( conn, COLL_CREATE_AN, collCreateInp, NULL,
( void ** ) NULL, NULL );
return status;
}
示例4: rcSslEnd
int
rcSslEnd( rcComm_t *conn, sslEndInp_t *sslEndInp ) {
int status;
status = procApiRequest( conn, SSL_END_AN, sslEndInp, NULL,
( void ** ) NULL, NULL );
return status;
}
示例5: rcStreamClose
/**
* \fn rcStreamClose( rcComm_t *conn, fileCloseInp_t *fileCloseInp )
*
* \brief Close an existing stream.
*
* \user client
*
* \ingroup rules
*
* \since 1.0
*
*
* \remark none
*
* \note none
*
* \param[in] conn - A rcComm_t connection handle to the server.
* \param[in] fileCloseInp
*
* \return integer
* \retval 0 on success.
* \sideeffect none
* \pre none
* \post none
* \sa none
**/
int
rcStreamClose( rcComm_t *conn, fileCloseInp_t *fileCloseInp ) {
int status;
status = procApiRequest( conn, STREAM_CLOSE_AN, fileCloseInp, NULL,
( void ** ) NULL, NULL );
return status;
}
示例6: rcFileRmdir
/**
* \fn rcFileRmdir( rcComm_t *conn, fileRmdirInp_t *fileRmdirInp )
*
* \brief Remove a directory.
*
* \ingroup server_filedriver
*
* \param[in] conn - A rcComm_t connection handle to the server.
* \param[in] fileRmdirInp
*
* \return integer
* \retval 0 on success
* \sideeffect none
* \pre none
* \post none
* \sa none
**/
int
rcFileRmdir( rcComm_t *conn, fileRmdirInp_t *fileRmdirInp ) {
int status;
status = procApiRequest( conn, FILE_RMDIR_AN, fileRmdirInp, NULL,
( void ** ) NULL, NULL );
return status;
}
示例7: rcZoneReport
int
rcZoneReport( rcComm_t *conn, bytesBuf_t** _bbuf ) {
int status;
status = procApiRequest( conn, ZONE_REPORT_AN, NULL, NULL,
( void ** ) _bbuf, NULL );
return status;
}
示例8: rcRegColl
/**
* \fn rcRegColl( rcComm_t *conn, collInp_t *regCollInp )
*
* \brief Register a collection.
*
* \ingroup server_icat
*
* \param[in] conn - A rcComm_t connection handle to the server.
* \param[in] regCollInp
*
* \return integer
* \retval 0 on success
* \sideeffect none
* \pre none
* \post none
* \sa none
**/
int
rcRegColl( rcComm_t *conn, collInp_t *regCollInp ) {
int status;
status = procApiRequest( conn, REG_COLL_AN, regCollInp, NULL,
( void ** ) NULL, NULL );
return status;
}
示例9: rcAuthRequest
int
rcAuthRequest( rcComm_t *conn, authRequestOut_t **authRequestOut ) {
int status;
status = procApiRequest( conn, AUTH_REQUEST_AN, NULL, NULL,
( void ** ) authRequestOut, NULL );
return ( status );
}
示例10: rcFileChmod
/**
* \fn rcFileChmod( rcComm_t *conn, fileChmodInp_t *fileChmodInp )
*
* \brief Changes mode on a file.
*
* \ingroup server_filedriver
*
* \param[in] conn - A rcComm_t connection handle to the server.
* \param[in] fileChmodInp
*
* \return integer
* \retval 0 on success
* \sideeffect none
* \pre none
* \post none
* \sa none
**/
int
rcFileChmod( rcComm_t *conn, fileChmodInp_t *fileChmodInp ) {
int status;
status = procApiRequest( conn, FILE_CHMOD_AN, fileChmodInp, NULL,
( void ** ) NULL, NULL );
return status;
}
示例11: rcFileTruncate
int
rcFileTruncate( rcComm_t *conn, fileOpenInp_t *fileTruncateInp ) {
int status;
status = procApiRequest( conn, FILE_TRUNCATE_AN, fileTruncateInp, NULL,
( void ** ) NULL, NULL );
return status;
}
示例12: rcCloseCollection
int
rcCloseCollection( rcComm_t *conn, int handleInxInp ) {
int status;
status = procApiRequest( conn, CLOSE_COLLECTION_AN, &handleInxInp, NULL,
( void ** ) NULL, NULL );
return ( status );
}
示例13: rcDataObjLock
int
rcDataObjLock( rcComm_t *conn, dataObjInp_t *dataObjInp ) {
int status;
status = procApiRequest( conn, DATA_OBJ_LOCK_AN, dataObjInp, NULL,
( void ** ) NULL, NULL );
return ( status );
}
示例14: rcSubStructFileTruncate
/**
* \fn rcSubStructFileTruncate( rcComm_t *conn, subFile_t *bunSubTruncateInp )
*
* \brief Truncate a subfile within a structured file object.
*
* \ingroup server_structuredfile
*
* \param[in] conn - A rcComm_t connection handle to the server.
* \param[in] bunSubTruncateInp
*
* \return integer
* \retval 0 on success
* \sideeffect none
* \pre none
* \post none
* \sa none
**/
int
rcSubStructFileTruncate( rcComm_t *conn, subFile_t *bunSubTruncateInp ) {
int status;
status = procApiRequest( conn, SUB_STRUCT_FILE_TRUNCATE_AN, bunSubTruncateInp,
NULL, ( void ** ) NULL, NULL );
return status;
}
示例15: rcServerReport
int
rcServerReport( rcComm_t *conn, bytesBuf_t** _bbuf ) {
int status;
status = procApiRequest( conn, SERVER_REPORT_AN, NULL, NULL,
( void ** ) _bbuf, NULL );
return status;
}