#define KRB5_FUNC_PROTO__
krb5_error_code krb5_init_context
- PROTOTYPE((krb5_context **));
-void krb5_free_context
PROTOTYPE((krb5_context *));
+void krb5_free_context
+ PROTOTYPE((krb5_context));
/* libkrb.spec */
krb5_error_code krb5_kdc_rep_decrypt_proc
typedef struct _krb5_context {
krb5_magic magic;
void *os_context;
-} krb5_context;
+} *krb5_context;
/* Time set */
typedef struct _krb5_ticket_times {
typedef struct _krb5_os_context {
krb5_magic magic;
-} krb5_os_context;
+} *krb5_os_context;
/* lock mode flags */
#define KRB5_LOCKMODE_SHARED 0x0001
#include <stdio.h>
krb5_error_code krb5_init_os_context
- PROTOTYPE((krb5_context *));
+ PROTOTYPE((krb5_context));
void krb5_free_os_context
- PROTOTYPE((krb5_context *));
+ PROTOTYPE((krb5_context));
/* libos.spec */
krb5_error_code krb5_read_password
krb5_error_code
krb5_init_context(context)
- krb5_context **context;
+ krb5_context *context;
{
- krb5_context *ctx;
+ krb5_context ctx;
krb5_error_code retval;
*context = 0;
void
krb5_free_context(ctx)
- krb5_context *ctx;
+ krb5_context ctx;
{
krb5_os_free_context(ctx);
ctx->magic = 0;
krb5_error_code
krb5_os_init_context(ctx)
- krb5_context *ctx;
+ krb5_context ctx;
{
- krb5_os_context *os_ctx;
+ krb5_os_context os_ctx;
if (ctx->os_context)
return 0;
void
krb5_free_os_context(ctx)
- krb5_context *ctx;
+ krb5_context ctx;
{
- krb5_os_context *os_ctx;
+ krb5_os_context os_ctx;
os_ctx = ctx->os_context;