• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ procApiRequest函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中procApiRequest函数的典型用法代码示例。如果您正苦于以下问题:C++ procApiRequest函数的具体用法?C++ procApiRequest怎么用?C++ procApiRequest使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了procApiRequest函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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 );
}
开发者ID:StephanU,项目名称:irods,代码行数:26,代码来源:rcDataObjGet.cpp


示例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;
}
开发者ID:0x414A,项目名称:irods,代码行数:35,代码来源:rcSendXmsg.cpp


示例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;
}
开发者ID:hurngchunlee,项目名称:irods,代码行数:8,代码来源:rcCollCreate.cpp


示例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;
}
开发者ID:0x414A,项目名称:irods,代码行数:8,代码来源:rcSslEnd.cpp


示例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;
}
开发者ID:hurngchunlee,项目名称:irods,代码行数:34,代码来源:rcStreamClose.cpp


示例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;
}
开发者ID:0x414A,项目名称:irods,代码行数:25,代码来源:rcFileRmdir.cpp


示例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;
}
开发者ID:bpow,项目名称:irods,代码行数:8,代码来源:rcZoneReport.cpp


示例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;
}
开发者ID:hurngchunlee,项目名称:irods,代码行数:25,代码来源:rcRegColl.cpp


示例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 );
}
开发者ID:PlantandFoodResearch,项目名称:irods,代码行数:8,代码来源:rcAuthRequest.cpp


示例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;
}
开发者ID:0x414A,项目名称:irods,代码行数:25,代码来源:rcFileChmod.cpp


示例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;
}
开发者ID:bpow,项目名称:irods,代码行数:8,代码来源:rcFileTruncate.cpp


示例12: rcCloseCollection

int
rcCloseCollection( rcComm_t *conn, int handleInxInp ) {
    int status;
    status = procApiRequest( conn, CLOSE_COLLECTION_AN, &handleInxInp, NULL,
                             ( void ** ) NULL, NULL );

    return ( status );
}
开发者ID:PlantandFoodResearch,项目名称:irods,代码行数:8,代码来源:rcCloseCollection.cpp


示例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 );
}
开发者ID:PlantandFoodResearch,项目名称:irods,代码行数:8,代码来源:rcDataObjLock.cpp


示例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;
}
开发者ID:hurngchunlee,项目名称:irods,代码行数:25,代码来源:rcSubStructFileTruncate.cpp


示例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;
}
开发者ID:irods,项目名称:irods_zonereport,代码行数:8,代码来源:rcServerReport.cpp


示例16: rcIESClientHints

int
rcIESClientHints( rcComm_t *conn, bytesBuf_t** _bbuf ) {
    int status;
    status = procApiRequest( conn, IES_CLIENT_HINTS_AN, NULL, NULL,
                             ( void ** ) _bbuf, NULL );

    return status;
}
开发者ID:0x414A,项目名称:irods,代码行数:8,代码来源:rcIESClientHints.cpp


示例17: rcOpenCollection

int
rcOpenCollection( rcComm_t *conn, collInp_t *openCollInp ) {
    int status;
    status = procApiRequest( conn, OPEN_COLLECTION_AN, openCollInp, NULL,
                             ( void ** ) NULL, NULL );

    return status;
}
开发者ID:hurngchunlee,项目名称:irods,代码行数:8,代码来源:rcOpenCollection.cpp


示例18: rcDataObjTruncate

int
rcDataObjTruncate( rcComm_t *conn, dataObjInp_t *dataObjInp ) {
    int status;
    status = procApiRequest( conn, DATA_OBJ_TRUNCATE_AN, dataObjInp, NULL,
                             ( void ** ) NULL, NULL );

    return status;
}
开发者ID:0x414A,项目名称:irods,代码行数:8,代码来源:rcDataObjTruncate.cpp


示例19: rcModAccessControl

int
rcModAccessControl( rcComm_t *conn, modAccessControlInp_t *modAccessControlInp ) {
    int status;
    status = procApiRequest( conn, MOD_ACCESS_CONTROL_AN,  modAccessControlInp, NULL,
                             ( void ** ) NULL, NULL );

    return ( status );
}
开发者ID:PlantandFoodResearch,项目名称:irods,代码行数:8,代码来源:rcModAccessControl.cpp


示例20: rcFileClosedir

int
rcFileClosedir( rcComm_t *conn, fileClosedirInp_t *fileClosedirInp ) {
    int status;
    status = procApiRequest( conn, FILE_CLOSEDIR_AN,  fileClosedirInp, NULL,
                             ( void ** ) NULL, NULL );

    return ( status );
}
开发者ID:PlantandFoodResearch,项目名称:irods,代码行数:8,代码来源:rcFileClosedir.cpp



注:本文中的procApiRequest函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ proc_addr函数代码示例发布时间:2022-05-30
下一篇:
C++ problem函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap