Codebase list libcrypt-cracklib-perl / f8478fcc-7e23-4ff9-aa3f-ddd8be4124e6/upstream Cracklib.xs
f8478fcc-7e23-4ff9-aa3f-ddd8be4124e6/upstream

Tree @f8478fcc-7e23-4ff9-aa3f-ddd8be4124e6/upstream (Download .tar.gz)

Cracklib.xs @f8478fcc-7e23-4ff9-aa3f-ddd8be4124e6/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