Go to the source code of this file.
Macros | |
#define | PATH_MAX 4096 |
#define | PABC_ISK_EXT ".isk" |
#define | PABC_PP_EXT ".pp" |
#define | PABC_USR_EXT ".usr" |
#define | PABC_ATTR_DELIM "=" |
Functions | |
enum GNUNET_GenericReturnValue | PABC_write_public_parameters (char const *const pp_name, struct pabc_public_parameters *const pp) |
enum GNUNET_GenericReturnValue | PABC_load_public_parameters (struct pabc_context *const ctx, char const *const pp_name, struct pabc_public_parameters **pp) |
enum GNUNET_GenericReturnValue | PABC_write_usr_ctx (char const *const user_name, char const *const pp_name, struct pabc_context const *const ctx, struct pabc_public_parameters const *const pp, struct pabc_user_context *const usr_ctx) |
enum GNUNET_GenericReturnValue | PABC_read_usr_ctx (char const *const user_name, char const *const pp_name, struct pabc_context const *const ctx, struct pabc_public_parameters const *const pp, struct pabc_user_context **usr_ctx) |
#define PATH_MAX 4096 |
Definition at line 6 of file pabc_helper.h.
#define PABC_ISK_EXT ".isk" |
Definition at line 9 of file pabc_helper.h.
#define PABC_PP_EXT ".pp" |
Definition at line 11 of file pabc_helper.h.
#define PABC_USR_EXT ".usr" |
Definition at line 13 of file pabc_helper.h.
#define PABC_ATTR_DELIM "=" |
Definition at line 15 of file pabc_helper.h.
enum GNUNET_GenericReturnValue PABC_write_public_parameters | ( | char const *const | pp_name, |
struct pabc_public_parameters *const | pp | ||
) |
Definition at line 173 of file pabc_helper.c.
References ctx, filename, get_pabcdir(), GNUNET_ERROR_TYPE_ERROR, GNUNET_free, GNUNET_log, GNUNET_malloc, GNUNET_OK, GNUNET_STRINGS_urlencode(), GNUNET_SYSERR, PABC_PP_EXT, status, and write_file().
Referenced by cr_cont().
enum GNUNET_GenericReturnValue PABC_load_public_parameters | ( | struct pabc_context *const | ctx, |
char const *const | pp_name, | ||
struct pabc_public_parameters ** | pp | ||
) |
Definition at line 135 of file pabc_helper.c.
References ctx, get_pabcdir(), GNUNET_DISK_directory_test(), GNUNET_DISK_file_test(), GNUNET_ERROR_TYPE_ERROR, GNUNET_free, GNUNET_log, GNUNET_OK, GNUNET_STRINGS_urlencode(), GNUNET_SYSERR, GNUNET_YES, PABC_PP_EXT, PABC_read_issuer_ppfile(), and PATH_MAX.
Referenced by pabc_create_presentation().
enum GNUNET_GenericReturnValue PABC_write_usr_ctx | ( | char const *const | user_name, |
char const *const | pp_name, | ||
struct pabc_context const *const | ctx, | ||
struct pabc_public_parameters const *const | pp, | ||
struct pabc_user_context *const | usr_ctx | ||
) |
Definition at line 227 of file pabc_helper.c.
References ctx, get_pabcdir(), GNUNET_ERROR_TYPE_ERROR, GNUNET_free, GNUNET_log, GNUNET_malloc, GNUNET_OK, GNUNET_STRINGS_urlencode(), GNUNET_SYSERR, PABC_USR_EXT, status, and write_file().
Referenced by cr_cont().
enum GNUNET_GenericReturnValue PABC_read_usr_ctx | ( | char const *const | user_name, |
char const *const | pp_name, | ||
struct pabc_context const *const | ctx, | ||
struct pabc_public_parameters const *const | pp, | ||
struct pabc_user_context ** | usr_ctx | ||
) |
Definition at line 301 of file pabc_helper.c.
References ctx, get_pabcdir(), GNUNET_ERROR_TYPE_ERROR, GNUNET_free, GNUNET_log, GNUNET_malloc, GNUNET_OK, GNUNET_STRINGS_urlencode(), GNUNET_SYSERR, PABC_USR_EXT, read_file(), and status.
Referenced by cr_cont(), and pabc_create_presentation().