Mercurial > pidgin.yaz
comparison libpurple/certificate.h @ 19023:eb86ff3ba21a
- Add get_pools, get_verifiers, and get_schemes
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Sat, 14 Jul 2007 02:54:48 +0000 |
parents | 1f07f96dc1ce |
children | b3acaf46d9ad |
comparison
equal
deleted
inserted
replaced
19022:1f07f96dc1ce | 19023:eb86ff3ba21a |
---|---|
552 * @return Pointer to the located Scheme, or NULL if it isn't found. | 552 * @return Pointer to the located Scheme, or NULL if it isn't found. |
553 */ | 553 */ |
554 PurpleCertificateScheme * | 554 PurpleCertificateScheme * |
555 purple_certificate_find_scheme(const gchar *name); | 555 purple_certificate_find_scheme(const gchar *name); |
556 | 556 |
557 /** | |
558 * Get all registered CertificateSchemes | |
559 * | |
560 * @return GList pointing to all registered CertificateSchemes | |
561 */ | |
562 GList * | |
563 purple_certificate_get_schemes(void); | |
564 | |
557 /** Register a CertificateScheme with libpurple | 565 /** Register a CertificateScheme with libpurple |
558 * | 566 * |
559 * No two schemes can be registered with the same name; this function enforces | 567 * No two schemes can be registered with the same name; this function enforces |
560 * that. | 568 * that. |
561 * | 569 * |
581 * @return Pointer to the located Verifier, or NULL if it isn't found. | 589 * @return Pointer to the located Verifier, or NULL if it isn't found. |
582 */ | 590 */ |
583 PurpleCertificateVerifier * | 591 PurpleCertificateVerifier * |
584 purple_certificate_find_verifier(const gchar *scheme_name, const gchar *ver_name); | 592 purple_certificate_find_verifier(const gchar *scheme_name, const gchar *ver_name); |
585 | 593 |
594 /** | |
595 * Get the list of registered CertificateVerifiers | |
596 * | |
597 * @return GList of all registered PurpleCertificateVerifier | |
598 */ | |
599 GList * | |
600 purple_certificate_get_verifiers(void); | |
586 | 601 |
587 /** | 602 /** |
588 * Register a CertificateVerifier with libpurple | 603 * Register a CertificateVerifier with libpurple |
589 * | 604 * |
590 * @param vr Verifier to register. | 605 * @param vr Verifier to register. |
609 */ | 624 */ |
610 PurpleCertificatePool * | 625 PurpleCertificatePool * |
611 purple_certificate_find_pool(const gchar *scheme_name, const gchar *pool_name); | 626 purple_certificate_find_pool(const gchar *scheme_name, const gchar *pool_name); |
612 | 627 |
613 /** | 628 /** |
629 * Get the list of registered Pools | |
630 * | |
631 * @return GList of all registered PurpleCertificatePool s | |
632 */ | |
633 GList * | |
634 purple_certificate_get_pools(void); | |
635 | |
636 /** | |
614 * Register a CertificatePool with libpurple and call its init function | 637 * Register a CertificatePool with libpurple and call its init function |
615 * | 638 * |
616 * @param pool Pool to register. | 639 * @param pool Pool to register. |
617 * @return TRUE if the register succeeded, otherwise FALSE | 640 * @return TRUE if the register succeeded, otherwise FALSE |
618 */ | 641 */ |