gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS gsasl/lib/gssapi


From: gsasl-commit
Subject: CVS gsasl/lib/gssapi
Date: Fri, 24 Sep 2004 16:07:38 +0200

Update of /home/cvs/gsasl/lib/gssapi
In directory dopio:/tmp/cvs-serv14688/lib/gssapi

Modified Files:
        Makefile.am x-gssapi.h 
Added Files:
        mechinfo.c 
Log Message:
Move mechanism definitions from src/common.c into */mechinfo.c.


--- /home/cvs/gsasl/lib/gssapi/Makefile.am      2004/09/18 16:56:01     1.5
+++ /home/cvs/gsasl/lib/gssapi/Makefile.am      2004/09/24 14:07:38     1.6
@@ -21,7 +21,7 @@
 AM_CPPFLAGS = -I$(srcdir)/../src -I../src
 
 noinst_LTLIBRARIES = libgsasl-gssapi.la
-libgsasl_gssapi_la_SOURCES = x-gssapi.h shared.h
+libgsasl_gssapi_la_SOURCES = x-gssapi.h mechinfo.c shared.h
 
 if CLIENT
 libgsasl_gssapi_la_SOURCES += client.c
--- /home/cvs/gsasl/lib/gssapi/x-gssapi.h       2004/09/24 00:30:53     1.8
+++ /home/cvs/gsasl/lib/gssapi/x-gssapi.h       2004/09/24 14:07:38     1.9
@@ -25,7 +25,9 @@
 
 #include "internal.h"
 
-#define _GSASL_GSSAPI_NAME "GSSAPI"
+#define GSASL_GSSAPI_NAME "GSSAPI"
+
+extern Gsasl_mechanism gsasl_gssapi_mechanism;
 
 extern int _gsasl_gssapi_client_start (Gsasl_session_ctx * sctx,
                                       void **mech_data);

--- /home/cvs/gsasl/lib/gssapi/mechinfo.c       2004/09/24 14:07:38     NONE
+++ /home/cvs/gsasl/lib/gssapi/mechinfo.c       2004/09/24 14:07:38     1.1
/* mechinfo.c --- Definition of GSSAPI mechanism.
 * Copyright (C) 2002, 2003, 2004  Simon Josefsson
 *
 * This file is part of GNU SASL Library.
 *
 * GNU SASL Library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * GNU SASL Library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with GNU SASL Library; if not, write to the Free
 * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 * 02111-1307 USA
 *
 */

#if HAVE_CONFIG_H
# include "config.h"
#endif

/* Get specification. */
#include "x-gssapi.h"

Gsasl_mechanism gsasl_gssapi_mechanism = {
  GSASL_GSSAPI_NAME,
  {
    NULL,
    NULL,
#ifdef USE_CLIENT
    _gsasl_gssapi_client_start,
#else
    NULL,
#endif
#ifdef USE_CLIENT
    _gsasl_gssapi_client_step,
#else
    NULL,
#endif
#ifdef USE_CLIENT
    _gsasl_gssapi_client_finish,
#else
    NULL,
#endif
#ifdef USE_CLIENT
    _gsasl_gssapi_client_encode,
#else
    NULL,
#endif
#ifdef USE_CLIENT
    _gsasl_gssapi_client_decode
#else
    NULL
#endif
  },
  {
    NULL,
    NULL,
#ifdef USE_SERVER
    _gsasl_gssapi_server_start,
#else
    NULL,
#endif
#ifdef USE_SERVER
    _gsasl_gssapi_server_step,
#else
    NULL,
#endif
#ifdef USE_SERVER
    _gsasl_gssapi_server_finish,
#else
    NULL,
#endif
    NULL,
    NULL
  }
};




reply via email to

[Prev in Thread] Current Thread [Next in Thread]