nss-shared-helper/nss-shared-helper.h
changeset 0 262e1fb001a8
child 3 1d5c74914855
equal deleted inserted replaced
-1:000000000000 0:262e1fb001a8
       
     1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       
     2 
       
     3 /* nss-shared-helper.h - Helper funcs for shared NSS database
       
     4  *
       
     5  * Copyright (C) 2008 Hans Petter Jansson
       
     6  *
       
     7  * This library is free software; you can redistribute it and/or
       
     8  * modify it under the terms of the GNU Lesser General Public
       
     9  * License as published by the Free Software Foundation; either
       
    10  * version 2 of the License, or (at your option) any later version.
       
    11  *
       
    12  * This library is distributed in the hope that it will be useful,
       
    13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
       
    15  * Lesser General Public License for more details.
       
    16  *
       
    17  * You should have received a copy of the GNU Lesser General Public
       
    18  * License along with this library; if not, write to the
       
    19  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
       
    20  * Boston, MA 02111-1307, USA.
       
    21  *
       
    22  * Authors: Hans Petter Jansson <hpj@copyleft.no> */
       
    23 
       
    24 #ifndef NSS_SHARED_HELPER_H
       
    25 #define NSS_SHARED_HELPER_H
       
    26 
       
    27 #include <nss.h>
       
    28 
       
    29 #ifdef __cplusplus
       
    30 extern "C" {
       
    31 #endif
       
    32 
       
    33 char      *nsshelp_get_user_db_path       (void);
       
    34 SECStatus  nsshelp_open_db                (const char *app_id, const char *old_path, PRUint32 flags);
       
    35 
       
    36 #ifdef __cplusplus
       
    37 }
       
    38 #endif
       
    39 
       
    40 #endif  /* NSS_SHARED_HELPER_H */