projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gnetworking.h.in: move "#undef interface"
[platform/upstream/glib.git]
/
gio
/
gtlspassword.h
diff --git
a/gio/gtlspassword.h
b/gio/gtlspassword.h
index
ef581b6
..
61b3a29
100644
(file)
--- a/
gio/gtlspassword.h
+++ b/
gio/gtlspassword.h
@@
-13,20
+13,18
@@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
* 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.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
* Author: Stef Walter <stefw@collabora.co.uk>
*/
*
* Author: Stef Walter <stefw@collabora.co.uk>
*/
+#ifndef __G_TLS_PASSWORD_H__
+#define __G_TLS_PASSWORD_H__
+
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
#error "Only <gio/gio.h> can be included directly."
#endif
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
#error "Only <gio/gio.h> can be included directly."
#endif
-#ifndef __G_TLS_PASSWORD_H__
-#define __G_TLS_PASSWORD_H__
-
#include <gio/giotypes.h>
G_BEGIN_DECLS
#include <gio/giotypes.h>
G_BEGIN_DECLS
@@
-69,30
+67,41
@@
struct _GTlsPasswordClass
gpointer padding[4];
};
gpointer padding[4];
};
+GLIB_AVAILABLE_IN_ALL
GType g_tls_password_get_type (void) G_GNUC_CONST;
GType g_tls_password_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GTlsPassword * g_tls_password_new (GTlsPasswordFlags flags,
const gchar *description);
GTlsPassword * g_tls_password_new (GTlsPasswordFlags flags,
const gchar *description);
+GLIB_AVAILABLE_IN_ALL
const guchar * g_tls_password_get_value (GTlsPassword *password,
gsize *length);
const guchar * g_tls_password_get_value (GTlsPassword *password,
gsize *length);
+GLIB_AVAILABLE_IN_ALL
void g_tls_password_set_value (GTlsPassword *password,
const guchar *value,
gssize length);
void g_tls_password_set_value (GTlsPassword *password,
const guchar *value,
gssize length);
+GLIB_AVAILABLE_IN_ALL
void g_tls_password_set_value_full (GTlsPassword *password,
guchar *value,
gssize length,
GDestroyNotify destroy);
void g_tls_password_set_value_full (GTlsPassword *password,
guchar *value,
gssize length,
GDestroyNotify destroy);
+GLIB_AVAILABLE_IN_ALL
GTlsPasswordFlags g_tls_password_get_flags (GTlsPassword *password);
GTlsPasswordFlags g_tls_password_get_flags (GTlsPassword *password);
+GLIB_AVAILABLE_IN_ALL
void g_tls_password_set_flags (GTlsPassword *password,
GTlsPasswordFlags flags);
void g_tls_password_set_flags (GTlsPassword *password,
GTlsPasswordFlags flags);
+GLIB_AVAILABLE_IN_ALL
const gchar* g_tls_password_get_description (GTlsPassword *password);
const gchar* g_tls_password_get_description (GTlsPassword *password);
+GLIB_AVAILABLE_IN_ALL
void g_tls_password_set_description (GTlsPassword *password,
const gchar *description);
void g_tls_password_set_description (GTlsPassword *password,
const gchar *description);
+GLIB_AVAILABLE_IN_ALL
const gchar * g_tls_password_get_warning (GTlsPassword *password);
const gchar * g_tls_password_get_warning (GTlsPassword *password);
+GLIB_AVAILABLE_IN_ALL
void g_tls_password_set_warning (GTlsPassword *password,
const gchar *warning);
void g_tls_password_set_warning (GTlsPassword *password,
const gchar *warning);