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

C++ CRYPT_MOD_CALL_CHECK函数代码示例

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

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



在下文中一共展示了CRYPT_MOD_CALL_CHECK函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: crypt_smime_application_handler

/**
 * crypt_smime_application_handler - Wrapper for CryptModuleSpecs::application_handler()
 *
 * Implements ::handler_t
 */
int crypt_smime_application_handler(struct Body *m, struct State *s)
{
  if (CRYPT_MOD_CALL_CHECK(SMIME, application_handler))
    return CRYPT_MOD_CALL(SMIME, application_handler)(m, s);

  return -1;
}
开发者ID:darnir,项目名称:neomutt,代码行数:12,代码来源:cryptglue.c


示例2: return

/* fixme: Needs documentation. */
BODY *crypt_smime_sign_message (BODY *a)
{
  if (CRYPT_MOD_CALL_CHECK (SMIME, sign_message))
    return (CRYPT_MOD_CALL (SMIME, sign_message)) (a);

  return NULL;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:8,代码来源:cryptglue.c


示例3: crypt_smime_verify_one

/* fixme: needs documentation */
int crypt_smime_verify_one (BODY *sigbdy, STATE *s, const char *tempf)
{
  if (CRYPT_MOD_CALL_CHECK (SMIME, verify_one))
    return (CRYPT_MOD_CALL (SMIME, verify_one)) (sigbdy, s, tempf);

  return -1;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:8,代码来源:cryptglue.c


示例4: crypt_smime_decrypt_mime

/* Decrypt am S/MIME message. */
int crypt_smime_decrypt_mime (FILE *a, FILE **b, BODY *c, BODY **d)
{
  if (CRYPT_MOD_CALL_CHECK (SMIME, decrypt_mime))
    return (CRYPT_MOD_CALL (SMIME, decrypt_mime)) (a, b, c, d);

  return -1;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:8,代码来源:cryptglue.c


示例5: crypt_smime_verify_sender

/* Check that the sender matches. */
int crypt_smime_verify_sender(HEADER *h)
{
  if (CRYPT_MOD_CALL_CHECK (SMIME, smime_verify_sender))
    return (CRYPT_MOD_CALL (SMIME, smime_verify_sender)) (h);

  return 1;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:8,代码来源:cryptglue.c


示例6: crypt_pgp_send_menu

int crypt_pgp_send_menu (HEADER *msg, int *redraw)
{
  if (CRYPT_MOD_CALL_CHECK (PGP, send_menu))
    return (CRYPT_MOD_CALL (PGP, send_menu)) (msg, redraw);

  return 0;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:7,代码来源:cryptglue.c


示例7: crypt_smime_send_menu

/**
 * crypt_smime_send_menu - Wrapper for CryptModuleSpecs::send_menu()
 */
int crypt_smime_send_menu(struct Email *msg)
{
  if (CRYPT_MOD_CALL_CHECK(SMIME, send_menu))
    return CRYPT_MOD_CALL(SMIME, send_menu)(msg);

  return 0;
}
开发者ID:darnir,项目名称:neomutt,代码行数:10,代码来源:cryptglue.c


示例8: return

/* This routine attempts to find the keyids of the recipients of a
   message.  It returns NULL if any of the keys can not be found.  */
char *crypt_pgp_findkeys (ADDRESS *to, ADDRESS *cc, ADDRESS *bcc)
{
    if (CRYPT_MOD_CALL_CHECK (PGP, findkeys))
        return (CRYPT_MOD_CALL (PGP, findkeys)) (to, cc, bcc);

    return NULL;
}
开发者ID:tejux,项目名称:mutt-hacks,代码行数:9,代码来源:cryptglue.c


示例9: CRYPT_MOD_CALL

/**
 * crypt_smime_build_smime_entity - Wrapper for CryptModuleSpecs::smime_build_smime_entity()
 */
struct Body *crypt_smime_build_smime_entity(struct Body *a, char *certlist)
{
  if (CRYPT_MOD_CALL_CHECK(SMIME, smime_build_smime_entity))
    return CRYPT_MOD_CALL(SMIME, smime_build_smime_entity)(a, certlist);

  return NULL;
}
开发者ID:darnir,项目名称:neomutt,代码行数:10,代码来源:cryptglue.c


示例10: crypt_smime_verify_one

/**
 * crypt_smime_verify_one - Wrapper for CryptModuleSpecs::verify_one()
 */
int crypt_smime_verify_one(struct Body *sigbdy, struct State *s, const char *tempf)
{
  if (CRYPT_MOD_CALL_CHECK(SMIME, verify_one))
    return CRYPT_MOD_CALL(SMIME, verify_one)(sigbdy, s, tempf);

  return -1;
}
开发者ID:darnir,项目名称:neomutt,代码行数:10,代码来源:cryptglue.c


示例11: crypt_smime_verify_sender

/**
 * crypt_smime_verify_sender - Wrapper for CryptModuleSpecs::smime_verify_sender()
 */
int crypt_smime_verify_sender(struct Email *e)
{
  if (CRYPT_MOD_CALL_CHECK(SMIME, smime_verify_sender))
    return CRYPT_MOD_CALL(SMIME, smime_verify_sender)(e);

  return 1;
}
开发者ID:darnir,项目名称:neomutt,代码行数:10,代码来源:cryptglue.c


示例12: crypt_pgp_valid_passphrase

int crypt_pgp_valid_passphrase (void)
{
  if (CRYPT_MOD_CALL_CHECK (PGP, valid_passphrase))
    return (CRYPT_MOD_CALL (PGP, valid_passphrase)) ();

  return 0;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:7,代码来源:cryptglue.c


示例13: crypt_pgp_decrypt_mime

/* Decrypt a PGP/MIME message. */
int crypt_pgp_decrypt_mime (FILE *a, FILE **b, BODY *c, BODY **d)
{
  if (CRYPT_MOD_CALL_CHECK (PGP, decrypt_mime))
    return (CRYPT_MOD_CALL (PGP, decrypt_mime)) (a, b, c, d);

  return -1;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:8,代码来源:cryptglue.c


示例14: crypt_smime_valid_passphrase

int crypt_smime_valid_passphrase (void)
{
  if (CRYPT_MOD_CALL_CHECK (SMIME, valid_passphrase))
    return (CRYPT_MOD_CALL (SMIME, valid_passphrase)) ();

  return 0;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:7,代码来源:cryptglue.c


示例15: crypt_pgp_application_pgp_handler

/* MIME handler for the application/pgp content-type. */
int crypt_pgp_application_pgp_handler (BODY *m, STATE *s)
{
  if (CRYPT_MOD_CALL_CHECK (PGP, application_handler))
    return (CRYPT_MOD_CALL (PGP, application_handler)) (m, s);
  
  return -1;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:8,代码来源:cryptglue.c


示例16: crypt_smime_application_smime_handler

/* MIME handler for the application/smime content-type. */
int crypt_smime_application_smime_handler (BODY *m, STATE *s)
{
  if (CRYPT_MOD_CALL_CHECK (SMIME, application_handler))
    return (CRYPT_MOD_CALL (SMIME, application_handler)) (m, s);
  
  return -1;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:8,代码来源:cryptglue.c


示例17: crypt_pgp_encrypted_handler

/* MIME handler for an PGP/MIME encrypted message. */
int crypt_pgp_encrypted_handler (BODY *a, STATE *s)
{
  if (CRYPT_MOD_CALL_CHECK (PGP, encrypted_handler))
    return (CRYPT_MOD_CALL (PGP, encrypted_handler)) (a, s);
  
  return -1;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:8,代码来源:cryptglue.c


示例18: crypt_pgp_check_traditional

/* Check for a traditional PGP message in body B. */
int crypt_pgp_check_traditional (FILE *fp, BODY *b, int tagged_only)
{
  if (CRYPT_MOD_CALL_CHECK (PGP, pgp_check_traditional))
    return (CRYPT_MOD_CALL (PGP, pgp_check_traditional)) (fp, b, tagged_only);

  return 0;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:8,代码来源:cryptglue.c


示例19: crypt_smime_send_menu

int crypt_smime_send_menu (HEADER *msg, int *redraw)
{
  if (CRYPT_MOD_CALL_CHECK (SMIME, send_menu))
    return (CRYPT_MOD_CALL (SMIME, send_menu)) (msg, redraw);

  return 0;
}
开发者ID:SteveClement,项目名称:mutt,代码行数:7,代码来源:cryptglue.c


示例20: crypt_smime_decrypt_mime

/**
 * crypt_smime_decrypt_mime - Wrapper for CryptModuleSpecs::decrypt_mime()
 */
int crypt_smime_decrypt_mime(FILE *fp_in, FILE **fp_out, struct Body *b, struct Body **cur)
{
  if (CRYPT_MOD_CALL_CHECK(SMIME, decrypt_mime))
    return CRYPT_MOD_CALL(SMIME, decrypt_mime)(fp_in, fp_out, b, cur);

  return -1;
}
开发者ID:darnir,项目名称:neomutt,代码行数:10,代码来源:cryptglue.c



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C++ CRY_ASSERT函数代码示例发布时间:2022-05-30
下一篇:
C++ CRYPTO_w_lock函数代码示例发布时间: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