Changeset 42 in openpam


Ignore:
Timestamp:
Feb 9, 2002, 3:43:36 PM (13 years ago)
Author:
des
Message:

Make C++-safe.

Sponsored by: DARPA, NAI Labs

Location:
trunk/include/security
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/security/openpam.h

    r39 r42  
    4242 */
    4343#include <stdarg.h>
     44
     45#ifdef __cplusplus
     46extern "C" {
     47#endif
    4448
    4549/*
     
    200204#endif
    201205
    202 #endif
     206#ifdef __cplusplus
     207}
     208#endif
     209
     210#endif
  • trunk/include/security/pam_appl.h

    r39 r42  
    4040#include <security/pam_types.h>
    4141#include <security/pam_constants.h>
     42
     43#ifdef __cplusplus
     44extern "C" {
     45#endif
    4246
    4347/*
     
    170174#endif /* 0 */
    171175
     176#ifdef __cplusplus
     177}
    172178#endif
     179
     180#endif
  • trunk/include/security/pam_constants.h

    r36 r42  
    3737#ifndef _PAM_CONSTANTS_H_INCLUDED
    3838#define _PAM_CONSTANTS_H_INCLUDED
     39
     40#ifdef __cplusplus
     41extern "C" {
     42#endif
    3943
    4044/*
     
    118122};
    119123
     124#ifdef __cplusplus
     125}
    120126#endif
     127
     128#endif
  • trunk/include/security/pam_modules.h

    r32 r42  
    4141#include <security/pam_constants.h>
    4242#include <security/openpam.h>
     43
     44#ifdef __cplusplus
     45extern "C" {
     46#endif
    4347
    4448/*
     
    138142#endif /* 0 */
    139143
     144#ifdef __cplusplus
     145}
    140146#endif
     147
     148#endif
  • trunk/include/security/pam_types.h

    r16 r42  
    3838#define _PAM_TYPES_H_INCLUDED
    3939
     40#ifdef __cplusplus
     41extern "C" {
     42#endif
     43
    4044/*
    4145 * XSSO 5.1.1
     
    6670typedef struct pam_handle pam_handle_t;
    6771
     72#ifdef __cplusplus
     73}
    6874#endif
     75
     76#endif
Note: See TracChangeset for help on using the changeset viewer.