This is a C library for estimation the password strength defined by The Password Meter.You can simplely input a string and 2 int pass by address and get the result.
This library is design for mobile development like iOS or Android, I don't really know if it was compatible for other platform . It will be appreciated if you would just try it and tell me the compatibility.
Simplely copy PasswordStrength.h and PasswordStrength.c into your project and include it.
Call getPasswordStrength(password, &score, &level);, you can seee more detail in example project.