PageRenderTime 49ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/src/encriptar.h

#
C Header | 36 lines | 7 code | 8 blank | 21 comment | 0 complexity | 706329774615ed3c6c5e2afec3205991 MD5 | raw file
Possible License(s): GPL-2.0
  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
  2. /*encriptar.h
  3. *
  4. * Copyright (C) 2004 Rizoma Tecnologia Limitada <info@rizoma.cl>
  5. *
  6. * This file is part of rizoma.
  7. *
  8. * Rizoma is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  21. */
  22. #ifndef ENCRIPTAR_H
  23. #define ENCRIPTAR_H
  24. gchar * EncriptarPasswd (gchar *passwd);
  25. gboolean AcceptPassword (gchar *passwd, gchar *user);
  26. gboolean CompararPassword (gchar *passwd_db, gchar *passwd);
  27. gchar * AcceptOnlyPassword (gchar *passwd);
  28. #endif