Codebase list libcrypt-cracklib-perl / 01eb1c3b-b845-4d96-ab74-d1aed7642b9c/upstream Cracklib.xs
01eb1c3b-b845-4d96-ab74-d1aed7642b9c/upstream

Tree @01eb1c3b-b845-4d96-ab74-d1aed7642b9c/upstream (Download .tar.gz)

Cracklib.xs @01eb1c3b-b845-4d96-ab74-d1aed7642b9c/upstreamraw · history · blame

#ifdef __cplusplus
extern "C" {
#endif
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#ifdef __cplusplus
}
#endif

#include <crack.h>

MODULE = Crypt::Cracklib PACKAGE = Crypt::Cracklib

const char*
_FascistCheck(password, path)
  char *password
  char *path
  PROTOTYPE: $$
  CODE:

  RETVAL = FascistCheck((const char*)password, (const char*)path);

  OUTPUT:
  RETVAL