[go: up one dir, main page]

File: pam.h

package info (click to toggle)
qtsmbstatus 2.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,368 kB
  • ctags: 567
  • sloc: cpp: 4,333; sh: 171; makefile: 16
file content (13 lines) | stat: -rwxr-xr-x 258 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <pwd.h>
#include <grp.h>
#include <sys/types.h>
#include <string.h>
#include <stdio.h>
extern "C" {
  #include <security/pam_appl.h>
  #include <security/pam_misc.h>
}
#define PAM_SERVICE_NAME "qtsmbstatusd"

int auth(char *username,char* passwd);