Codebase list libcrypt-cracklib-perl / a722ed89-ec95-44b9-834d-48c7d45af6fc/main Cracklib.xs
a722ed89-ec95-44b9-834d-48c7d45af6fc/main

Tree @a722ed89-ec95-44b9-834d-48c7d45af6fc/main (Download .tar.gz)

Cracklib.xs @a722ed89-ec95-44b9-834d-48c7d45af6fc/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