Codebase list libcrypt-cracklib-perl / run/8eb7ed99-3f37-4872-ab4a-a4033d4ebd79/main Cracklib.xs
run/8eb7ed99-3f37-4872-ab4a-a4033d4ebd79/main

Tree @run/8eb7ed99-3f37-4872-ab4a-a4033d4ebd79/main (Download .tar.gz)

Cracklib.xs @run/8eb7ed99-3f37-4872-ab4a-a4033d4ebd79/mainraw · 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