Blame src/goaidentity/goaidentityutils.h
|
Packit |
79f644 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
|
Packit |
79f644 |
*
|
|
Packit |
79f644 |
* Copyright © 2012 – 2017 Red Hat, Inc.
|
|
Packit |
79f644 |
*
|
|
Packit |
79f644 |
* This library is free software; you can redistribute it and/or
|
|
Packit |
79f644 |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit |
79f644 |
* License as published by the Free Software Foundation; either
|
|
Packit |
79f644 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit |
79f644 |
*
|
|
Packit |
79f644 |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
79f644 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
79f644 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
79f644 |
* Lesser General Public License for more details.
|
|
Packit |
79f644 |
*
|
|
Packit |
79f644 |
* You should have received a copy of the GNU Lesser General
|
|
Packit |
79f644 |
* Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
79f644 |
*/
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
#ifndef __GOA_IDENTITY_UTILS_H__
|
|
Packit |
79f644 |
#define __GOA_IDENTITY_UTILS_H__
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
#include <glib.h>
|
|
Packit |
79f644 |
#include <glib-object.h>
|
|
Packit |
79f644 |
#include <gio/gio.h>
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
G_BEGIN_DECLS
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
void goa_identity_utils_split_identifier (const char *identifier,
|
|
Packit |
79f644 |
char **user,
|
|
Packit |
79f644 |
char **domain);
|
|
Packit |
79f644 |
char *goa_identity_utils_escape_object_path (const char *data,
|
|
Packit |
79f644 |
gsize length);
|
|
Packit |
79f644 |
void goa_identity_utils_register_error_domain (GQuark error_domain,
|
|
Packit |
79f644 |
GType error_enum);
|
|
Packit |
79f644 |
|
|
Packit |
79f644 |
G_END_DECLS
|
|
Packit |
79f644 |
#endif /* __GOA_IDENTITY_UTILS_H__ */
|