.
This commit is contained in:
@@ -5,8 +5,6 @@
|
|||||||
#include "gopam.h"
|
#include "gopam.h"
|
||||||
#include "_cgo_export.h"
|
#include "_cgo_export.h"
|
||||||
|
|
||||||
//#cgo LDFLAGS: -lpam
|
|
||||||
|
|
||||||
/* Simplification of pam_get_item to remove type ambiguity. Will never
|
/* Simplification of pam_get_item to remove type ambiguity. Will never
|
||||||
be called (promise) with a type that returns anything other than a string */
|
be called (promise) with a type that returns anything other than a string */
|
||||||
get_item_result pam_get_item_string(pam_handle_t *handle, int type) {
|
get_item_result pam_get_item_string(pam_handle_t *handle, int type) {
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ package pam
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
//#include "gopam.h"
|
//#include "gopam.h"
|
||||||
|
//#cgo LDFLAGS: -lpam
|
||||||
"C"
|
"C"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
"strings"
|
"strings"
|
||||||
|
|||||||
Reference in New Issue
Block a user