当前位置: 首页>>代码示例>>C++>>正文


C++ CRYPT_MOD_CALL_CHECK函数代码示例

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


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


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