asn1fix_misc.h
来自「RSA加密/解密算法源码 asn1c-0.9.12」· C头文件 代码 · 共 41 行
H
41 行
/* * Miscellaneous functions necessary for several other modules. */#ifndef _ASN1FIX_MISC_H_#define _ASN1FIX_MISC_H_/* * Recursively invoke a given function over the given expr and all its * children. */int asn1f_recurse_expr(arg_t *arg, int (*f)(arg_t *arg));/* * Check that every child of a given expr has unique name or does not have any. * If opt_compare == NULL, the default comparison of the argument's * names (identifiers) will be performed. */int asn1f_check_unique_expr(arg_t *arg, int (*opt_compare)(asn1p_expr_t *a, asn1p_expr_t *b));/* * Check that every preceeding child of the given expr is not * having the name of the given one. * If opt_compare == NULL, the default comparison of the argument's * names (identifiers) will be performed. */int asn1f_check_unique_expr_child(arg_t *arg, asn1p_expr_t *child, int (*opt_compare)(asn1p_expr_t *a, asn1p_expr_t *b));/* * Return number of children. */int asn1f_count_children(asn1p_expr_t *parent);/* * Check if type is explicitly known. */int asn1f_check_known_external_type(const char *);#endif /* _ASN1FIX_MISC_H_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?