pinentry-dmenu

a pinentry program based on dmenu
git clone anongit@rnpnr.xyz:pinentry-dmenu.git
Log | Files | Refs | Feed | README | LICENSE

password-cache.h (999B)


      1 /* password-cache.h - Password cache support interfaces.
      2    Copyright (C) 2015 g10 Code GmbH
      3 
      4    This file is part of PINENTRY.
      5 
      6    PINENTRY is free software; you can redistribute it and/or modify it
      7    under the terms of the GNU General Public License as published by
      8    the Free Software Foundation; either version 2 of the License, or
      9    (at your option) any later version.
     10 
     11    PINENTRY is distributed in the hope that it will be useful, but
     12    WITHOUT ANY WARRANTY; without even the implied warranty of
     13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     14    General Public License for more details.
     15 
     16    You should have received a copy of the GNU General Public License
     17    along with this program; if not, see <http://www.gnu.org/licenses/>.
     18  */
     19 
     20 #ifndef PASSWORD_CACHE_H
     21 #define PASSWORD_CACHE_H
     22 
     23 void password_cache_save (const char *key_grip, const char *password);
     24 
     25 char *password_cache_lookup (const char *key_grip);
     26 
     27 int password_cache_clear (const char *keygrip);
     28 
     29 #endif