summaryrefslogtreecommitdiff
path: root/libpam/include/security/pam_ext.h
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2006-06-06 11:45:44 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2006-06-06 11:45:44 +0000
commit2f42cd380c92907ed8d6a45fc6cada3df900b4c2 (patch)
treee668070cac327c9bc01512bd13138b5c21d6db71 /libpam/include/security/pam_ext.h
parent45a3264ab12e4f59aebe4f7329c518e036fe7e11 (diff)
Relevant BUGIDs:
Purpose of commit: cleanup Commit summary: --------------- 2006-06-06 Thorsten Kukuk <kukuk@thkukuk.de> * libpam/include/security/pam_malloc.h: Add missing license informations. * libpam/include/security/pam_ext.h: Add brackets for C++. * libpam/include/security/pam_modutil.h: Likewise. * libpam/include/security/pam_modules.h: Document where to find the copyright/license informations. * libpam/include/security/pam_appl.h: Move _pam_compat.h include inside of brackets.
Diffstat (limited to 'libpam/include/security/pam_ext.h')
-rw-r--r--libpam/include/security/pam_ext.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libpam/include/security/pam_ext.h b/libpam/include/security/pam_ext.h
index f6148545..111dd633 100644
--- a/libpam/include/security/pam_ext.h
+++ b/libpam/include/security/pam_ext.h
@@ -1,4 +1,14 @@
/*
+ * Copyright (C) 2005, 2006 Thorsten Kukuk.
+ *
+ * <security/pam_ext.h>
+ *
+ * This header file collects definitions for the extended PAM API.
+ * This is a public interface of the PAM library for PAM modules,
+ * which makes the life of PAM developers easier, but are not documented
+ * in any standard and are not portable between different PAM
+ * implementations.
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -34,6 +44,10 @@
#ifndef _SECURITY__PAM_EXT_H_
#define _SECURITY__PAM_EXT_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <security/_pam_types.h>
#include <stdarg.h>
@@ -60,5 +74,8 @@ pam_prompt (pam_handle_t *pamh, int style, char **response,
#define pam_info(pamh, fmt...) pam_prompt(pamh, PAM_TEXT_INFO, NULL, fmt)
#define pam_vinfo(pamh, fmt, args) pam_vprompt(pamh, PAM_TEXT_INFO, NULL, fmt, args)
+#ifdef __cplusplus
+}
#endif
+#endif