mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3:include: split out fstring.h
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15620
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 105247c900
)
This commit is contained in:
parent
260d1bbacf
commit
27e4297f4c
27
source3/include/fstring.h
Normal file
27
source3/include/fstring.h
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
Unix SMB/CIFS implementation.
|
||||
Copyright (C) 2002 by Martin Pool <mbp@samba.org>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
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/>.
|
||||
*/
|
||||
|
||||
#ifndef _SAMBA_FSTRING_H
|
||||
#define _SAMBA_FSTRING_H
|
||||
|
||||
#ifndef FSTRING_LEN
|
||||
#define FSTRING_LEN 256
|
||||
typedef char fstring[FSTRING_LEN];
|
||||
#endif
|
||||
|
||||
#endif /* _SAMBA_FSTRING_H */
|
@ -237,10 +237,7 @@ enum timestamp_set_resolution {
|
||||
_________)/\\_//(\/(/\)/\//\/\///|_)_______
|
||||
*/
|
||||
|
||||
#ifndef FSTRING_LEN
|
||||
#define FSTRING_LEN 256
|
||||
typedef char fstring[FSTRING_LEN];
|
||||
#endif
|
||||
#include "fstring.h"
|
||||
|
||||
/* debug.h need to be included before samba_util.h for the macro SMB_ASSERT */
|
||||
#include "../lib/util/debug.h"
|
||||
|
Loading…
Reference in New Issue
Block a user