user_private.h   user_private.h 
skipping to change at line 28 skipping to change at line 28
/* /*
* The interfaces defined in this file are in even more flux than the other s, * The interfaces defined in this file are in even more flux than the other s,
* because this is where the module interface is defined. If you include i t * because this is where the module interface is defined. If you include i t
* in your code, bad things can happen. * in your code, bad things can happen.
*/ */
#ifndef libuser_user_private_h #ifndef libuser_user_private_h
#define libuser_user_private_h #define libuser_user_private_h
#include <config.h>
#include <sys/types.h> #include <sys/types.h>
#include <glib.h> #include <glib.h>
#include <gmodule.h> #include <gmodule.h>
#include <libintl.h> #include <libintl.h>
#include <locale.h> #include <locale.h>
#ifdef WITH_SELINUX #ifdef WITH_SELINUX
#include <selinux/selinux.h> #include <selinux/selinux.h>
#endif #endif
#include "user.h" #include "user.h"
G_BEGIN_DECLS G_BEGIN_DECLS
#define LU_ENT_MAGIC 0x00000006 #define LU_ENT_MAGIC 0x00000006
#define LU_MODULE_VERSION 0x000c0000 #define LU_MODULE_VERSION 0x000c0000
/* FIXME: should use dgettext */ #define _(String) dgettext(PACKAGE_NAME, String)
#define _(String) gettext(String)
#define N_(String) String #define N_(String) String
/* A crypt hash is at least 64 bits of data, encoded 6 bits per printable /* A crypt hash is at least 64 bits of data, encoded 6 bits per printable
* character, and we assume that all crypt algorithms generate strings at * character, and we assume that all crypt algorithms generate strings at
* least this long. */ * least this long. */
#define LU_CRYPTED "{CRYPT}" #define LU_CRYPTED "{CRYPT}"
#define LU_CRYPT_SIZE howmany(64,6) #define LU_CRYPT_SIZE howmany(64,6)
#define LU_CRYPT_INVALID(String) \ #define LU_CRYPT_INVALID(String) \
((strlen(String) > 0) && \ ((strlen(String) > 0) && \
(String[0] != '!') && \ (String[0] != '!') && \
(strlen(String) < LU_CRYPT_SIZE)) (strlen(String) < LU_CRYPT_SIZE))
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/