|
Packit |
5f9837 |
/*
|
|
Packit |
5f9837 |
Unix SMB/CIFS implementation.
|
|
Packit |
5f9837 |
replacement routines for broken systems
|
|
Packit |
5f9837 |
Copyright (C) Andrew Tridgell 1992-1998
|
|
Packit |
5f9837 |
Copyright (C) Jelmer Vernooij 2005-2008
|
|
Packit |
5f9837 |
|
|
Packit |
5f9837 |
** NOTE! The following LGPL license applies to the replace
|
|
Packit |
5f9837 |
** library. This does NOT imply that all of Samba is released
|
|
Packit |
5f9837 |
** under the LGPL
|
|
Packit |
5f9837 |
|
|
Packit |
5f9837 |
This library is free software; you can redistribute it and/or
|
|
Packit |
5f9837 |
modify it under the terms of the GNU Lesser General Public
|
|
Packit |
5f9837 |
License as published by the Free Software Foundation; either
|
|
Packit |
5f9837 |
version 3 of the License, or (at your option) any later version.
|
|
Packit |
5f9837 |
|
|
Packit |
5f9837 |
This library is distributed in the hope that it will be useful,
|
|
Packit |
5f9837 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
5f9837 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
5f9837 |
Lesser General Public License for more details.
|
|
Packit |
5f9837 |
|
|
Packit |
5f9837 |
You should have received a copy of the GNU Lesser General Public
|
|
Packit |
5f9837 |
License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
5f9837 |
*/
|
|
Packit |
5f9837 |
|
|
Packit |
5f9837 |
#ifndef _LIBUTIL_H
|
|
Packit |
5f9837 |
#define _LIBUTIL_H
|
|
Packit |
5f9837 |
|
|
Packit |
5f9837 |
extern size_t strlcpy(char *d, const char *s, size_t bufsize);
|
|
Packit |
5f9837 |
extern size_t strlcat(char *d, const char *s, size_t bufsize);
|
|
Packit |
5f9837 |
|
|
Packit |
5f9837 |
extern char *getusername(uid_t uid);
|
|
Packit |
5f9837 |
#endif /* _LIBUTIL_H */
|
|
Packit |
5f9837 |
|