secret.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* libsecret - GLib wrapper for Secret Service
  2. *
  3. * Copyright 2012 Red Hat Inc.
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU Lesser General Public License as published
  7. * by the Free Software Foundation; either version 2.1 of the licence or (at
  8. * your option) any later version.
  9. *
  10. * See the included COPYING file for more information.
  11. *
  12. * Author: Stef Walter <stefw@gnome.org>
  13. */
  14. #ifndef __SECRET_H__
  15. #define __SECRET_H__
  16. #include <glib.h>
  17. #define __SECRET_INSIDE_HEADER__
  18. #include <libsecret/secret-attributes.h>
  19. #include <libsecret/secret-collection.h>
  20. #include <libsecret/secret-enum-types.h>
  21. #include <libsecret/secret-item.h>
  22. #include <libsecret/secret-password.h>
  23. #include <libsecret/secret-prompt.h>
  24. #include <libsecret/secret-schema.h>
  25. #include <libsecret/secret-schemas.h>
  26. #include <libsecret/secret-service.h>
  27. #include <libsecret/secret-types.h>
  28. #include <libsecret/secret-value.h>
  29. /* SECRET_WITH_UNSTABLE is defined in the secret-unstable.pc pkg-config file */
  30. #if defined(SECRET_WITH_UNSTABLE) || defined(SECRET_API_SUBJECT_TO_CHANGE)
  31. #ifndef SECRET_API_SUBJECT_TO_CHANGE
  32. #warning "Some parts of the libsecret API are unstable. Define SECRET_API_SUBJECT_TO_CHANGE to acknowledge"
  33. #endif
  34. #include <libsecret/secret-paths.h>
  35. #endif /* SECRET_WITH_UNSTABLE || SECRET_API_SUBJECT_TO_CHANGE */
  36. #undef __SECRET_INSIDE_HEADER__
  37. #endif /* __SECRET_H__ */