diff options
author | David Zeuthen <davidz@redhat.com> | 2009-07-13 12:59:46 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-07-13 12:59:46 -0400 |
commit | 2434044da628dad2ceecf7d0231ddfccf9b39566 (patch) | |
tree | ed89196d8c96fc47aab9e094d94d5b26a5799b1e /src/polkitlocal/polkitlocalprivate.h | |
parent | e88e67fa2b74a25533038ade78e3787b98fd1c53 (diff) | |
download | polkit-2434044da628dad2ceecf7d0231ddfccf9b39566.tar.gz |
Move local authority management to a separate library
Diffstat (limited to 'src/polkitlocal/polkitlocalprivate.h')
-rw-r--r-- | src/polkitlocal/polkitlocalprivate.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/polkitlocal/polkitlocalprivate.h b/src/polkitlocal/polkitlocalprivate.h new file mode 100644 index 0000000..bf41900 --- /dev/null +++ b/src/polkitlocal/polkitlocalprivate.h @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2008 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * 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. + * + * Author: David Zeuthen <davidz@redhat.com> + */ + +#ifndef __POLKIT_LOCAL_PRIVATE_H +#define __POLKIT_LOCAL_PRIVATE_H + +#include "_polkitbindings.h" + +/* notes: + * + * - the _new_for_real() functions will ref the passed arg (you will still own the ref) + * - the _get_real() functions will return a ref (you will own the ref) + * + */ + +PolkitLocalAuthorization *polkit_local_authorization_new_for_real (_PolkitLocalAuthorization *real); +_PolkitLocalAuthorization *polkit_local_authorization_get_real (PolkitLocalAuthorization *authorization); + +#endif /* __POLKIT_LOCAL_PRIVATE_H */ |