gensec_gssapi: keep private header file close to the actual code
authorSimo Sorce <idra@samba.org>
Fri, 30 Mar 2012 19:48:54 +0000 (15:48 -0400)
committerAndreas Schneider <asn@samba.org>
Thu, 12 Apr 2012 10:06:41 +0000 (12:06 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
source4/auth/gensec/gensec_gssapi.c
source4/auth/gensec/gensec_gssapi.h [moved from auth/gensec/gensec_gssapi.h with 97% similarity]

index b2729a9bae37277d34474ed104898f0ee3ec50bf..29f1e469e5d86ad6883bbfeea1f5968b0cb01431 100644 (file)
@@ -40,7 +40,7 @@
 #include <gssapi/gssapi.h>
 #include <gssapi/gssapi_krb5.h>
 #include <gssapi/gssapi_spnego.h>
-#include "auth/gensec/gensec_gssapi.h"
+#include "gensec_gssapi.h"
 #include "lib/util/util_net.h"
 
 _PUBLIC_ NTSTATUS gensec_gssapi_init(void);
similarity index 97%
rename from auth/gensec/gensec_gssapi.h
rename to source4/auth/gensec/gensec_gssapi.h
index 694ca6be892272f4a8ef24a51f52044c91a48739..569d787f7f1c113fdc3af065876bb3c0a4f53a95 100644 (file)
@@ -1,8 +1,8 @@
-/* 
+/*
    Unix SMB/CIFS implementation.
 
    Kerberos backend for GENSEC
-   
+
    Copyright (C) Andrew Bartlett <abartlet@samba.org> 2004-2005
    Copyright (C) Stefan Metzmacher <metze@samba.org> 2004-2005
 
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
-   
+
    This program 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 General Public License for more details.
 
-   
+
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 /* This structure described here, so the RPC-PAC test can get at the PAC provided */
 
-enum gensec_gssapi_sasl_state 
+enum gensec_gssapi_sasl_state
 {
        STAGE_GSS_NEG,
        STAGE_SASL_SSF_NEG,
@@ -67,4 +67,3 @@ struct gensec_gssapi_state {
 
        const char *target_principal;
 };
-