diff -r 000000000000 -r 262e1fb001a8 nss-shared-helper/nss-shared-helper.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nss-shared-helper/nss-shared-helper.h Fri Jul 09 09:55:01 2010 +0200 @@ -0,0 +1,40 @@ +/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ + +/* nss-shared-helper.h - Helper funcs for shared NSS database + * + * Copyright (C) 2008 Hans Petter Jansson + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + * Authors: Hans Petter Jansson */ + +#ifndef NSS_SHARED_HELPER_H +#define NSS_SHARED_HELPER_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +char *nsshelp_get_user_db_path (void); +SECStatus nsshelp_open_db (const char *app_id, const char *old_path, PRUint32 flags); + +#ifdef __cplusplus +} +#endif + +#endif /* NSS_SHARED_HELPER_H */