index.html
Main Page
|
modules.html
Modules
|
namespaces.html
Namespace List
|
hierarchy.html
Class Hierarchy
|
annotated.html
Data Structures
|
dirs.html
Directories
|
files.html
File List
|
namespacemembers.html
Namespace Members
|
functions.html
Data Fields
|
pages.html
Related Pages
dir_000004.html
dbus
dbus-auth.h
00001
/* -*- mode: C; c-file-style: "gnu" -*- */
00002
/* dbus-auth.h Authentication
00003
*
00004
* Copyright (C) 2002  Red Hat Inc.
00005
*
00006
* Licensed under the Academic Free License version 2.1
00007
*
00008
* This program is free software; you can redistribute it and/or modify
00009
* it under the terms of the GNU General Public License as published by
00010
* the Free Software Foundation; either version 2 of the License, or
00011
* (at your option) any later version.
00012
*
00013
* This program is distributed in the hope that it will be useful,
00014
* but WITHOUT ANY WARRANTY; without even the implied warranty of
00015
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016
* GNU General Public License for more details.
00017
*
00018
* You should have received a copy of the GNU General Public License
00019
* along with this program; if not, write to the Free Software
00020
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021
*
00022
*/
00023
#ifndef DBUS_AUTH_H
00024
#define DBUS_AUTH_H
00025
00026
#include <dbus/dbus-macros.h>
00027
#include <dbus/dbus-errors.h>
00028
#include <dbus/dbus-string.h>
00029
#include <dbus/dbus-sysdeps.h>
00030
00031
group__DBusMacros.html#ga0
DBUS_BEGIN_DECLS
00032
00033
typedef
struct
structDBusAuth.html
DBusAuth
DBusAuth;
00034
00035
typedef
enum
00036 {
00037   DBUS_AUTH_STATE_WAITING_FOR_INPUT,
00038   DBUS_AUTH_STATE_WAITING_FOR_MEMORY,
00039   DBUS_AUTH_STATE_HAVE_BYTES_TO_SEND,
00040   DBUS_AUTH_STATE_NEED_DISCONNECT,
00041   DBUS_AUTH_STATE_AUTHENTICATED
00042 } DBusAuthState;
00043
00044 DBusAuth*
group__DBusAuth.html#ga0
_dbus_auth_server_new
(
const
structDBusString.html
DBusString
*guid);
00045 DBusAuth*
group__DBusAuth.html#ga1
_dbus_auth_client_new
(
void
);
00046 DBusAuth*
group__DBusAuth.html#ga2
_dbus_auth_ref
(DBusAuth               *auth);
00047
void
group__DBusAuth.html#ga3
_dbus_auth_unref
(DBusAuth               *auth);
00048
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusAuth.html#ga4
_dbus_auth_set_mechanisms
(DBusAuth               *auth,
00049
const
char
**mechanisms);
00050 DBusAuthState
group__DBusAuth.html#ga5
_dbus_auth_do_work
(DBusAuth               *auth);
00051
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusAuth.html#ga6
_dbus_auth_get_bytes_to_send
(DBusAuth               *auth,
00052
const
structDBusString.html
DBusString
**str);
00053
void
group__DBusAuth.html#ga7
_dbus_auth_bytes_sent
(DBusAuth               *auth,
00054
int
bytes_sent);
00055
void
group__DBusAuth.html#ga8
_dbus_auth_get_buffer
(DBusAuth               *auth,
00056
structDBusString.html
DBusString
**buffer);
00057
void
group__DBusAuth.html#ga9
_dbus_auth_return_buffer
(DBusAuth               *auth,
00058
structDBusString.html
DBusString
*buffer,
00059
int
bytes_read);
00060
void
group__DBusAuth.html#ga10
_dbus_auth_get_unused_bytes
(DBusAuth               *auth,
00061
const
structDBusString.html
DBusString
**str);
00062
void
group__DBusAuth.html#ga11
_dbus_auth_delete_unused_bytes
(DBusAuth               *auth);
00063
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusAuth.html#ga12
_dbus_auth_needs_encoding
(DBusAuth               *auth);
00064
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusAuth.html#ga13
_dbus_auth_encode_data
(DBusAuth               *auth,
00065
const
structDBusString.html
DBusString
*plaintext,
00066
structDBusString.html
DBusString
*encoded);
00067
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusAuth.html#ga14
_dbus_auth_needs_decoding
(DBusAuth               *auth);
00068
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusAuth.html#ga15
_dbus_auth_decode_data
(DBusAuth               *auth,
00069
const
structDBusString.html
DBusString
*encoded,
00070
structDBusString.html
DBusString
*plaintext);
00071
void
group__DBusAuth.html#ga16
_dbus_auth_set_credentials
(DBusAuth               *auth,
00072
const
structDBusCredentials.html
DBusCredentials
*
structDBusAuth.html#o7
credentials
);
00073
void
group__DBusAuth.html#ga17
_dbus_auth_get_identity
(DBusAuth               *auth,
00074
structDBusCredentials.html
DBusCredentials
*
structDBusAuth.html#o7
credentials
);
00075
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusAuth.html#ga19
_dbus_auth_set_context
(DBusAuth               *auth,
00076
const
structDBusString.html
DBusString
*
structDBusAuth.html#o10
context
);
00077
const
char
*
group__DBusAuth.html#ga18
_dbus_auth_get_guid_from_server
(DBusAuth               *auth);
00078
00079
00080
group__DBusMacros.html#ga1
DBUS_END_DECLS
00081
00082
#endif
/* DBUS_AUTH_H */
Generated on Tue Sep 13 01:28:06 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
