Installation Instructions
*************************
-Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
+Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
Inc.
Copying and distribution of this file, with or without modification,
Basic Installation
==================
- Briefly, the shell commands `./configure; make; make install' should
-configure, build, and install this package. The following
+ Briefly, the shell command `./configure && make && make install'
+should configure, build, and install this package. The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package. Some packages provide this
`INSTALL' file but do not implement all of the features documented
overridden in the site shell script).
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
-an Autoconf bug. Until the bug is fixed you can use this workaround:
+an Autoconf limitation. Until the limitation is lifted, you can use
+this workaround:
- CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
+ CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
`configure' Invocation
======================
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.
-
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@SET_MAKE@
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
@ENABLE_GTK_DOC_TRUE@ --enable-gtk-doc
subdir = .
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
- $(top_srcdir)/configure \
+DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
+ $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in \
$(top_srcdir)/src/daemon/dbus/services/org.tizen.SecurityAccounts.gUserManagement.service.in \
+ $(top_srcdir)/test/data/test-gumd-dbus.conf.in \
$(top_srcdir)/test/data/services/org.tizen.SecurityAccounts.gUserManagement.service.in \
- $(top_srcdir)/test/data/test-gumd-dbus.conf.in AUTHORS \
- COPYING.LIB ChangeLog INSTALL NEWS build-aux/ar-lib \
+ COPYING.LIB build-aux/ar-lib build-aux/compile \
build-aux/config.guess build-aux/config.sub build-aux/depcomp \
- build-aux/install-sh build-aux/ltmain.sh build-aux/missing
+ build-aux/install-sh build-aux/missing build-aux/ltmain.sh \
+ $(top_srcdir)/build-aux/ar-lib $(top_srcdir)/build-aux/compile \
+ $(top_srcdir)/build-aux/config.guess \
+ $(top_srcdir)/build-aux/config.sub \
+ $(top_srcdir)/build-aux/install-sh \
+ $(top_srcdir)/build-aux/ltmain.sh \
+ $(top_srcdir)/build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
test/data/test-gumd-dbus.conf \
test/data/services/org.tizen.SecurityAccounts.gUserManagement.service
CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
+am__v_at_1 =
SOURCES =
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
- distdir dist dist-all distcheck
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
+CSCOPE = cscope
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
&& rm -rf "$(distdir)" \
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
+am__post_remove_distdir = $(am__remove_distdir)
am__relativize = \
dir0=`pwd`; \
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
reldir="$$dir2"
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
+DIST_TARGETS = dist-gzip
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
$(am__aclocal_m4_deps):
config.h: stamp-h1
- @if test ! -f $@; then rm -f stamp-h1; else :; fi
- @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
+ @test -f $@ || rm -f stamp-h1
+ @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
-rm -f libtool config.lt
# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-$(RECURSIVE_CLEAN_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscope: cscope.files
+ test ! -s cscope.files \
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
+clean-cscope:
+ -rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
distdir: $(DISTFILES)
$(am__remove_distdir)
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(MKDIR_P) "$(distdir)/$$subdir" \
- || exit 1; \
- fi; \
- done
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
+ $(am__post_remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
- $(am__remove_distdir)
+ $(am__post_remove_distdir)
dist-lzip: distdir
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
- $(am__remove_distdir)
-
-dist-lzma: distdir
- tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
- $(am__remove_distdir)
+ $(am__post_remove_distdir)
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
- $(am__remove_distdir)
+ $(am__post_remove_distdir)
dist-tarZ: distdir
+ @echo WARNING: "Support for shar distribution archives is" \
+ "deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
- $(am__remove_distdir)
+ $(am__post_remove_distdir)
dist-shar: distdir
+ @echo WARNING: "Support for distribution archives compressed with" \
+ "legacy program 'compress' is deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
- $(am__remove_distdir)
+ $(am__post_remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
- $(am__remove_distdir)
+ $(am__post_remove_distdir)
-dist dist-all: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
+dist dist-all:
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
+ $(am__post_remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
- *.tar.lzma*) \
- lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
*.tar.lz*) \
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
*.tar.xz*) \
*.zip*) \
unzip $(distdir).zip ;;\
esac
- chmod -R a-w $(distdir); chmod a+w $(distdir)
- mkdir $(distdir)/_build
- mkdir $(distdir)/_inst
+ chmod -R a-w $(distdir)
+ chmod u+w $(distdir)
+ mkdir $(distdir)/_build $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
&& $(am__cd) $(distdir)/_build \
- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+ && ../configure \
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
$(DISTCHECK_CONFIGURE_FLAGS) \
+ --srcdir=.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
&& cd "$$am__cwd" \
|| exit 1
- $(am__remove_distdir)
+ $(am__post_remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
- ctags-recursive install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-am clean clean-generic \
- clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
- dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
- dist-zip distcheck distclean distclean-generic distclean-hdr \
- distclean-libtool distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- installdirs-am maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
- ps ps-am tags tags-recursive uninstall uninstall-am
+.MAKE: $(am__recursive_targets) all install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ clean-libtool cscope cscopelist-am ctags ctags-am dist \
+ dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
+ dist-xz dist-zip distcheck distclean distclean-generic \
+ distclean-hdr distclean-libtool distclean-tags distcleancheck \
+ distdir distuninstallcheck dvi dvi-am html html-am info \
+ info-am install install-am install-data install-data-am \
+ install-dvi install-dvi-am install-exec install-exec-am \
+ install-html install-html-am install-info install-info-am \
+ install-man install-pdf install-pdf-am install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am
valgrind:
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
-[m4_warning([this file was generated for autoconf 2.68.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
-To do so, use the procedure documented by the package, typically `autoreconf'.])])
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
# serial 1 (pkg-config-0.24)
fi[]dnl
])# PKG_CHECK_MODULES
-# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 1
-
# AM_AUTOMAKE_VERSION(VERSION)
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.11'
+[am__api_version='1.14'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.11.3], [],
+m4_if([$1], [1.14.1], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.11.3])dnl
+[AM_AUTOMAKE_VERSION([1.14.1])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
-# Copyright (C) 2011 Free Software Foundation, Inc.
+# Copyright (C) 2011-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 1
-
# AM_PROG_AR([ACT-IF-FAIL])
# -------------------------
# Try to determine the archiver interface, and trigger the ar-lib wrapper
: ${AR=ar}
AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
- [am_cv_ar_interface=ar
+ [AC_LANG_PUSH([C])
+ am_cv_ar_interface=ar
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
[am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
AC_TRY_EVAL([am_ar_try])
fi
rm -f conftest.lib libconftest.a
])
- ])
+ AC_LANG_POP([C])])
case $am_cv_ar_interface in
ar)
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 1
-
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
+# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
#
# Of course, Automake must honor this variable whenever it calls a
# tool from the auxiliary directory. The problem is that $srcdir (and
#
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
# are both prefixed by $srcdir. In an in-source build this is usually
-# harmless because $srcdir is `.', but things will broke when you
+# harmless because $srcdir is '.', but things will broke when you
# start a VPATH build or use an absolute $srcdir.
#
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
# AM_CONDITIONAL -*- Autoconf -*-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 9
-
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# Define a conditional.
AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+[AC_PREREQ([2.52])dnl
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_SUBST([$1_TRUE])dnl
AC_SUBST([$1_FALSE])dnl
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
Usually this means the macro was only invoked conditionally.]])
fi])])
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
-# 2010, 2011 Free Software Foundation, Inc.
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 12
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
# will think it sees a *use*, and therefore will trigger all it's
# C support machinery. Also note that it means that autoscan, seeing
# _AM_DEPENDENCIES(NAME)
# ----------------------
# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
# We try a few techniques and use that to set a single cache variable.
#
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
+m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
AC_CACHE_CHECK([dependency style of $depcc],
[am_cv_$1_dependencies_compiler_type],
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
rm -rf conftest.dir
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
done
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
am__obj=sub/conftest.${OBJEXT-o}
am__minus_obj="-o $am__obj"
case $depmode in
test "$am__universal" = false || continue
;;
nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
if test "x$enable_dependency_tracking" = xyes; then
continue
else
fi
;;
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
+ # This compiler won't grok '-c -o', but also, the minuso test has
# not run yet. These depmodes are late enough in the game, and
# so weak that their functioning should not be impacted.
am__obj=conftest.${OBJEXT-o}
# AM_SET_DEPDIR
# -------------
# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
AC_DEFUN([AM_SET_DEPDIR],
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
# AM_DEP_TRACK
# ------------
AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
+[AC_ARG_ENABLE([dependency-tracking], [dnl
+AS_HELP_STRING(
+ [--enable-dependency-tracking],
+ [do not reject slow dependency extractors])
+AS_HELP_STRING(
+ [--disable-dependency-tracking],
+ [speeds up one-time build])])
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
# Generate code to set up dependency tracking. -*- Autoconf -*-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-#serial 5
# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
+ # We used to match only the files named 'Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
+ # from the Makefile without running 'make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
+ test -z "$am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`AS_DIRNAME(["$file"])`
# This macro should only be invoked once -- use via AC_REQUIRE.
#
# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
+# is enabled. FIXME. This creates each '.P' file that we will
# need in order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
# Do all the work for Automake. -*- Autoconf -*-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 16
-
# This macro actually does too much. Some checks are only needed if
# your package does certain things. But this isn't really a big deal.
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
+m4_define([AC_PROG_CC],
+m4_defn([AC_PROG_CC])
+[_AM_PROG_CC_C_O
+])
+
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
# AM_INIT_AUTOMAKE([OPTIONS])
# -----------------------------------------------
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
# Define the identity of the package.
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+[AC_DIAGNOSE([obsolete],
+ [$0: two- and three-arguments forms are deprecated.])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
[_AM_SET_OPTIONS([$1])dnl
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
+m4_if(
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
_AM_IF_OPTION([no-define],,
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
-AM_MISSING_PROG(AUTOCONF, autoconf)
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
-AM_MISSING_PROG(AUTOHEADER, autoheader)
-AM_MISSING_PROG(MAKEINFO, makeinfo)
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
[_AM_PROG_TAR([v7])])])
_AM_IF_OPTION([no-dependencies],,
[AC_PROVIDE_IFELSE([AC_PROG_CC],
- [_AM_DEPENDENCIES(CC)],
- [define([AC_PROG_CC],
- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [_AM_DEPENDENCIES(CXX)],
- [define([AC_PROG_CXX],
- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
- [_AM_DEPENDENCIES(OBJC)],
- [define([AC_PROG_OBJC],
- defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
-dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
-])
-dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
+ fi
+fi])
+
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
dnl mangled by Autoconf and run in a shell conditional statement.
m4_define([_AC_COMPILER_EXEEXT],
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
-
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated. The stamp files are numbered to have different names.
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
-# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
-# Inc.
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 1
-
# AM_PROG_INSTALL_SH
# ------------------
# Define $install_sh.
install_sh="\${SHELL} $am_aux_dir/install-sh"
esac
fi
-AC_SUBST(install_sh)])
+AC_SUBST([install_sh])])
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 2
-
# Check whether the underlying file-system supports filenames
# with a leading dot. For instance MS-DOS doesn't.
AC_DEFUN([AM_SET_LEADING_DOT],
# Check to see how 'make' treats includes. -*- Autoconf -*-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 4
-
# AM_MAKE_INCLUDE()
# -----------------
# Check to see how make treats includes.
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
+# Ignore all kinds of additional output from 'make'.
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=include
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 6
-
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
AC_DEFUN([AM_MISSING_PROG],
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])
-
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
- AC_MSG_WARN([`missing' script is too old or missing])
+ AC_MSG_WARN(['missing' script is too old or missing])
fi
])
-# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
-# Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# AM_PROG_MKDIR_P
-# ---------------
-# Check for `mkdir -p'.
-AC_DEFUN([AM_PROG_MKDIR_P],
-[AC_PREREQ([2.60])dnl
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
-dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
-dnl while keeping a definition of mkdir_p for backward compatibility.
-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
-dnl Makefile.ins that do not define MKDIR_P, so we do our own
-dnl adjustment using top_builddir (which is defined more often than
-dnl MKDIR_P).
-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
-case $mkdir_p in
- [[\\/$]]* | ?:[[\\/]]*) ;;
- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
-esac
-])
-
# Helper functions for option handling. -*- Autoconf -*-
-# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
-# Foundation, Inc.
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 5
-
# _AM_MANGLE_OPTION(NAME)
# -----------------------
AC_DEFUN([_AM_MANGLE_OPTION],
# --------------------
# Set option NAME. Presently that only means defining a flag for this option.
AC_DEFUN([_AM_SET_OPTION],
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
# _AM_SET_OPTIONS(OPTIONS)
# ------------------------
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 1
+# _AM_PROG_CC_C_O
+# ---------------
+# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
+# to automatically call this.
+AC_DEFUN([_AM_PROG_CC_C_O],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([compile])dnl
+AC_LANG_PUSH([C])dnl
+AC_CACHE_CHECK(
+ [whether $CC understands -c and -o together],
+ [am_cv_prog_cc_c_o],
+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i])
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+AC_LANG_POP([C])])
+
+# For backward compatibility.
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
# AM_RUN_LOG(COMMAND)
# -------------------
# Check to make sure that the build environment is sane. -*- Autoconf -*-
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
-# Free Software Foundation, Inc.
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 5
-
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_MSG_CHECKING([whether build environment is sane])
-# Just in case
-sleep 1
-echo timestamp > conftest.file
# Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
esac
case $srcdir in
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
- AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
esac
-# Do `set' in a subshell so we don't clobber the current shell's
+# Do 'set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- rm -f conftest.file
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
-alias in your environment])
- fi
-
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+ alias in your environment])
+ fi
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
test "$[2]" = conftest.file
)
then
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
-AC_MSG_RESULT(yes)])
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+ [AC_MSG_CHECKING([that generated files are newer than configure])
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
-# Copyright (C) 2009, 2011 Free Software Foundation, Inc.
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 2
-
# AM_SILENT_RULES([DEFAULT])
# --------------------------
# Enable less verbose build rules; with the default set to DEFAULT
-# (`yes' being less verbose, `no' or empty being verbose).
+# ("yes" being less verbose, "no" or empty being verbose).
AC_DEFUN([AM_SILENT_RULES],
-[AC_ARG_ENABLE([silent-rules],
-[ --enable-silent-rules less verbose build output (undo: `make V=1')
- --disable-silent-rules verbose build output (undo: `make V=0')])
-case $enable_silent_rules in
-yes) AM_DEFAULT_VERBOSITY=0;;
-no) AM_DEFAULT_VERBOSITY=1;;
-*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+[AC_ARG_ENABLE([silent-rules], [dnl
+AS_HELP_STRING(
+ [--enable-silent-rules],
+ [less verbose build output (undo: "make V=1")])
+AS_HELP_STRING(
+ [--disable-silent-rules],
+ [verbose build output (undo: "make V=0")])dnl
+])
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
esac
dnl
-dnl A few `make' implementations (e.g., NonStop OS and NextStep)
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
dnl do not support nested variable expansions.
dnl See automake bug#9928 and bug#10237.
am_make=${MAKE-make}
am_cv_make_support_nested_variables=no
fi])
if test $am_cv_make_support_nested_variables = yes; then
- dnl Using `$V' instead of `$(V)' breaks IRIX make.
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
AM_V='$(V)'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
else
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
])
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 1
-
# AM_PROG_INSTALL_STRIP
# ---------------------
-# One issue with vendor `install' (even GNU) is that you can't
+# One issue with vendor 'install' (even GNU) is that you can't
# specify the program used to strip binaries. This is especially
# annoying in cross-compiling environments, where the build's strip
# is unlikely to handle the host's binaries.
# Fortunately install-sh will honor a STRIPPROG variable, so we
-# always use install-sh in `make install-strip', and initialize
+# always use install-sh in "make install-strip", and initialize
# STRIPPROG with the value of the STRIP variable (set by the user).
AC_DEFUN([AM_PROG_INSTALL_STRIP],
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
if test "$cross_compiling" != no; then
AC_CHECK_TOOL([STRIP], [strip], :)
fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 3
-
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
# Check how to create a tarball. -*- Autoconf -*-
-# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 2
-
# _AM_PROG_TAR(FORMAT)
# --------------------
# Check how to create a tarball in format FORMAT.
-# FORMAT should be one of `v7', `ustar', or `pax'.
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
#
# Substitute a variable $(am__tar) that is a command
# writing to stdout a FORMAT-tarball containing the directory
# Substitute a variable $(am__untar) that extract such
# a tarball read from stdin.
# $(am__untar) < result.tar
+#
AC_DEFUN([_AM_PROG_TAR],
[# Always define AMTAR for backward compatibility. Yes, it's still used
# in the wild :-( We should find a proper way to deprecate it ...
AC_SUBST([AMTAR], ['$${TAR-tar}'])
-m4_if([$1], [v7],
- [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
- [m4_case([$1], [ustar],, [pax],,
- [m4_fatal([Unknown tar format])])
-AC_MSG_CHECKING([how to create a $1 tar archive])
-# Loop over all known methods to create a tar archive until one works.
+
+# We'll loop over all known methods to create a tar archive until one works.
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
-# Do not fold the above two line into one, because Tru64 sh and
-# Solaris sh will not grok spaces in the rhs of `-'.
-for _am_tool in $_am_tools
-do
- case $_am_tool in
- gnutar)
- for _am_tar in tar gnutar gtar;
- do
- AM_RUN_LOG([$_am_tar --version]) && break
- done
- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
- am__untar="$_am_tar -xf -"
- ;;
- plaintar)
- # Must skip GNU tar: if it does not support --format= it doesn't create
- # ustar tarball either.
- (tar --version) >/dev/null 2>&1 && continue
- am__tar='tar chf - "$$tardir"'
- am__tar_='tar chf - "$tardir"'
- am__untar='tar xf -'
- ;;
- pax)
- am__tar='pax -L -x $1 -w "$$tardir"'
- am__tar_='pax -L -x $1 -w "$tardir"'
- am__untar='pax -r'
- ;;
- cpio)
- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
- am__untar='cpio -i -H $1 -d'
- ;;
- none)
- am__tar=false
- am__tar_=false
- am__untar=false
- ;;
- esac
- # If the value was cached, stop now. We just wanted to have am__tar
- # and am__untar set.
- test -n "${am_cv_prog_tar_$1}" && break
+m4_if([$1], [v7],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+
+ [m4_case([$1],
+ [ustar],
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+ # and bug#13588).
+ am_max_uid=2097151 # 2^21 - 1
+ am_max_gid=$am_max_uid
+ # The $UID and $GID variables are not portable, so we need to resort
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
+ # below are definitely unexpected, so allow the users to see them
+ # (that is, avoid stderr redirection).
+ am_uid=`id -u || echo unknown`
+ am_gid=`id -g || echo unknown`
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
+ if test $am_uid -le $am_max_uid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
+ if test $am_gid -le $am_max_gid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi],
+
+ [pax],
+ [],
+
+ [m4_fatal([Unknown tar format])])
+
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+
+ # Go ahead even if we have the value already cached. We do so because we
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+
+ for _am_tool in $_am_tools; do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar; do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
- # tar/untar a dummy directory, and stop if the command works
- rm -rf conftest.dir
- mkdir conftest.dir
- echo GrepMe > conftest.dir/file
- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ AM_RUN_LOG([cat conftest.dir/file])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+ done
rm -rf conftest.dir
- if test -s conftest.tar; then
- AM_RUN_LOG([$am__untar <conftest.tar])
- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
- fi
-done
-rm -rf conftest.dir
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+
AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
# Wrapper for Microsoft lib.exe
me=ar-lib
-scriptversion=2012-01-30.22; # UTC
+scriptversion=2012-03-01.08; # UTC
-# Copyright (C) 2010, 2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2013 Free Software Foundation, Inc.
# Written by Peter Rosin <peda@lysator.liu.se>.
#
# This program is free software; you can redistribute it and/or modify
delete=
extract=
list=
+quick=
replace=
+index=
create=
while test -n "$action"
d*) delete=yes ;;
x*) extract=yes ;;
t*) list=yes ;;
+ q*) quick=yes ;;
r*) replace=yes ;;
+ s*) index=yes ;;
+ S*) ;; # the index is always updated implicitly
c*) create=yes ;;
u*) ;; # TODO: don't ignore the update modifier
v*) ;; # TODO: don't ignore the verbose modifier
action=${action#?}
done
-case $delete$extract$list$replace in
- yes)
+case $delete$extract$list$quick$replace,$index in
+ yes,* | ,yes)
;;
yesyes*)
func_error "more than one action specified"
done
fi
-elif test -n "$replace"; then
+elif test -n "$quick$replace"; then
if test ! -f "$orig_archive"; then
if test -z "$create"; then
echo "$me: creating $orig_archive"
--- /dev/null
+#! /bin/sh
+# Wrapper for compilers which do not understand '-c -o'.
+
+scriptversion=2012-10-14.11; # UTC
+
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Written by Tom Tromey <tromey@cygnus.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+nl='
+'
+
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent tools from complaining about whitespace usage.
+IFS=" "" $nl"
+
+file_conv=
+
+# func_file_conv build_file lazy
+# Convert a $build file to $host form and store it in $file
+# Currently only supports Windows hosts. If the determined conversion
+# type is listed in (the comma separated) LAZY, no conversion will
+# take place.
+func_file_conv ()
+{
+ file=$1
+ case $file in
+ / | /[!/]*) # absolute file, and not a UNC file
+ if test -z "$file_conv"; then
+ # lazily determine how to convert abs files
+ case `uname -s` in
+ MINGW*)
+ file_conv=mingw
+ ;;
+ CYGWIN*)
+ file_conv=cygwin
+ ;;
+ *)
+ file_conv=wine
+ ;;
+ esac
+ fi
+ case $file_conv/,$2, in
+ *,$file_conv,*)
+ ;;
+ mingw/*)
+ file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
+ ;;
+ cygwin/*)
+ file=`cygpath -m "$file" || echo "$file"`
+ ;;
+ wine/*)
+ file=`winepath -w "$file" || echo "$file"`
+ ;;
+ esac
+ ;;
+ esac
+}
+
+# func_cl_dashL linkdir
+# Make cl look for libraries in LINKDIR
+func_cl_dashL ()
+{
+ func_file_conv "$1"
+ if test -z "$lib_path"; then
+ lib_path=$file
+ else
+ lib_path="$lib_path;$file"
+ fi
+ linker_opts="$linker_opts -LIBPATH:$file"
+}
+
+# func_cl_dashl library
+# Do a library search-path lookup for cl
+func_cl_dashl ()
+{
+ lib=$1
+ found=no
+ save_IFS=$IFS
+ IFS=';'
+ for dir in $lib_path $LIB
+ do
+ IFS=$save_IFS
+ if $shared && test -f "$dir/$lib.dll.lib"; then
+ found=yes
+ lib=$dir/$lib.dll.lib
+ break
+ fi
+ if test -f "$dir/$lib.lib"; then
+ found=yes
+ lib=$dir/$lib.lib
+ break
+ fi
+ if test -f "$dir/lib$lib.a"; then
+ found=yes
+ lib=$dir/lib$lib.a
+ break
+ fi
+ done
+ IFS=$save_IFS
+
+ if test "$found" != yes; then
+ lib=$lib.lib
+ fi
+}
+
+# func_cl_wrapper cl arg...
+# Adjust compile command to suit cl
+func_cl_wrapper ()
+{
+ # Assume a capable shell
+ lib_path=
+ shared=:
+ linker_opts=
+ for arg
+ do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ eat=1
+ case $2 in
+ *.o | *.[oO][bB][jJ])
+ func_file_conv "$2"
+ set x "$@" -Fo"$file"
+ shift
+ ;;
+ *)
+ func_file_conv "$2"
+ set x "$@" -Fe"$file"
+ shift
+ ;;
+ esac
+ ;;
+ -I)
+ eat=1
+ func_file_conv "$2" mingw
+ set x "$@" -I"$file"
+ shift
+ ;;
+ -I*)
+ func_file_conv "${1#-I}" mingw
+ set x "$@" -I"$file"
+ shift
+ ;;
+ -l)
+ eat=1
+ func_cl_dashl "$2"
+ set x "$@" "$lib"
+ shift
+ ;;
+ -l*)
+ func_cl_dashl "${1#-l}"
+ set x "$@" "$lib"
+ shift
+ ;;
+ -L)
+ eat=1
+ func_cl_dashL "$2"
+ ;;
+ -L*)
+ func_cl_dashL "${1#-L}"
+ ;;
+ -static)
+ shared=false
+ ;;
+ -Wl,*)
+ arg=${1#-Wl,}
+ save_ifs="$IFS"; IFS=','
+ for flag in $arg; do
+ IFS="$save_ifs"
+ linker_opts="$linker_opts $flag"
+ done
+ IFS="$save_ifs"
+ ;;
+ -Xlinker)
+ eat=1
+ linker_opts="$linker_opts $2"
+ ;;
+ -*)
+ set x "$@" "$1"
+ shift
+ ;;
+ *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
+ func_file_conv "$1"
+ set x "$@" -Tp"$file"
+ shift
+ ;;
+ *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
+ func_file_conv "$1" mingw
+ set x "$@" "$file"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+ done
+ if test -n "$linker_opts"; then
+ linker_opts="-link$linker_opts"
+ fi
+ exec "$@" $linker_opts
+ exit 1
+}
+
+eat=
+
+case $1 in
+ '')
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: compile [--help] [--version] PROGRAM [ARGS]
+
+Wrapper for compilers which do not understand '-c -o'.
+Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
+arguments, and rename the output as expected.
+
+If you are trying to build a whole package this is not the
+right script to run: please start by reading the file 'INSTALL'.
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "compile $scriptversion"
+ exit $?
+ ;;
+ cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+ func_cl_wrapper "$@" # Doesn't return...
+ ;;
+esac
+
+ofile=
+cfile=
+
+for arg
+do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ # So we strip '-o arg' only if arg is an object.
+ eat=1
+ case $2 in
+ *.o | *.obj)
+ ofile=$2
+ ;;
+ *)
+ set x "$@" -o "$2"
+ shift
+ ;;
+ esac
+ ;;
+ *.c)
+ cfile=$1
+ set x "$@" "$1"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+done
+
+if test -z "$ofile" || test -z "$cfile"; then
+ # If no '-o' option was seen then we might have been invoked from a
+ # pattern rule where we don't need one. That is ok -- this is a
+ # normal compilation that the losing compiler can handle. If no
+ # '.c' file was seen then we are probably linking. That is also
+ # ok.
+ exec "$@"
+fi
+
+# Name of file we expect compiler to create.
+cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
+
+# Create the lock directory.
+# Note: use '[/\\:.-]' here to ensure that we don't use the same name
+# that we are using for the .o file. Also, base the name on the expected
+# object file name, since that is what matters with a parallel build.
+lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
+while true; do
+ if mkdir "$lockdir" >/dev/null 2>&1; then
+ break
+ fi
+ sleep 1
+done
+# FIXME: race condition here if user kills between mkdir and trap.
+trap "rmdir '$lockdir'; exit 1" 1 2 15
+
+# Run the compile.
+"$@"
+ret=$?
+
+if test -f "$cofile"; then
+ test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
+elif test -f "${cofile}bj"; then
+ test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
+fi
+
+rmdir "$lockdir"
+exit $ret
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
#! /bin/sh
# Attempt to guess a canonical system name.
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-# 2011, 2012 Free Software Foundation, Inc.
+# Copyright 1992-2013 Free Software Foundation, Inc.
-timestamp='2012-02-10'
+timestamp='2013-06-10'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-
-# Originally written by Per Bothner. Please send patches (context
-# diff format) to <config-patches@gnu.org> and include a ChangeLog
-# entry.
+# the same distribution terms that you use for the rest of that
+# program. This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
#
-# This script attempts to guess a canonical system name similar to
-# config.sub. If it succeeds, it prints the system name on stdout, and
-# exits with 0. Otherwise, it exits with 1.
+# Originally written by Per Bothner.
#
# You can get the latest version of this script from:
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+#
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
+
me=`echo "$0" | sed -e 's,.*/,,'`
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
-Free Software Foundation, Inc.
+Copyright 1992-2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+case "${UNAME_SYSTEM}" in
+Linux|GNU|GNU/*)
+ # If the system lacks a compiler, then just pick glibc.
+ # We could probably try harder.
+ LIBC=gnu
+
+ eval $set_cc_for_build
+ cat <<-EOF > $dummy.c
+ #include <features.h>
+ #if defined(__UCLIBC__)
+ LIBC=uclibc
+ #elif defined(__dietlibc__)
+ LIBC=dietlibc
+ #else
+ LIBC=gnu
+ #endif
+ EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+ ;;
+esac
+
# Note: order is significant - the case branches are not exclusive.
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
echo "${machine}-${os}${release}"
exit ;;
+ *:Bitrig:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
+ exit ;;
*:OpenBSD:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}
exit ;;
- arm:riscos:*:*|arm:RISCOS:*:*)
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
echo arm-unknown-riscos
exit ;;
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
exit ;;
+ *:MINGW64*:*)
+ echo ${UNAME_MACHINE}-pc-mingw64
+ exit ;;
*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit ;;
exit ;;
*:GNU:*:*)
# the GNU system
- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit ;;
*:GNU/*:*:*)
# other systems with GNU libc and userland
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
exit ;;
i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix
exit ;;
aarch64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
aarch64_be:Linux:*:*)
UNAME_MACHINE=aarch64_be
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
EV68*) UNAME_MACHINE=alphaev68 ;;
esac
objdump --private-headers /bin/sh | grep -q ld.so.1
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ arc:Linux:*:* | arceb:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
arm*:Linux:*:*)
eval $set_cc_for_build
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_EABI__
then
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
else
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_PCS_VFP
then
- echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
else
- echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
fi
fi
exit ;;
avr32*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
cris:Linux:*:*)
- echo ${UNAME_MACHINE}-axis-linux-gnu
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
exit ;;
crisv32:Linux:*:*)
- echo ${UNAME_MACHINE}-axis-linux-gnu
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
exit ;;
frv:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
hexagon:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
i*86:Linux:*:*)
- LIBC=gnu
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #ifdef __dietlibc__
- LIBC=dietlibc
- #endif
-EOF
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
exit ;;
ia64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
m32r*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
m68*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
mips:Linux:*:* | mips64:Linux:*:*)
eval $set_cc_for_build
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
;;
+ or1k:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
or32:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
padre:Linux:*:*)
- echo sparc-unknown-linux-gnu
+ echo sparc-unknown-linux-${LIBC}
exit ;;
parisc64:Linux:*:* | hppa64:Linux:*:*)
- echo hppa64-unknown-linux-gnu
+ echo hppa64-unknown-linux-${LIBC}
exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
- PA7*) echo hppa1.1-unknown-linux-gnu ;;
- PA8*) echo hppa2.0-unknown-linux-gnu ;;
- *) echo hppa-unknown-linux-gnu ;;
+ PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
+ PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
+ *) echo hppa-unknown-linux-${LIBC} ;;
esac
exit ;;
ppc64:Linux:*:*)
- echo powerpc64-unknown-linux-gnu
+ echo powerpc64-unknown-linux-${LIBC}
exit ;;
ppc:Linux:*:*)
- echo powerpc-unknown-linux-gnu
+ echo powerpc-unknown-linux-${LIBC}
+ exit ;;
+ ppc64le:Linux:*:*)
+ echo powerpc64le-unknown-linux-${LIBC}
+ exit ;;
+ ppcle:Linux:*:*)
+ echo powerpcle-unknown-linux-${LIBC}
exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
- echo ${UNAME_MACHINE}-ibm-linux
+ echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
exit ;;
sh64*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
sh*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
sparc:Linux:*:* | sparc64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
tile*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
vax:Linux:*:*)
- echo ${UNAME_MACHINE}-dec-linux-gnu
+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
exit ;;
x86_64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
xtensa*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
i*86:DYNIX/ptx:4*:*)
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
echo i586-pc-haiku
exit ;;
+ x86_64:Haiku:*:*)
+ echo x86_64-unknown-haiku
+ exit ;;
SX-4:SUPER-UX:*:*)
echo sx4-nec-superux${UNAME_RELEASE}
exit ;;
exit ;;
*:Darwin:*:*)
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
- case $UNAME_PROCESSOR in
- i386)
- eval $set_cc_for_build
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
- if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
- grep IS_64BIT_ARCH >/dev/null
- then
- UNAME_PROCESSOR="x86_64"
- fi
- fi ;;
- unknown) UNAME_PROCESSOR=powerpc ;;
- esac
+ eval $set_cc_for_build
+ if test "$UNAME_PROCESSOR" = unknown ; then
+ UNAME_PROCESSOR=powerpc
+ fi
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ case $UNAME_PROCESSOR in
+ i386) UNAME_PROCESSOR=x86_64 ;;
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
+ esac
+ fi
+ fi
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
exit ;;
*:procnto*:*:* | *:QNX:[0123456789]*:*)
NEO-?:NONSTOP_KERNEL:*:*)
echo neo-tandem-nsk${UNAME_RELEASE}
exit ;;
- NSE-?:NONSTOP_KERNEL:*:*)
+ NSE-*:NONSTOP_KERNEL:*:*)
echo nse-tandem-nsk${UNAME_RELEASE}
exit ;;
NSR-?:NONSTOP_KERNEL:*:*)
exit ;;
esac
-#echo '(No uname command or uname output not recognized.)' 1>&2
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
-
eval $set_cc_for_build
cat >$dummy.c <<EOF
#ifdef _SEQUENT_
#! /bin/sh
# Configuration validation subroutine script.
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-# 2011, 2012 Free Software Foundation, Inc.
+# Copyright 1992-2013 Free Software Foundation, Inc.
-timestamp='2012-02-10'
+timestamp='2013-08-10'
-# This file is (in principle) common to ALL GNU software.
-# The presence of a machine in this file suggests that SOME GNU software
-# can handle that machine. It does not imply ALL GNU software can.
-#
-# This file is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
-# This program 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 General Public License for more details.
+# This program 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
+# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
+# the same distribution terms that you use for the rest of that
+# program. This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
-# Please send patches to <config-patches@gnu.org>. Submit a context
-# diff and a properly formatted GNU ChangeLog entry.
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
#
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
version="\
GNU config.sub ($timestamp)
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
-Free Software Foundation, Inc.
+Copyright 1992-2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
knetbsd*-gnu* | netbsd*-gnu* | \
kopensolaris*-gnu* | \
storm-chaos* | os2-emx* | rtmk-nova*)
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
- -apple | -axis | -knuth | -cray | -microblaze)
+ -apple | -axis | -knuth | -cray | -microblaze*)
os=
basic_machine=$1
;;
-isc*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
+ -lynx*178)
+ os=-lynxos178
+ ;;
+ -lynx*5)
+ os=-lynxos5
+ ;;
-lynx*)
os=-lynxos
;;
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
- | be32 | be64 \
+ | arc | arceb \
+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
+ | avr | avr32 \
+ | be32 | be64 \
| bfin \
- | c4x | clipper \
+ | c4x | c8051 | clipper \
| d10v | d30v | dlx | dsp16xx \
| epiphany \
| fido | fr30 | frv \
| le32 | le64 \
| lm32 \
| m32c | m32r | m32rle | m68000 | m68k | m88k \
- | maxq | mb | microblaze | mcore | mep | metag \
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
| mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \
| mips64 | mips64el \
| mipsisa64r2 | mipsisa64r2el \
| mipsisa64sb1 | mipsisa64sb1el \
| mipsisa64sr71k | mipsisa64sr71kel \
+ | mipsr5900 | mipsr5900el \
| mipstx39 | mipstx39el \
| mn10200 | mn10300 \
| moxie \
| mt \
| msp430 \
| nds32 | nds32le | nds32be \
- | nios | nios2 \
+ | nios | nios2 | nios2eb | nios2el \
| ns16k | ns32k \
| open8 \
- | or32 \
+ | or1k | or32 \
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle \
| pyramid \
| aarch64-* | aarch64_be-* \
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* | avr32-* \
| be32-* | be64-* \
| bfin-* | bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c4x-* \
- | clipper-* | craynv-* | cydra-* \
+ | c8051-* | clipper-* | craynv-* | cydra-* \
| d10v-* | d30v-* | dlx-* \
| elxsi-* \
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
| lm32-* \
| m32c-* | m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
+ | microblaze-* | microblazeel-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
| mipsisa64r2-* | mipsisa64r2el-* \
| mipsisa64sb1-* | mipsisa64sb1el-* \
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
+ | mipsr5900-* | mipsr5900el-* \
| mipstx39-* | mipstx39el-* \
| mmix-* \
| mt-* \
| msp430-* \
| nds32-* | nds32le-* | nds32be-* \
- | nios-* | nios2-* \
+ | nios-* | nios2-* | nios2eb-* | nios2el-* \
| none-* | np1-* | ns16k-* | ns32k-* \
| open8-* \
| orion-* \
basic_machine=ns32k-utek
os=-sysv
;;
- microblaze)
+ microblaze*)
basic_machine=microblaze-xilinx
;;
+ mingw64)
+ basic_machine=x86_64-pc
+ os=-mingw64
+ ;;
mingw32)
- basic_machine=i386-pc
+ basic_machine=i686-pc
os=-mingw32
;;
mingw32ce)
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
;;
msys)
- basic_machine=i386-pc
+ basic_machine=i686-pc
os=-msys
;;
mvs)
basic_machine=i586-unknown
os=-pw32
;;
- rdos)
+ rdos | rdos64)
+ basic_machine=x86_64-pc
+ os=-rdos
+ ;;
+ rdos32)
basic_machine=i386-pc
os=-rdos
;;
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
- | -sym* | -kopensolaris* \
+ | -sym* | -kopensolaris* | -plan9* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* | -aros* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
- | -openbsd* | -solidbsd* \
+ | -bitrig* | -openbsd* | -solidbsd* \
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -chorusos* | -chorusrdb* | -cegcc* \
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -linux-gnu* | -linux-android* \
- | -linux-newlib* | -linux-uclibc* \
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
| -uxpv* | -beos* | -mpeix* | -udk* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
-aros*)
os=-aros
;;
- -kaos*)
- os=-kaos
- ;;
-zvmoe)
os=-zvmoe
;;
c4x-* | tic4x-*)
os=-coff
;;
+ c8051-*)
+ os=-elf
+ ;;
+ hexagon-*)
+ os=-elf
+ ;;
tic54x-*)
os=-coff
;;
mips*-*)
os=-elf
;;
+ or1k-*)
+ os=-elf
+ ;;
or32-*)
os=-coff
;;
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
-scriptversion=2011-12-04.11; # UTC
+scriptversion=2013-05-30.07; # UTC
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
case $1 in
'')
- echo "$0: No command. Try \`$0 --help' for more information." 1>&2
- exit 1;
- ;;
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
-h | --h*)
cat <<\EOF
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
Environment variables:
depmode Dependency tracking mode.
- source Source file read by `PROGRAMS ARGS'.
- object Object file output by `PROGRAMS ARGS'.
+ source Source file read by 'PROGRAMS ARGS'.
+ object Object file output by 'PROGRAMS ARGS'.
DEPDIR directory where to store dependencies.
depfile Dependency file to output.
tmpdepfile Temporary file to use when outputting dependencies.
;;
esac
+# Get the directory component of the given path, and save it in the
+# global variables '$dir'. Note that this directory component will
+# be either empty or ending with a '/' character. This is deliberate.
+set_dir_from ()
+{
+ case $1 in
+ */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
+ *) dir=;;
+ esac
+}
+
+# Get the suffix-stripped basename of the given path, and save it the
+# global variable '$base'.
+set_base_from ()
+{
+ base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
+}
+
+# If no dependency file was actually created by the compiler invocation,
+# we still have to create a dummy depfile, to avoid errors with the
+# Makefile "include basename.Plo" scheme.
+make_dummy_depfile ()
+{
+ echo "#dummy" > "$depfile"
+}
+
+# Factor out some common post-processing of the generated depfile.
+# Requires the auxiliary global variable '$tmpdepfile' to be set.
+aix_post_process_depfile ()
+{
+ # If the compiler actually managed to produce a dependency file,
+ # post-process it.
+ if test -f "$tmpdepfile"; then
+ # Each line is of the form 'foo.o: dependency.h'.
+ # Do two passes, one to just change these to
+ # $object: dependency.h
+ # and one to simply output
+ # dependency.h:
+ # which is needed to avoid the deleted-header problem.
+ { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
+ sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
+ } > "$depfile"
+ rm -f "$tmpdepfile"
+ else
+ make_dummy_depfile
+ fi
+}
+
+# A tabulation character.
+tab=' '
+# A newline character.
+nl='
+'
+# Character ranges might be problematic outside the C locale.
+# These definitions help.
+upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+lower=abcdefghijklmnopqrstuvwxyz
+digits=0123456789
+alpha=${upper}${lower}
+
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
exit 1
rm -f "$tmpdepfile"
+# Avoid interferences from the environment.
+gccflag= dashmflag=
+
# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case
fi
if test "$depmode" = dashXmstdout; then
- # This is just like dashmstdout with a different argument.
- dashmflag=-xM
- depmode=dashmstdout
+ # This is just like dashmstdout with a different argument.
+ dashmflag=-xM
+ depmode=dashmstdout
fi
cygpath_u="cygpath -u -f -"
if test "$depmode" = msvcmsys; then
- # This is just like msvisualcpp but w/o cygpath translation.
- # Just convert the backslash-escaped backslashes to single forward
- # slashes to satisfy depend.m4
- cygpath_u='sed s,\\\\,/,g'
- depmode=msvisualcpp
+ # This is just like msvisualcpp but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvisualcpp
fi
if test "$depmode" = msvc7msys; then
- # This is just like msvc7 but w/o cygpath translation.
- # Just convert the backslash-escaped backslashes to single forward
- # slashes to satisfy depend.m4
- cygpath_u='sed s,\\\\,/,g'
- depmode=msvc7
+ # This is just like msvc7 but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvc7
+fi
+
+if test "$depmode" = xlc; then
+ # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
+ gccflag=-qmakedep=gcc,-MF
+ depmode=gcc
fi
case "$depmode" in
done
"$@"
stat=$?
- if test $stat -eq 0; then :
- else
+ if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
;;
gcc)
+## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
+## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
+## (see the conditional assignment to $gccflag above).
## There are various ways to get dependency output from gcc. Here's
## why we pick this rather obscure method:
## - Don't want to use -MD because we'd like the dependencies to end
## up in a subdir. Having to rename by hand is ugly.
## (We might end up doing this anyway to support other compilers.)
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
-## -MM, not -M (despite what the docs say).
+## -MM, not -M (despite what the docs say). Also, it might not be
+## supported by the other compilers which use the 'gcc' depmode.
## - Using -M directly means running the compiler twice (even worse
## than renaming).
if test -z "$gccflag"; then
fi
"$@" -Wp,"$gccflag$tmpdepfile"
stat=$?
- if test $stat -eq 0; then :
- else
+ if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
- alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
-## The second -e expression handles DOS-style file names with drive letters.
+ # The second -e expression handles DOS-style file names with drive
+ # letters.
sed -e 's/^[^:]*: / /' \
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
-## This next piece of magic avoids the `deleted header file' problem.
+## This next piece of magic avoids the "deleted header file" problem.
## The problem is that when a header file which appears in a .P file
## is deleted, the dependency causes make to die (because there is
## typically no way to rebuild the header). We avoid this by adding
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
- tr ' ' '
-' < "$tmpdepfile" |
-## Some versions of gcc put a space before the `:'. On the theory
+## Some versions of gcc put a space before the ':'. On the theory
## that the space means something, we add a space to the output as
## well. hp depmode also adds that space, but also prefixes the VPATH
## to the object. Take care to not repeat it in the output.
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
- sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
- | sed -e 's/$/ :/' >> "$depfile"
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
"$@" -MDupdate "$tmpdepfile"
fi
stat=$?
- if test $stat -eq 0; then :
- else
+ if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
echo "$object : \\" > "$depfile"
-
# Clip off the initial element (the dependent). Don't try to be
# clever and replace this with sed code, as IRIX sed won't handle
# lines with more than a fixed number of characters (4096 in
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
- # the IRIX cc adds comments like `#:fec' to the end of the
+ # the IRIX cc adds comments like '#:fec' to the end of the
# dependency line.
- tr ' ' '
-' < "$tmpdepfile" \
- | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
- tr '
-' ' ' >> "$depfile"
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
+ | tr "$nl" ' ' >> "$depfile"
echo >> "$depfile"
-
# The second pass generates a dummy entry for each header file.
- tr ' ' '
-' < "$tmpdepfile" \
- | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
- >> "$depfile"
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
+ >> "$depfile"
else
- # The sourcefile does not contain any dependencies, so just
- # store a dummy comment line, to avoid errors with the Makefile
- # "include basename.Plo" scheme.
- echo "#dummy" > "$depfile"
+ make_dummy_depfile
fi
rm -f "$tmpdepfile"
;;
+xlc)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
aix)
# The C for AIX Compiler uses -M and outputs the dependencies
# in a .u file. In older versions, this file always lives in the
- # current directory. Also, the AIX compiler puts `$object:' at the
+ # current directory. Also, the AIX compiler puts '$object:' at the
# start of each line; $object doesn't have directory information.
# Version 6 uses the directory in both cases.
- dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
- test "x$dir" = "x$object" && dir=
- base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+ set_dir_from "$object"
+ set_base_from "$object"
if test "$libtool" = yes; then
tmpdepfile1=$dir$base.u
tmpdepfile2=$base.u
"$@" -M
fi
stat=$?
-
- if test $stat -eq 0; then :
- else
+ if test $stat -ne 0; then
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
exit $stat
fi
do
test -f "$tmpdepfile" && break
done
- if test -f "$tmpdepfile"; then
- # Each line is of the form `foo.o: dependent.h'.
- # Do two passes, one to just change these to
- # `$object: dependent.h' and one to simply `dependent.h:'.
- sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
- # That's a tab and a space in the [].
- sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
- else
- # The sourcefile does not contain any dependencies, so just
- # store a dummy comment line, to avoid errors with the Makefile
- # "include basename.Plo" scheme.
- echo "#dummy" > "$depfile"
+ aix_post_process_depfile
+ ;;
+
+tcc)
+ # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
+ # FIXME: That version still under development at the moment of writing.
+ # Make that this statement remains true also for stable, released
+ # versions.
+ # It will wrap lines (doesn't matter whether long or short) with a
+ # trailing '\', as in:
+ #
+ # foo.o : \
+ # foo.c \
+ # foo.h \
+ #
+ # It will put a trailing '\' even on the last line, and will use leading
+ # spaces rather than leading tabs (at least since its commit 0394caf7
+ # "Emit spaces for -MD").
+ "$@" -MD -MF "$tmpdepfile"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
fi
+ rm -f "$depfile"
+ # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
+ # We have to change lines of the first kind to '$object: \'.
+ sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
+ # And for each line of the second kind, we have to emit a 'dep.h:'
+ # dummy dependency, to avoid the deleted-header problem.
+ sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
rm -f "$tmpdepfile"
;;
-icc)
- # Intel's C compiler understands `-MD -MF file'. However on
- # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
- # ICC 7.0 will fill foo.d with something like
- # foo.o: sub/foo.c
- # foo.o: sub/foo.h
- # which is wrong. We want:
- # sub/foo.o: sub/foo.c
- # sub/foo.o: sub/foo.h
- # sub/foo.c:
- # sub/foo.h:
- # ICC 7.1 will output
+## The order of this option in the case statement is important, since the
+## shell code in configure will try each of these formats in the order
+## listed in this file. A plain '-MD' option would be understood by many
+## compilers, so we must ensure this comes after the gcc and icc options.
+pgcc)
+ # Portland's C compiler understands '-MD'.
+ # Will always output deps to 'file.d' where file is the root name of the
+ # source file under compilation, even if file resides in a subdirectory.
+ # The object file name does not affect the name of the '.d' file.
+ # pgcc 10.2 will output
# foo.o: sub/foo.c sub/foo.h
- # and will wrap long lines using \ :
+ # and will wrap long lines using '\' :
# foo.o: sub/foo.c ... \
# sub/foo.h ... \
# ...
+ set_dir_from "$object"
+ # Use the source, not the object, to determine the base name, since
+ # that's sadly what pgcc will do too.
+ set_base_from "$source"
+ tmpdepfile=$base.d
+
+ # For projects that build the same source file twice into different object
+ # files, the pgcc approach of using the *source* file root name can cause
+ # problems in parallel builds. Use a locking strategy to avoid stomping on
+ # the same $tmpdepfile.
+ lockdir=$base.d-lock
+ trap "
+ echo '$0: caught signal, cleaning up...' >&2
+ rmdir '$lockdir'
+ exit 1
+ " 1 2 13 15
+ numtries=100
+ i=$numtries
+ while test $i -gt 0; do
+ # mkdir is a portable test-and-set.
+ if mkdir "$lockdir" 2>/dev/null; then
+ # This process acquired the lock.
+ "$@" -MD
+ stat=$?
+ # Release the lock.
+ rmdir "$lockdir"
+ break
+ else
+ # If the lock is being held by a different process, wait
+ # until the winning process is done or we timeout.
+ while test -d "$lockdir" && test $i -gt 0; do
+ sleep 1
+ i=`expr $i - 1`
+ done
+ fi
+ i=`expr $i - 1`
+ done
+ trap - 1 2 13 15
+ if test $i -le 0; then
+ echo "$0: failed to acquire lock after $numtries attempts" >&2
+ echo "$0: check lockdir '$lockdir'" >&2
+ exit 1
+ fi
- "$@" -MD -MF "$tmpdepfile"
- stat=$?
- if test $stat -eq 0; then :
- else
+ if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
# Some versions of the HPUX 10.20 sed can't process this invocation
# correctly. Breaking it into two sed invocations is a workaround.
- sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
- sed -e 's/$/ :/' >> "$depfile"
+ sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
+ | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
# 'foo.d', which lands next to the object file, wherever that
# happens to be.
# Much of this is similar to the tru64 case; see comments there.
- dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
- test "x$dir" = "x$object" && dir=
- base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+ set_dir_from "$object"
+ set_base_from "$object"
if test "$libtool" = yes; then
tmpdepfile1=$dir$base.d
tmpdepfile2=$dir.libs/$base.d
"$@" +Maked
fi
stat=$?
- if test $stat -eq 0; then :
- else
+ if test $stat -ne 0; then
rm -f "$tmpdepfile1" "$tmpdepfile2"
exit $stat
fi
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
- sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
- # Add `dependent.h:' lines.
+ sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
+ # Add 'dependent.h:' lines.
sed -ne '2,${
- s/^ *//
- s/ \\*$//
- s/$/:/
- p
- }' "$tmpdepfile" >> "$depfile"
+ s/^ *//
+ s/ \\*$//
+ s/$/:/
+ p
+ }' "$tmpdepfile" >> "$depfile"
else
- echo "#dummy" > "$depfile"
+ make_dummy_depfile
fi
rm -f "$tmpdepfile" "$tmpdepfile2"
;;
tru64)
- # The Tru64 compiler uses -MD to generate dependencies as a side
- # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
- # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
- # dependencies in `foo.d' instead, so we check for that too.
- # Subdirectories are respected.
- dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
- test "x$dir" = "x$object" && dir=
- base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
-
- if test "$libtool" = yes; then
- # With Tru64 cc, shared objects can also be used to make a
- # static library. This mechanism is used in libtool 1.4 series to
- # handle both shared and static libraries in a single compilation.
- # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
- #
- # With libtool 1.5 this exception was removed, and libtool now
- # generates 2 separate objects for the 2 libraries. These two
- # compilations output dependencies in $dir.libs/$base.o.d and
- # in $dir$base.o.d. We have to check for both files, because
- # one of the two compilations can be disabled. We should prefer
- # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
- # automatically cleaned when .libs/ is deleted, while ignoring
- # the former would cause a distcleancheck panic.
- tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
- tmpdepfile2=$dir$base.o.d # libtool 1.5
- tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
- tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
- "$@" -Wc,-MD
- else
- tmpdepfile1=$dir$base.o.d
- tmpdepfile2=$dir$base.d
- tmpdepfile3=$dir$base.d
- tmpdepfile4=$dir$base.d
- "$@" -MD
- fi
-
- stat=$?
- if test $stat -eq 0; then :
- else
- rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
- exit $stat
- fi
-
- for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
- do
- test -f "$tmpdepfile" && break
- done
- if test -f "$tmpdepfile"; then
- sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
- # That's a tab and a space in the [].
- sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
- else
- echo "#dummy" > "$depfile"
- fi
- rm -f "$tmpdepfile"
- ;;
+ # The Tru64 compiler uses -MD to generate dependencies as a side
+ # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
+ # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
+ # dependencies in 'foo.d' instead, so we check for that too.
+ # Subdirectories are respected.
+ set_dir_from "$object"
+ set_base_from "$object"
+
+ if test "$libtool" = yes; then
+ # Libtool generates 2 separate objects for the 2 libraries. These
+ # two compilations output dependencies in $dir.libs/$base.o.d and
+ # in $dir$base.o.d. We have to check for both files, because
+ # one of the two compilations can be disabled. We should prefer
+ # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
+ # automatically cleaned when .libs/ is deleted, while ignoring
+ # the former would cause a distcleancheck panic.
+ tmpdepfile1=$dir$base.o.d # libtool 1.5
+ tmpdepfile2=$dir.libs/$base.o.d # Likewise.
+ tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
+ "$@" -Wc,-MD
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ tmpdepfile3=$dir$base.d
+ "$@" -MD
+ fi
+
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ # Same post-processing that is required for AIX mode.
+ aix_post_process_depfile
+ ;;
msvc7)
if test "$libtool" = yes; then
"$@" $showIncludes > "$tmpdepfile"
stat=$?
grep -v '^Note: including file: ' "$tmpdepfile"
- if test "$stat" = 0; then :
- else
+ if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
p
}' | $cygpath_u | sort -u | sed -n '
s/ /\\ /g
-s/\(.*\)/ \1 \\/p
+s/\(.*\)/'"$tab"'\1 \\/p
s/.\(.*\) \\/\1:/
H
$ {
- s/.*/ /
+ s/.*/'"$tab"'/
G
p
}' >> "$depfile"
+ echo >> "$depfile" # make sure the fragment doesn't end with a backslash
rm -f "$tmpdepfile"
;;
shift
fi
- # Remove `-o $object'.
+ # Remove '-o $object'.
IFS=" "
for arg
do
done
test -z "$dashmflag" && dashmflag=-M
- # Require at least two characters before searching for `:'
+ # Require at least two characters before searching for ':'
# in the target name. This is to cope with DOS-style filenames:
- # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
+ # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
"$@" $dashmflag |
- sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
+ sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
- tr ' ' '
-' < "$tmpdepfile" | \
-## Some versions of the HPUX 10.20 sed can't process this invocation
-## correctly. Breaking it into two sed invocations is a workaround.
- sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process this sed invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
# makedepend may prepend the VPATH from the source file name to the object.
# No need to regex-escape $object, excess matching of '.' is harmless.
sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
- sed '1,2d' "$tmpdepfile" | tr ' ' '
-' | \
-## Some versions of the HPUX 10.20 sed can't process this invocation
-## correctly. Breaking it into two sed invocations is a workaround.
- sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process the last invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ sed '1,2d' "$tmpdepfile" \
+ | tr ' ' "$nl" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile" "$tmpdepfile".bak
;;
shift
fi
- # Remove `-o $object'.
+ # Remove '-o $object'.
IFS=" "
for arg
do
esac
done
- "$@" -E |
- sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
- -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
- sed '$ s: \\$::' > "$tmpdepfile"
+ "$@" -E \
+ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ | sed '$ s: \\$::' > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
cat < "$tmpdepfile" >> "$depfile"
shift
;;
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
- set fnord "$@"
- shift
- shift
- ;;
+ set fnord "$@"
+ shift
+ shift
+ ;;
*)
- set fnord "$@" "$arg"
- shift
- shift
- ;;
+ set fnord "$@" "$arg"
+ shift
+ shift
+ ;;
esac
done
"$@" -E 2>/dev/null |
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
- sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
- echo " " >> "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
+ echo "$tab" >> "$depfile"
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
rm -f "$tmpdepfile"
;;
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2011-01-19.21; # UTC
+scriptversion=2011-11-20.07; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
-# `make' implicit rules from creating a file called install from it
+# 'make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
-s) stripcmd=$stripprog;;
-t) dst_arg=$2
- # Protect names problematic for `test' and other utilities.
+ # Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
fi
shift # arg
dst_arg=$arg
- # Protect names problematic for `test' and other utilities.
+ # Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
echo "$0: no input file specified." >&2
exit 1
fi
- # It's OK to call `install-sh -d' without argument.
+ # It's OK to call 'install-sh -d' without argument.
# This can happen when creating conditional directories.
exit 0
fi
for src
do
- # Protect names problematic for `test' and other utilities.
+ # Protect names problematic for 'test' and other utilities.
case $src in
-* | [=\(\)!]) src=./$src;;
esac
if test -z "$dir_arg" || {
# Check for POSIX incompatibilities with -m.
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
- # other-writeable bit of parent directory when it shouldn't.
+ # other-writable bit of parent directory when it shouldn't.
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
ls_ld_tmpdir=`ls -ld "$tmpdir"`
case $ls_ld_tmpdir in
# compiler: $LTCC
# compiler flags: $LTCFLAGS
# linker: $LD (gnu? $with_gnu_ld)
-# $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
+# $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1.7ubuntu1
# automake: $automake_version
# autoconf: $autoconf_version
#
PROGRAM=libtool
PACKAGE=libtool
-VERSION="2.4.2 Debian-2.4.2-1ubuntu1"
+VERSION="2.4.2 Debian-2.4.2-1.7ubuntu1"
TIMESTAMP=""
package_revision=1.3337
#! /bin/sh
-# Common stub for a few missing GNU programs while installing.
+# Common wrapper for a few potentially missing GNU programs.
-scriptversion=2012-01-06.13; # UTC
+scriptversion=2013-10-28.13; # UTC
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
-# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the same distribution terms that you use for the rest of that program.
if test $# -eq 0; then
- echo 1>&2 "Try \`$0 --help' for more information"
+ echo 1>&2 "Try '$0 --help' for more information"
exit 1
fi
-run=:
-sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
-sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
-
-# In the cases where this matters, `missing' is being run in the
-# srcdir already.
-if test -f configure.ac; then
- configure_ac=configure.ac
-else
- configure_ac=configure.in
-fi
+case $1 in
-msg="missing on your system"
+ --is-lightweight)
+ # Used by our autoconf macros to check whether the available missing
+ # script is modern enough.
+ exit 0
+ ;;
-case $1 in
---run)
- # Try to run requested program, and just exit if it succeeds.
- run=
- shift
- "$@" && exit 0
- # Exit code 63 means version mismatch. This often happens
- # when the user try to use an ancient version of a tool on
- # a file that requires a minimum version. In this case we
- # we should proceed has if the program had been absent, or
- # if --run hadn't been passed.
- if test $? = 63; then
- run=:
- msg="probably too old"
- fi
- ;;
+ --run)
+ # Back-compat with the calling convention used by older automake.
+ shift
+ ;;
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
-Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
-error status if there is no known handling for PROGRAM.
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
+to PROGRAM being missing or too old.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
- --run try to run the given command, and emulate it if it fails
Supported PROGRAM values:
- aclocal touch file \`aclocal.m4'
- autoconf touch file \`configure'
- autoheader touch file \`config.h.in'
- autom4te touch the output file, or create a stub one
- automake touch all \`Makefile.in' files
- bison create \`y.tab.[ch]', if possible, from existing .[ch]
- flex create \`lex.yy.c', if possible, from existing .c
- help2man touch the output file
- lex create \`lex.yy.c', if possible, from existing .c
- makeinfo touch the output file
- yacc create \`y.tab.[ch]', if possible, from existing .[ch]
+ aclocal autoconf autoheader autom4te automake makeinfo
+ bison yacc flex lex help2man
-Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
-\`g' are ignored when checking the name.
+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
+'g' are ignored when checking the name.
Send bug reports to <bug-automake@gnu.org>."
exit $?
;;
-*)
- echo 1>&2 "$0: Unknown \`$1' option"
- echo 1>&2 "Try \`$0 --help' for more information"
+ echo 1>&2 "$0: unknown '$1' option"
+ echo 1>&2 "Try '$0 --help' for more information"
exit 1
;;
esac
-# normalize program name to check for.
-program=`echo "$1" | sed '
- s/^gnu-//; t
- s/^gnu//; t
- s/^g//; t'`
-
-# Now exit if we have it, but it failed. Also exit now if we
-# don't have it and --version was passed (most likely to detect
-# the program). This is about non-GNU programs, so use $1 not
-# $program.
-case $1 in
- lex*|yacc*)
- # Not GNU programs, they don't have --version.
- ;;
-
- *)
- if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
- # We have it, but it failed.
- exit 1
- elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
- # Could not run --version or --help. This is probably someone
- # running `$TOOL --version' or `$TOOL --help' to check whether
- # $TOOL exists and not knowing $TOOL uses missing.
- exit 1
- fi
- ;;
-esac
-
-# If it does not exist, or fails to run (possibly an outdated version),
-# try to emulate it.
-case $program in
- aclocal*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified \`acinclude.m4' or \`${configure_ac}'. You might want
- to install the \`Automake' and \`Perl' packages. Grab them from
- any GNU archive site."
- touch aclocal.m4
- ;;
-
- autoconf*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified \`${configure_ac}'. You might want to install the
- \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
- archive site."
- touch configure
- ;;
-
- autoheader*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified \`acconfig.h' or \`${configure_ac}'. You might want
- to install the \`Autoconf' and \`GNU m4' packages. Grab them
- from any GNU archive site."
- files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
- test -z "$files" && files="config.h"
- touch_files=
- for f in $files; do
- case $f in
- *:*) touch_files="$touch_files "`echo "$f" |
- sed -e 's/^[^:]*://' -e 's/:.*//'`;;
- *) touch_files="$touch_files $f.in";;
- esac
- done
- touch $touch_files
- ;;
-
- automake*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
- You might want to install the \`Automake' and \`Perl' packages.
- Grab them from any GNU archive site."
- find . -type f -name Makefile.am -print |
- sed 's/\.am$/.in/' |
- while read f; do touch "$f"; done
- ;;
-
- autom4te*)
- echo 1>&2 "\
-WARNING: \`$1' is needed, but is $msg.
- You might have modified some files without having the
- proper tools for further handling them.
- You can get \`$1' as part of \`Autoconf' from any GNU
- archive site."
-
- file=`echo "$*" | sed -n "$sed_output"`
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- if test -f "$file"; then
- touch $file
- else
- test -z "$file" || exec >$file
- echo "#! /bin/sh"
- echo "# Created by GNU Automake missing as a replacement of"
- echo "# $ $@"
- echo "exit 0"
- chmod +x $file
- exit 1
- fi
- ;;
-
- bison*|yacc*)
- echo 1>&2 "\
-WARNING: \`$1' $msg. You should only need it if
- you modified a \`.y' file. You may need the \`Bison' package
- in order for those modifications to take effect. You can get
- \`Bison' from any GNU archive site."
- rm -f y.tab.c y.tab.h
- if test $# -ne 1; then
- eval LASTARG=\${$#}
- case $LASTARG in
- *.y)
- SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
- if test -f "$SRCFILE"; then
- cp "$SRCFILE" y.tab.c
- fi
- SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
- if test -f "$SRCFILE"; then
- cp "$SRCFILE" y.tab.h
- fi
- ;;
- esac
- fi
- if test ! -f y.tab.h; then
- echo >y.tab.h
- fi
- if test ! -f y.tab.c; then
- echo 'main() { return 0; }' >y.tab.c
- fi
- ;;
-
- lex*|flex*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified a \`.l' file. You may need the \`Flex' package
- in order for those modifications to take effect. You can get
- \`Flex' from any GNU archive site."
- rm -f lex.yy.c
- if test $# -ne 1; then
- eval LASTARG=\${$#}
- case $LASTARG in
- *.l)
- SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
- if test -f "$SRCFILE"; then
- cp "$SRCFILE" lex.yy.c
- fi
- ;;
- esac
- fi
- if test ! -f lex.yy.c; then
- echo 'main() { return 0; }' >lex.yy.c
- fi
- ;;
-
- help2man*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified a dependency of a manual page. You may need the
- \`Help2man' package in order for those modifications to take
- effect. You can get \`Help2man' from any GNU archive site."
-
- file=`echo "$*" | sed -n "$sed_output"`
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- if test -f "$file"; then
- touch $file
- else
- test -z "$file" || exec >$file
- echo ".ab help2man is required to generate this page"
- exit $?
- fi
- ;;
-
- makeinfo*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified a \`.texi' or \`.texinfo' file, or any other file
- indirectly affecting the aspect of the manual. The spurious
- call might also be the consequence of using a buggy \`make' (AIX,
- DU, IRIX). You might want to install the \`Texinfo' package or
- the \`GNU make' package. Grab either from any GNU archive site."
- # The file to touch is that specified with -o ...
- file=`echo "$*" | sed -n "$sed_output"`
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- if test -z "$file"; then
- # ... or it is the one specified with @setfilename ...
- infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- file=`sed -n '
- /^@setfilename/{
- s/.* \([^ ]*\) *$/\1/
- p
- q
- }' $infile`
- # ... or it is derived from the source name (dir/f.texi becomes f.info)
- test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
- fi
- # If the file does not exist, the user really needs makeinfo;
- # let's fail without touching anything.
- test -f $file || exit 1
- touch $file
- ;;
+# Run the given program, remember its exit status.
+"$@"; st=$?
+
+# If it succeeded, we are done.
+test $st -eq 0 && exit 0
+
+# Also exit now if we it failed (or wasn't found), and '--version' was
+# passed; such an option is passed most likely to detect whether the
+# program is present and works.
+case $2 in --version|--help) exit $st;; esac
+
+# Exit code 63 means version mismatch. This often happens when the user
+# tries to use an ancient version of a tool on a file that requires a
+# minimum version.
+if test $st -eq 63; then
+ msg="probably too old"
+elif test $st -eq 127; then
+ # Program was missing.
+ msg="missing on your system"
+else
+ # Program was found and executed, but failed. Give up.
+ exit $st
+fi
- *)
- echo 1>&2 "\
-WARNING: \`$1' is needed, and is $msg.
- You might have modified some files without having the
- proper tools for further handling them. Check the \`README' file,
- it often tells you about the needed prerequisites for installing
- this package. You may also peek at any GNU archive site, in case
- some other package would contain this missing \`$1' program."
- exit 1
+perl_URL=http://www.perl.org/
+flex_URL=http://flex.sourceforge.net/
+gnu_software_URL=http://www.gnu.org/software
+
+program_details ()
+{
+ case $1 in
+ aclocal|automake)
+ echo "The '$1' program is part of the GNU Automake package:"
+ echo "<$gnu_software_URL/automake>"
+ echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/autoconf>"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ autoconf|autom4te|autoheader)
+ echo "The '$1' program is part of the GNU Autoconf package:"
+ echo "<$gnu_software_URL/autoconf/>"
+ echo "It also requires GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ esac
+}
+
+give_advice ()
+{
+ # Normalize program name to check for.
+ normalized_program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
+ printf '%s\n' "'$1' is $msg."
+
+ configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+ case $normalized_program in
+ autoconf*)
+ echo "You should only need it if you modified 'configure.ac',"
+ echo "or m4 files included by it."
+ program_details 'autoconf'
+ ;;
+ autoheader*)
+ echo "You should only need it if you modified 'acconfig.h' or"
+ echo "$configure_deps."
+ program_details 'autoheader'
+ ;;
+ automake*)
+ echo "You should only need it if you modified 'Makefile.am' or"
+ echo "$configure_deps."
+ program_details 'automake'
+ ;;
+ aclocal*)
+ echo "You should only need it if you modified 'acinclude.m4' or"
+ echo "$configure_deps."
+ program_details 'aclocal'
+ ;;
+ autom4te*)
+ echo "You might have modified some maintainer files that require"
+ echo "the 'autom4te' program to be rebuilt."
+ program_details 'autom4te'
+ ;;
+ bison*|yacc*)
+ echo "You should only need it if you modified a '.y' file."
+ echo "You may want to install the GNU Bison package:"
+ echo "<$gnu_software_URL/bison/>"
+ ;;
+ lex*|flex*)
+ echo "You should only need it if you modified a '.l' file."
+ echo "You may want to install the Fast Lexical Analyzer package:"
+ echo "<$flex_URL>"
+ ;;
+ help2man*)
+ echo "You should only need it if you modified a dependency" \
+ "of a man page."
+ echo "You may want to install the GNU Help2man package:"
+ echo "<$gnu_software_URL/help2man/>"
;;
-esac
-
-exit 0
+ makeinfo*)
+ echo "You should only need it if you modified a '.texi' file, or"
+ echo "any other file indirectly affecting the aspect of the manual."
+ echo "You might want to install the Texinfo package:"
+ echo "<$gnu_software_URL/texinfo/>"
+ echo "The spurious makeinfo call might also be the consequence of"
+ echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
+ echo "want to install GNU make:"
+ echo "<$gnu_software_URL/make/>"
+ ;;
+ *)
+ echo "You might have modified some files without having the proper"
+ echo "tools for further handling them. Check the 'README' file, it"
+ echo "often tells you about the needed prerequisites for installing"
+ echo "this package. You may also peek at any GNU archive site, in"
+ echo "case some other package contains this missing '$1' program."
+ ;;
+ esac
+}
+
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
+ -e '2,$s/^/ /' >&2
+
+# Propagate the correct exit status (expected to be 127 for a program
+# not found, 63 for a program that failed due to version mismatch).
+exit $st
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
--- /dev/null
+#! /bin/sh
+# test-driver - basic testsuite driver script.
+
+scriptversion=2013-07-13.22; # UTC
+
+# Copyright (C) 2011-2013 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+# Make unconditional expansion of undefined variables an error. This
+# helps a lot in preventing typo-related bugs.
+set -u
+
+usage_error ()
+{
+ echo "$0: $*" >&2
+ print_usage >&2
+ exit 2
+}
+
+print_usage ()
+{
+ cat <<END
+Usage:
+ test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
+ [--expect-failure={yes|no}] [--color-tests={yes|no}]
+ [--enable-hard-errors={yes|no}] [--]
+ TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
+The '--test-name', '--log-file' and '--trs-file' options are mandatory.
+END
+}
+
+test_name= # Used for reporting.
+log_file= # Where to save the output of the test script.
+trs_file= # Where to save the metadata of the test run.
+expect_failure=no
+color_tests=no
+enable_hard_errors=yes
+while test $# -gt 0; do
+ case $1 in
+ --help) print_usage; exit $?;;
+ --version) echo "test-driver $scriptversion"; exit $?;;
+ --test-name) test_name=$2; shift;;
+ --log-file) log_file=$2; shift;;
+ --trs-file) trs_file=$2; shift;;
+ --color-tests) color_tests=$2; shift;;
+ --expect-failure) expect_failure=$2; shift;;
+ --enable-hard-errors) enable_hard_errors=$2; shift;;
+ --) shift; break;;
+ -*) usage_error "invalid option: '$1'";;
+ *) break;;
+ esac
+ shift
+done
+
+missing_opts=
+test x"$test_name" = x && missing_opts="$missing_opts --test-name"
+test x"$log_file" = x && missing_opts="$missing_opts --log-file"
+test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
+if test x"$missing_opts" != x; then
+ usage_error "the following mandatory options are missing:$missing_opts"
+fi
+
+if test $# -eq 0; then
+ usage_error "missing argument"
+fi
+
+if test $color_tests = yes; then
+ # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
+ red='\e[0;31m' # Red.
+ grn='\e[0;32m' # Green.
+ lgn='\e[1;32m' # Light green.
+ blu='\e[1;34m' # Blue.
+ mgn='\e[0;35m' # Magenta.
+ std='\e[m' # No color.
+else
+ red= grn= lgn= blu= mgn= std=
+fi
+
+do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
+trap "st=129; $do_exit" 1
+trap "st=130; $do_exit" 2
+trap "st=141; $do_exit" 13
+trap "st=143; $do_exit" 15
+
+# Test script is run here.
+"$@" >$log_file 2>&1
+estatus=$?
+if test $enable_hard_errors = no && test $estatus -eq 99; then
+ estatus=1
+fi
+
+case $estatus:$expect_failure in
+ 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
+ 0:*) col=$grn res=PASS recheck=no gcopy=no;;
+ 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
+ 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
+ *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
+ *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
+esac
+
+# Report outcome to console.
+echo "${col}${res}${std}: $test_name"
+
+# Register the test result, and other relevant metadata.
+echo ":test-result: $res" > $trs_file
+echo ":global-test-result: $res" >> $trs_file
+echo ":recheck: $recheck" >> $trs_file
+echo ":copy-in-global-log: $gcopy" >> $trs_file
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for gumd 0.0.2.
+# Generated by GNU Autoconf 2.69 for gumd 0.0.3.
#
#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
#
#
# This configure script is free software; the Free Software Foundation
# CDPATH.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
if test "x$CONFIG_SHELL" = x; then
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
emulate sh
else
exitcode=1; echo positional parameters were not saved.
fi
-test x\$exitcode = x0 || exit 1"
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- # Preserve -v and -x to the replacement shell.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
- esac
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
fi
if test x$as_have_required = xno; then :
} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
chmod +x "$as_me.lineno" ||
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
# Don't try to exec as it changes $[0], causing all sort of problems
# (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensitive to this).
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
+ # In both cases, we have to default to `cp -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
fi
else
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
as_mkdir_p=false
fi
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Identity of this package.
PACKAGE_NAME='gumd'
PACKAGE_TARNAME='gumd'
-PACKAGE_VERSION='0.0.2'
-PACKAGE_STRING='gumd 0.0.2'
+PACKAGE_VERSION='0.0.3'
+PACKAGE_STRING='gumd 0.0.3'
PACKAGE_BUGREPORT=''
PACKAGE_URL='https://github.com/01org/gumd'
GTK_DOC_BUILD_HTML_TRUE
ENABLE_GTK_DOC_FALSE
ENABLE_GTK_DOC_TRUE
+HAVE_GTK_DOC_FALSE
+HAVE_GTK_DOC_TRUE
GTKDOC_DEPS_LIBS
GTKDOC_DEPS_CFLAGS
HTML_DIR
GTKDOC_MKPDF
GTKDOC_REBASE
+GTKDOC_CHECK_PATH
GTKDOC_CHECK
HAVE_DEBUG_FALSE
HAVE_DEBUG_TRUE
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
elif test "x$build_alias" != "x$host_alias"; then
cross_compiling=yes
fi
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures gumd 0.0.2 to adapt to many kinds of systems.
+\`configure' configures gumd 0.0.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of gumd 0.0.2:";;
+ short | recursive ) echo "Configuration of gumd 0.0.3:";;
esac
cat <<\_ACEOF
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-silent-rules less verbose build output (undo: `make V=1')
- --disable-silent-rules verbose build output (undo: `make V=0')
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
+ --enable-silent-rules less verbose build output (undo: "make V=1")
+ --disable-silent-rules verbose build output (undo: "make V=0")
+ --enable-dependency-tracking
+ do not reject slow dependency extractors
+ --disable-dependency-tracking
+ speeds up one-time build
--enable-static[=PKGS] build static libraries [default=no]
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-fast-install[=PKGS]
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-gumd configure 0.0.2
-generated by GNU Autoconf 2.68
+gumd configure 0.0.3
+generated by GNU Autoconf 2.69
-Copyright (C) 2010 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
- $as_test_x conftest$ac_exeext
+ test -x conftest$ac_exeext
}; then :
ac_retval=0
else
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by gumd $as_me 0.0.2, which was
-generated by GNU Autoconf 2.68. Invocation command line was
+It was created by gumd $as_me 0.0.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
-am__api_version='1.11'
+am__api_version='1.14'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# by default.
for ac_prog in ginstall scoinst install; do
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
if test $ac_prog = install &&
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
# AIX install. It has an incompatible calling convention.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
$as_echo_n "checking whether build environment is sane... " >&6; }
-# Just in case
-sleep 1
-echo timestamp > conftest.file
# Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
esac
case $srcdir in
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
- as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
esac
-# Do `set' in a subshell so we don't clobber the current shell's
+# Do 'set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- rm -f conftest.file
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
-alias in your environment" "$LINENO" 5
- fi
-
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+ alias in your environment" "$LINENO" 5
+ fi
+ if test "$2" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
test "$2" = conftest.file
)
then
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
test "$program_prefix" != NONE &&
program_transform_name="s&^&$program_prefix&;$program_transform_name"
# Use a double $ so make ignores it.
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
fi
if test x"${install_sh}" != xset; then
esac
fi
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
+# will honor the 'STRIP' environment variable to overrule this program.
if test "$cross_compiling" != no; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_STRIP="strip"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
test -z "$as_dir" && as_dir=.
for ac_prog in mkdir gmkdir; do
for ac_exec_ext in '' $ac_executable_extensions; do
- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
'mkdir (GNU coreutils) '* | \
'mkdir (coreutils) '* | \
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
$as_echo "$MKDIR_P" >&6; }
-mkdir_p="$MKDIR_P"
-case $mkdir_p in
- [\\/$]* | ?:[\\/]*) ;;
- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
-esac
-
for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_AWK="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
enableval=$enable_silent_rules;
fi
-case $enable_silent_rules in
-yes) AM_DEFAULT_VERBOSITY=0;;
-no) AM_DEFAULT_VERBOSITY=1;;
-*) AM_DEFAULT_VERBOSITY=1;;
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=1;;
esac
am_make=${MAKE-make}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
# Define the identity of the package.
PACKAGE='gumd'
- VERSION='0.0.2'
+ VERSION='0.0.3'
cat >>confdefs.h <<_ACEOF
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
# Always define AMTAR for backward compatibility. Yes, it's still used
AMTAR='$${TAR-tar}'
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
-$as_echo_n "checking how to create a pax tar archive... " >&6; }
-# Loop over all known methods to create a tar archive until one works.
+# We'll loop over all known methods to create a tar archive until one works.
_am_tools='gnutar pax cpio none'
-_am_tools=${am_cv_prog_tar_pax-$_am_tools}
-# Do not fold the above two line into one, because Tru64 sh and
-# Solaris sh will not grok spaces in the rhs of `-'.
-for _am_tool in $_am_tools
-do
- case $_am_tool in
- gnutar)
- for _am_tar in tar gnutar gtar;
- do
- { echo "$as_me:$LINENO: $_am_tar --version" >&5
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
+$as_echo_n "checking how to create a pax tar archive... " >&6; }
+
+ # Go ahead even if we have the value already cached. We do so because we
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
+ _am_tools=${am_cv_prog_tar_pax-$_am_tools}
+
+ for _am_tool in $_am_tools; do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar; do
+ { echo "$as_me:$LINENO: $_am_tar --version" >&5
($_am_tar --version) >&5 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && break
- done
- am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
- am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
- am__untar="$_am_tar -xf -"
- ;;
- plaintar)
- # Must skip GNU tar: if it does not support --format= it doesn't create
- # ustar tarball either.
- (tar --version) >/dev/null 2>&1 && continue
- am__tar='tar chf - "$$tardir"'
- am__tar_='tar chf - "$tardir"'
- am__untar='tar xf -'
- ;;
- pax)
- am__tar='pax -L -x pax -w "$$tardir"'
- am__tar_='pax -L -x pax -w "$tardir"'
- am__untar='pax -r'
- ;;
- cpio)
- am__tar='find "$$tardir" -print | cpio -o -H pax -L'
- am__tar_='find "$tardir" -print | cpio -o -H pax -L'
- am__untar='cpio -i -H pax -d'
- ;;
- none)
- am__tar=false
- am__tar_=false
- am__untar=false
- ;;
- esac
+ done
+ am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x pax -w "$$tardir"'
+ am__tar_='pax -L -x pax -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H pax -L'
+ am__tar_='find "$tardir" -print | cpio -o -H pax -L'
+ am__untar='cpio -i -H pax -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
- # If the value was cached, stop now. We just wanted to have am__tar
- # and am__untar set.
- test -n "${am_cv_prog_tar_pax}" && break
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_pax}" && break
- # tar/untar a dummy directory, and stop if the command works
- rm -rf conftest.dir
- mkdir conftest.dir
- echo GrepMe > conftest.dir/file
- { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
+ # tar/untar a dummy directory, and stop if the command works.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }
- rm -rf conftest.dir
- if test -s conftest.tar; then
- { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
($am__untar <conftest.tar) >&5 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }
- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
- fi
-done
-rm -rf conftest.dir
+ { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
+ (cat conftest.dir/file) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+ done
+ rm -rf conftest.dir
-if ${am_cv_prog_tar_pax+:} false; then :
+ if ${am_cv_prog_tar_pax+:} false; then :
$as_echo_n "(cached) " >&6
else
am_cv_prog_tar_pax=$_am_tool
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
$as_echo "$am_cv_prog_tar_pax" >&6; }
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+ fi
+fi
+
# Checks for programs.
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}gcc"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="gcc"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}cc"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
ac_prog_rejected=yes
continue
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
/* end confdefs.h. */
#include <stdarg.h>
#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+struct stat;
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
DEPDIR="${am__leading_dot}deps"
ac_config_commands="$ac_config_commands depfiles"
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
+# Ignore all kinds of additional output from 'make'.
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=include
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
rm -rf conftest.dir
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
done
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
am__obj=sub/conftest.${OBJEXT-o}
am__minus_obj="-o $am__obj"
case $depmode in
test "$am__universal" = false || continue
;;
nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
if test "x$enable_dependency_tracking" = xyes; then
continue
else
fi
;;
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
+ # This compiler won't grok '-c -o', but also, the minuso test has
# not run yet. These depmodes are late enough in the game, and
# so weak that their functioning should not be impacted.
am__obj=conftest.${OBJEXT-o}
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_AR="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
if ${am_cv_ar_interface+:} false; then :
$as_echo_n "(cached) " >&6
else
- am_cv_ar_interface=ar
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ am_cv_ar_interface=ar
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int some_variable = 0;
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
for ac_prog in sed gsed; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
- { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
+ as_fn_executable_p "$ac_path_SED" || continue
# Check for GNU ac_path_SED and select it if it is found.
# Check for GNU $ac_path_SED
case `"$ac_path_SED" --version 2>&1` in
for ac_prog in grep ggrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+ as_fn_executable_p "$ac_path_GREP" || continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
case `"$ac_path_GREP" --version 2>&1` in
for ac_prog in egrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+ as_fn_executable_p "$ac_path_EGREP" || continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
case `"$ac_path_EGREP" --version 2>&1` in
for ac_prog in fgrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
- { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
+ as_fn_executable_p "$ac_path_FGREP" || continue
# Check for GNU ac_path_FGREP and select it if it is found.
# Check for GNU $ac_path_FGREP
case `"$ac_path_FGREP" --version 2>&1` in
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
;;
*)
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
- if test -n "$lt_cv_sys_max_cmd_len"; then
+ if test -n "$lt_cv_sys_max_cmd_len" && \
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
else
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_OBJDUMP="objdump"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
;;
-gnu*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
haiku*)
lt_cv_deplibs_check_method=pass_all
;;
;;
# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
lt_cv_deplibs_check_method=pass_all
;;
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_AR="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_STRIP="strip"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_RANLIB="ranlib"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
rm -rf conftest*
;;
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
LD="${LD-ld} -m elf_i386_fbsd"
;;
x86_64-*linux*)
- LD="${LD-ld} -m elf_i386"
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
;;
- ppc64-*linux*|powerpc64-*linux*)
+ powerpc64le-*)
+ LD="${LD-ld} -m elf32lppclinux"
+ ;;
+ powerpc64-*)
LD="${LD-ld} -m elf32ppclinux"
;;
s390x-*linux*)
x86_64-*linux*)
LD="${LD-ld} -m elf_x86_64"
;;
- ppc*-*linux*|powerpc*-*linux*)
+ powerpcle-*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+ powerpc-*)
LD="${LD-ld} -m elf64ppc"
;;
s390*-*linux*|s390*-*tpf*)
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_NMEDIT="nmedit"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_LIPO="lipo"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_OTOOL="otool"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_OTOOL64="otool64"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
lt_prog_compiler_static='-non_shared'
;;
- linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
case $cc_basename in
# old Intel for x86_64 which still supported -KPIC.
ecc*)
esac
;;
-gnu*)
- version_type=linux # correct to gnu/linux during the next big refactor
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=no
- hardcode_into_libs=yes
- ;;
-
haiku*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
;;
# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
- # Extract the first word of "gtkdoc-check", so it can be a program name with args.
+ gtk_doc_requires="gtk-doc >= 1.18"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
+$as_echo_n "checking for gtk-doc... " >&6; }
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ have_gtk_doc=yes
+else
+ have_gtk_doc=no
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
+$as_echo "$have_gtk_doc" >&6; }
+
+ if test "$have_gtk_doc" = "no"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
+ You will not be able to create source packages with 'make dist'
+ because $gtk_doc_requires is not found." >&5
+$as_echo "$as_me: WARNING:
+ You will not be able to create source packages with 'make dist'
+ because $gtk_doc_requires is not found." >&2;}
+ fi
+
+ # Extract the first word of "gtkdoc-check", so it can be a program name with args.
set dummy gtkdoc-check; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
+if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
$as_echo_n "(cached) " >&6
else
- case $GTKDOC_CHECK in
+ if test -n "$GTKDOC_CHECK"; then
+ ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
+if test -n "$GTKDOC_CHECK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
+$as_echo "$GTKDOC_CHECK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ # Extract the first word of "gtkdoc-check", so it can be a program name with args.
+set dummy gtkdoc-check; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $GTKDOC_CHECK_PATH in
[\\/]* | ?:[\\/]*)
- ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
+ ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
;;
esac
fi
-GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
-if test -n "$GTKDOC_CHECK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
-$as_echo "$GTKDOC_CHECK" >&6; }
+GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
+if test -n "$GTKDOC_CHECK_PATH"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
+$as_echo "$GTKDOC_CHECK_PATH" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
- if test x$enable_gtk_doc = xyes; then
- if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.18\""; } >&5
- ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.18") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
- :
-else
- as_fn_error $? "You need to have gtk-doc >= 1.18 installed to build $PACKAGE_NAME" "$LINENO" 5
-fi
- if test "x$PACKAGE_NAME" != "xglib"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
+$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
+$as_echo "$enable_gtk_doc" >&6; }
+
+ if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
+ as_fn_error $? "
+ You must have $gtk_doc_requires installed to build documentation for
+ $PACKAGE_NAME. Please install gtk-doc or disable building the
+ documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
+ fi
+
+ if test "x$PACKAGE_NAME" != "xglib"; then
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
# Put the nasty error message in config.log where it belongs
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
- as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
-
-$GTKDOC_DEPS_PKG_ERRORS
-
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
-
-Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
-and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details." "$LINENO" 5
+ :
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
-is in your PATH or set the PKG_CONFIG environment variable to the full
-path to pkg-config.
-
-Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
-and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details" "$LINENO" 5; }
+ :
else
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
$as_echo "yes" >&6; }
fi
- fi
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
-$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
-$as_echo "$enable_gtk_doc" >&6; }
-
# Check whether --enable-gtk-doc-html was given.
if test "${enable_gtk_doc_html+set}" = set; then :
enableval=$enable_gtk_doc_html;
enable_gtk_doc_pdf=no
fi
+ if test -z "$AM_DEFAULT_VERBOSITY"; then
+ AM_DEFAULT_VERBOSITY=1
+ fi
+
+
+ if test x$have_gtk_doc = xyes; then
+ HAVE_GTK_DOC_TRUE=
+ HAVE_GTK_DOC_FALSE='#'
+else
+ HAVE_GTK_DOC_TRUE='#'
+ HAVE_GTK_DOC_FALSE=
+fi
if test x$enable_gtk_doc = xyes; then
ENABLE_GTK_DOC_TRUE=
# Checks for typedefs, structures, and compiler characteristics.
GUM_CFLAGS='$(GLIB_CFLAGS) -D_POSIX_C_SOURCE=\"200809L\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE'
-GUM_CFLAGS="$GUM_CFLAGS -Wall -Werror $GCOV_CFLAGS"
+GUM_CFLAGS="$GUM_CFLAGS -Wall $GCOV_CFLAGS"
+if test "x$enable_debug" = "xno" ; then
+ GUM_CFLAGS="$GUM_CFLAGS -Werror"
+else
+ GUM_CFLAGS="$GUM_CFLAGS -DENABLE_DEBUG"
+fi
+
+
GUM_INCLUDES='-I$(top_builddir) -I$(top_srcdir)'
LTLIBOBJS=$ac_ltlibobjs
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+$as_echo "done" >&6; }
if test -n "$EXEEXT"; then
am__EXEEXT_TRUE=
am__EXEEXT_FALSE='#'
as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
+ as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
+ # In both cases, we have to default to `cp -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
fi
else
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
as_mkdir_p=false
fi
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by gumd $as_me 0.0.2, which was
-generated by GNU Autoconf 2.68. Invocation command line was
+This file was extended by gumd $as_me 0.0.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-gumd config.status 0.0.2
-configured by $0, generated by GNU Autoconf 2.68,
+gumd config.status 0.0.3
+configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
-Copyright (C) 2010 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
shift
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
CONFIG_SHELL='$SHELL'
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
+ # We used to match only the files named 'Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
+ # from the Makefile without running 'make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
+ test -z "$am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`$as_dirname -- "$file" ||
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.60])
-AC_INIT([gumd], [0.0.2],[],[],[https://github.com/01org/gumd])
+AC_INIT([gumd], [0.0.3],[],[],[https://github.com/01org/gumd])
AC_CONFIG_SRCDIR([src/daemon/main.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([build-aux])
# Checks for typedefs, structures, and compiler characteristics.
GUM_CFLAGS='$(GLIB_CFLAGS) -D_POSIX_C_SOURCE=\"200809L\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE'
-GUM_CFLAGS="$GUM_CFLAGS -Wall -Werror $GCOV_CFLAGS"
+GUM_CFLAGS="$GUM_CFLAGS -Wall $GCOV_CFLAGS"
+if test "x$enable_debug" = "xno" ; then
+ GUM_CFLAGS="$GUM_CFLAGS -Werror"
+else
+ GUM_CFLAGS="$GUM_CFLAGS -DENABLE_DEBUG"
+fi
+
+
AC_SUBST(GUM_CFLAGS)
GUM_INCLUDES='-I$(top_builddir) -I$(top_srcdir)'
AC_SUBST(GUM_INCLUDES)
+gumd (0.0.3-1) unstable; urgency=low
+
+ * Log only when logging is enabled
+ * Fixed p2p stream descriptor leak
+
+ -- Imran Zaman <imran.zaman@intel.com> Tue, 05 Aug 2014 10:24:53 +0300
+
gumd (0.0.2-1) unstable; urgency=low
* Simplified gumd packages
Name: gumd
Summary: User management daemon and client library
-Version: 0.0.2
+Version: 0.0.3
Release: 1
Group: System/Daemons
License: LGPL-2.1+
%changelog
+* Tue Aug 05 2014 Imran Zaman <imran.zaman@intel.com>
+- Log only when logging is enabled
+- Fixed p2p stream descriptor leak
+
* Thu May 22 2014 Imran Zaman <imran.zaman@intel.com>
- Renamed gum-example as gum-utils to be used as command line utility
+* Tue Aug 05 2014 Imran Zaman <imran.zaman@intel.com>
+- Log only when logging is enabled
+- Fixed p2p stream descriptor leak
+
* Thu May 22 2014 Imran Zaman <imran.zaman@intel.com>
- Renamed gum-example as gum-utils to be used as command line utility
Name: gumd
Summary: User management daemon and client library
-Version: 0.0.2
+Version: 0.0.3
Release: 1
-Group: System/Daemons
+Group: Security/Accounts
License: LGPL-2.1+
Source: %{name}-%{version}.tar.gz
URL: https://github.com/01org/gumd
%package -n libgum
Summary: User management client library
-Group: System/Libraries
+Group: Security/Accounts
%description -n libgum
%package -n libgum-devel
Summary: Development files for user management client library
-Group: Development/Libraries
+Group: SDK/Libraries
Requires: libgum = %{version}-%{release}
%package doc
Summary: Documentation files for %{name}
-Group: Development/Libraries
+Group: SDK/Documentation
Requires: libgum = %{version}-%{release}
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# Everything below here is generic #
####################################
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(srcdir)/version.xml.in $(top_srcdir)/docs/gtk-doc.make \
- $(top_srcdir)/test/test_common.mk
+DIST_COMMON = $(top_srcdir)/docs/gtk-doc.make \
+ $(top_srcdir)/test/test_common.mk $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(srcdir)/version.xml.in \
+ $(top_srcdir)/build-aux/test-driver
subdir = docs
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES = version.xml
CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
+am__v_at_1 =
SOURCES =
DIST_SOURCES =
-am__tty_colors = \
-red=; grn=; lgn=; blu=; std=
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+AM_RECURSIVE_TARGETS = check recheck
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
$(DOC_MODULE)-unused.txt
CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) \
- $(DOC_MODULE)-*.txt $(DOC_MODULE).types
-@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
-@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
-@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
-@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
+ gtkdoc-check.test $(DOC_MODULE)-*.txt $(DOC_MODULE).types
+@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
+@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
+@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
+@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
+
+#### setup ####
+GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_$(V))
+GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build";
+
+#### scan ####
+GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_$(V))
+GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files";
+GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_$(V))
+GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects";
+
+#### xml ####
+GTK_DOC_V_XML = $(GTK_DOC_V_XML_$(V))
+GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_XML_0 = @echo " DOC Building XML";
+
+#### html ####
+GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_$(V))
+GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_HTML_0 = @echo " DOC Building HTML";
+GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_$(V))
+GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references";
+
+#### pdf ####
+GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_$(V))
+GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_PDF_0 = @echo " DOC Building PDF";
@ENABLE_GTK_DOC_TRUE@TESTS_ENVIRONMENT = \
@ENABLE_GTK_DOC_TRUE@ G_MESSAGES_DEBUG="all" \
@ENABLE_GTK_DOC_TRUE@ LD_LIBRARY_PATH="$(top_builddir)/src/common/.libs:$(top_builddir)/src/daemon/.libs:$(top_builddir)/src/daemon/dbus/.libs"
all: all-am
.SUFFIXES:
+.SUFFIXES: .log .test .test$(EXEEXT) .trs
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/docs/gtk-doc.make $(top_srcdir)/test/test_common.mk $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
clean-libtool:
-rm -rf .libs _libs
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ else \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
else \
- skipped="($$skip tests were not run)"; \
+ color_start= color_end=; \
fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
+@ENABLE_GTK_DOC_FALSE@all-local:
all-am: Makefile all-local
installdirs:
install: install-am
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
.MAKE: check-am install-am install-strip
.PHONY: all all-am all-local check check-TESTS check-am clean \
- clean-generic clean-libtool clean-local dist-hook distclean \
- distclean-generic distclean-libtool distclean-local distdir \
- dvi dvi-am html html-am info info-am install install-am \
- install-data install-data-am install-data-local install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic \
- maintainer-clean-local mostlyclean mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
- uninstall-local
-
-
-@ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
-@ENABLE_GTK_DOC_FALSE@all-local:
+ clean-generic clean-libtool clean-local cscopelist-am ctags-am \
+ dist-hook distclean distclean-generic distclean-libtool \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am \
+ install-data-local install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic maintainer-clean-local mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ recheck tags-am uninstall uninstall-am uninstall-local
+
+
+gtkdoc-check.test: Makefile
+ $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \
+ echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \
+ chmod +x $@
+
+all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
+.PHONY: all-gtk-doc
+
+@ENABLE_GTK_DOC_TRUE@all-local: all-gtk-doc
docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
$(REPORT_FILES): sgml-build.stamp
-#### setup ####
-
setup-build.stamp:
- -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
- echo ' DOC Preparing build'; \
+ -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
if test "x$$files" != "x" ; then \
for file in $$files ; do \
+ destdir=`dirname $(abs_builddir)/$$file`; \
+ test -d "$$destdir" || mkdir -p "$$destdir"; \
test -f $(abs_srcdir)/$$file && \
- cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
+ cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \
done; \
fi; \
fi
- @touch setup-build.stamp
-
-#### scan ####
+ $(AM_V_at)touch setup-build.stamp
-scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
- @echo ' DOC Scanning header files'
- @_source_dir='' ; \
+scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB)
+ $(GTK_DOC_V_SCAN)_source_dir='' ; \
for i in $(DOC_SOURCE_DIR) ; do \
_source_dir="$${_source_dir} --source-dir=$$i" ; \
done ; \
gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
- @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
- echo " DOC Introspecting gobjects"; \
+ $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
scanobj_options=""; \
gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
if test "$(?)" = "0"; then \
test -f $$i || touch $$i ; \
done \
fi
- @touch scan-build.stamp
+ $(AM_V_at)touch scan-build.stamp
$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
@true
-#### xml ####
-
sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
- @echo ' DOC Building XML'
- @_source_dir='' ; \
+ $(GTK_DOC_V_XML)_source_dir='' ; \
for i in $(DOC_SOURCE_DIR) ; do \
_source_dir="$${_source_dir} --source-dir=$$i" ; \
done ; \
gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
- @touch sgml-build.stamp
+ $(AM_V_at)touch sgml-build.stamp
sgml.stamp: sgml-build.stamp
@true
-#### html ####
-
html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
- @echo ' DOC Building HTML'
- @rm -rf html
- @mkdir html
- @mkhtml_options=""; \
+ $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \
+ mkhtml_options=""; \
gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
if test "$(?)" = "0"; then \
if test "x$(V)" = "x1"; then \
cp $(abs_builddir)/$$file $(abs_builddir)/html; \
fi; \
done;
- @echo ' DOC Fixing cross-references'
- @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
- @touch html-build.stamp
-
-#### pdf ####
+ $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
+ $(AM_V_at)touch html-build.stamp
pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
- @echo ' DOC Building PDF'
- @rm -f $(DOC_MODULE).pdf
- @mkpdf_options=""; \
+ $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \
+ mkpdf_options=""; \
gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
if test "$(?)" = "0"; then \
if test "x$(V)" = "x1"; then \
done; \
fi; \
gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
- @touch pdf-build.stamp
+ $(AM_V_at)touch pdf-build.stamp
##############
clean-local:
@rm -f *~ *.bak
@rm -rf .libs
+ @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
+ rm -f $(DOC_MODULE).types; \
+ fi
distclean-local:
@rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
fi
-maintainer-clean-local: clean
+maintainer-clean-local:
@rm -rf xml html
install-data-local:
#
# Require gtk-doc when making dist
#
-@ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
-@ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
-@ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
-@ENABLE_GTK_DOC_FALSE@ @false
-
-dist-hook: dist-check-gtkdoc dist-hook-local
+@HAVE_GTK_DOC_TRUE@dist-check-gtkdoc: docs
+@HAVE_GTK_DOC_FALSE@dist-check-gtkdoc:
+@HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc is needed to run 'make dist'. ***"
+@HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc was not found when 'configure' ran. ***"
+@HAVE_GTK_DOC_FALSE@ @echo "*** please install gtk-doc and rerun 'configure'. ***"
+@HAVE_GTK_DOC_FALSE@ @false
+
+dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local
@mkdir $(distdir)/html
@cp ./html/* $(distdir)/html
@-cp ./$(DOC_MODULE).pdf $(distdir)/
$(DOC_MODULE)-undeclared.txt \
$(DOC_MODULE)-unused.txt
-CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
+gtkdoc-check.test: Makefile
+ $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \
+ echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \
+ chmod +x $@
+
+CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) gtkdoc-check.test
-if ENABLE_GTK_DOC
if GTK_DOC_BUILD_HTML
HTML_BUILD_STAMP=html-build.stamp
else
PDF_BUILD_STAMP=
endif
-all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
-else
-all-local:
+all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
+.PHONY: all-gtk-doc
+
+if ENABLE_GTK_DOC
+all-local: all-gtk-doc
endif
docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
#### setup ####
+GTK_DOC_V_SETUP=$(GTK_DOC_V_SETUP_$(V))
+GTK_DOC_V_SETUP_=$(GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_SETUP_0=@echo " DOC Preparing build";
+
setup-build.stamp:
- -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
- echo ' DOC Preparing build'; \
+ -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
if test "x$$files" != "x" ; then \
for file in $$files ; do \
+ destdir=`dirname $(abs_builddir)/$$file`; \
+ test -d "$$destdir" || mkdir -p "$$destdir"; \
test -f $(abs_srcdir)/$$file && \
- cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
+ cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \
done; \
fi; \
fi
- @touch setup-build.stamp
+ $(AM_V_at)touch setup-build.stamp
#### scan ####
-scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
- @echo ' DOC Scanning header files'
- @_source_dir='' ; \
+GTK_DOC_V_SCAN=$(GTK_DOC_V_SCAN_$(V))
+GTK_DOC_V_SCAN_=$(GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_SCAN_0=@echo " DOC Scanning header files";
+
+GTK_DOC_V_INTROSPECT=$(GTK_DOC_V_INTROSPECT_$(V))
+GTK_DOC_V_INTROSPECT_=$(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_INTROSPECT_0=@echo " DOC Introspecting gobjects";
+
+scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB)
+ $(GTK_DOC_V_SCAN)_source_dir='' ; \
for i in $(DOC_SOURCE_DIR) ; do \
_source_dir="$${_source_dir} --source-dir=$$i" ; \
done ; \
gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
- @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
- echo " DOC Introspecting gobjects"; \
+ $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
scanobj_options=""; \
gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
if test "$(?)" = "0"; then \
test -f $$i || touch $$i ; \
done \
fi
- @touch scan-build.stamp
+ $(AM_V_at)touch scan-build.stamp
$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
@true
#### xml ####
+GTK_DOC_V_XML=$(GTK_DOC_V_XML_$(V))
+GTK_DOC_V_XML_=$(GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_XML_0=@echo " DOC Building XML";
+
sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
- @echo ' DOC Building XML'
- @_source_dir='' ; \
+ $(GTK_DOC_V_XML)_source_dir='' ; \
for i in $(DOC_SOURCE_DIR) ; do \
_source_dir="$${_source_dir} --source-dir=$$i" ; \
done ; \
gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
- @touch sgml-build.stamp
+ $(AM_V_at)touch sgml-build.stamp
sgml.stamp: sgml-build.stamp
@true
#### html ####
+GTK_DOC_V_HTML=$(GTK_DOC_V_HTML_$(V))
+GTK_DOC_V_HTML_=$(GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_HTML_0=@echo " DOC Building HTML";
+
+GTK_DOC_V_XREF=$(GTK_DOC_V_XREF_$(V))
+GTK_DOC_V_XREF_=$(GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_XREF_0=@echo " DOC Fixing cross-references";
+
html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
- @echo ' DOC Building HTML'
- @rm -rf html
- @mkdir html
- @mkhtml_options=""; \
+ $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \
+ mkhtml_options=""; \
gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
if test "$(?)" = "0"; then \
if test "x$(V)" = "x1"; then \
cp $(abs_builddir)/$$file $(abs_builddir)/html; \
fi; \
done;
- @echo ' DOC Fixing cross-references'
- @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
- @touch html-build.stamp
+ $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
+ $(AM_V_at)touch html-build.stamp
#### pdf ####
+GTK_DOC_V_PDF=$(GTK_DOC_V_PDF_$(V))
+GTK_DOC_V_PDF_=$(GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY))
+GTK_DOC_V_PDF_0=@echo " DOC Building PDF";
+
pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
- @echo ' DOC Building PDF'
- @rm -f $(DOC_MODULE).pdf
- @mkpdf_options=""; \
+ $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \
+ mkpdf_options=""; \
gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
if test "$(?)" = "0"; then \
if test "x$(V)" = "x1"; then \
done; \
fi; \
gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
- @touch pdf-build.stamp
+ $(AM_V_at)touch pdf-build.stamp
##############
clean-local:
@rm -f *~ *.bak
@rm -rf .libs
+ @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
+ rm -f $(DOC_MODULE).types; \
+ fi
distclean-local:
@rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
fi
-maintainer-clean-local: clean
+maintainer-clean-local:
@rm -rf xml html
install-data-local:
#
# Require gtk-doc when making dist
#
-if ENABLE_GTK_DOC
-dist-check-gtkdoc:
+if HAVE_GTK_DOC
+dist-check-gtkdoc: docs
else
dist-check-gtkdoc:
- @echo "*** gtk-doc must be installed and enabled in order to make dist"
+ @echo "*** gtk-doc is needed to run 'make dist'. ***"
+ @echo "*** gtk-doc was not found when 'configure' ran. ***"
+ @echo "*** please install gtk-doc and rerun 'configure'. ***"
@false
endif
-dist-hook: dist-check-gtkdoc dist-hook-local
+dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local
@mkdir $(distdir)/html
@cp ./html/* $(distdir)/html
@-cp ./$(DOC_MODULE).pdf $(distdir)/
<FILE>gum-config</FILE>
<TITLE>GumConfig</TITLE>
GUM_UMASK
-GumConfig
-GumConfigClass
-gum_config_get_int
-gum_config_get_string
-gum_config_get_uint
gum_config_new
+gum_config_get_int
gum_config_set_int
-gum_config_set_string
+gum_config_get_uint
gum_config_set_uint
+gum_config_get_string
+gum_config_set_string
<SUBSECTION Standard>
GUM_CONFIG
GUM_CONFIG_CLASS
GUM_IS_CONFIG
GUM_IS_CONFIG_CLASS
GUM_TYPE_CONFIG
+GumConfig
+GumConfigClass
GumConfigPrivate
gum_config_get_type
</SECTION>
<SECTION>
<FILE>gum-config-dbus</FILE>
-GUM_CONFIG_DBUS_DAEMON_TIMEOUT
-GUM_CONFIG_DBUS_GROUP_TIMEOUT
GUM_CONFIG_DBUS_TIMEOUTS
+GUM_CONFIG_DBUS_DAEMON_TIMEOUT
GUM_CONFIG_DBUS_USER_TIMEOUT
+GUM_CONFIG_DBUS_GROUP_TIMEOUT
</SECTION>
<SECTION>
<FILE>gum-config-general</FILE>
GUM_CONFIG_GENERAL
-GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS
GUM_CONFIG_GENERAL_DEF_USR_GROUPS
-GUM_CONFIG_GENERAL_ENCRYPT_METHOD
-GUM_CONFIG_GENERAL_GID_MAX
-GUM_CONFIG_GENERAL_GID_MIN
+GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS
+GUM_CONFIG_GENERAL_PASSWD_FILE
+GUM_CONFIG_GENERAL_SHADOW_FILE
GUM_CONFIG_GENERAL_GROUP_FILE
GUM_CONFIG_GENERAL_GSHADOW_FILE
GUM_CONFIG_GENERAL_HOME_DIR_PREF
-GUM_CONFIG_GENERAL_PASSWD_FILE
-GUM_CONFIG_GENERAL_PASS_MAX_DAYS
-GUM_CONFIG_GENERAL_PASS_MIN_DAYS
-GUM_CONFIG_GENERAL_PASS_WARN_AGE
-GUM_CONFIG_GENERAL_SHADOW_FILE
GUM_CONFIG_GENERAL_SHELL
GUM_CONFIG_GENERAL_SKEL_DIR
-GUM_CONFIG_GENERAL_SMACK64_NEW_FILES
-GUM_CONFIG_GENERAL_SMACK64_USER_FILES
-GUM_CONFIG_GENERAL_SYS_GID_MAX
-GUM_CONFIG_GENERAL_SYS_GID_MIN
-GUM_CONFIG_GENERAL_SYS_UID_MAX
-GUM_CONFIG_GENERAL_SYS_UID_MIN
-GUM_CONFIG_GENERAL_UID_MAX
GUM_CONFIG_GENERAL_UID_MIN
+GUM_CONFIG_GENERAL_UID_MAX
+GUM_CONFIG_GENERAL_SYS_UID_MIN
+GUM_CONFIG_GENERAL_SYS_UID_MAX
+GUM_CONFIG_GENERAL_GID_MIN
+GUM_CONFIG_GENERAL_GID_MAX
+GUM_CONFIG_GENERAL_SYS_GID_MIN
+GUM_CONFIG_GENERAL_SYS_GID_MAX
+GUM_CONFIG_GENERAL_PASS_MIN_DAYS
+GUM_CONFIG_GENERAL_PASS_MAX_DAYS
+GUM_CONFIG_GENERAL_PASS_WARN_AGE
GUM_CONFIG_GENERAL_UMASK
+GUM_CONFIG_GENERAL_ENCRYPT_METHOD
+GUM_CONFIG_GENERAL_SMACK64_NEW_FILES
+GUM_CONFIG_GENERAL_SMACK64_USER_FILES
</SECTION>
<SECTION>
<FILE>gum-crypt</FILE>
-gum_crypt_cmp_secret
gum_crypt_encrypt_secret
+gum_crypt_cmp_secret
</SECTION>
<SECTION>
<FILE>gum-dictionary</FILE>
-GumDictionary
-gum_dictionary_copy
-gum_dictionary_get
-gum_dictionary_get_boolean
-gum_dictionary_get_int32
-gum_dictionary_get_int64
-gum_dictionary_get_string
-gum_dictionary_get_uint32
-gum_dictionary_get_uint64
gum_dictionary_new
-gum_dictionary_new_from_variant
gum_dictionary_ref
-gum_dictionary_remove
+gum_dictionary_unref
+gum_dictionary_copy
+gum_dictionary_new_from_variant
+gum_dictionary_to_variant
+gum_dictionary_get
gum_dictionary_set
+gum_dictionary_get_boolean
gum_dictionary_set_boolean
+gum_dictionary_get_int32
gum_dictionary_set_int32
-gum_dictionary_set_int64
-gum_dictionary_set_string
+gum_dictionary_get_uint32
gum_dictionary_set_uint32
+gum_dictionary_get_int64
+gum_dictionary_set_int64
+gum_dictionary_get_uint64
gum_dictionary_set_uint64
-gum_dictionary_to_variant
-gum_dictionary_unref
+gum_dictionary_get_string
+gum_dictionary_set_string
+gum_dictionary_remove
<SUBSECTION Standard>
GUM_DICTIONARY
GUM_IS_DICTIONARY
GUM_TYPE_DICTIONARY
+GumDictionary
</SECTION>
<SECTION>
<FILE>gum-disposable</FILE>
<TITLE>GumDisposable</TITLE>
-GumDisposable
-GumDisposableClass
-gum_disposable_delete_later
-gum_disposable_get_auto_dispose
gum_disposable_set_auto_dispose
+gum_disposable_get_auto_dispose
gum_disposable_set_timeout
+gum_disposable_delete_later
<SUBSECTION Standard>
GUM_DISPOSABLE
GUM_DISPOSABLE_CLASS
GUM_IS_DISPOSABLE
GUM_IS_DISPOSABLE_CLASS
GUM_TYPE_DISPOSABLE
+GumDisposable
+GumDisposableClass
GumDisposablePrivate
gum_disposable_get_type
</SECTION>
<SECTION>
<FILE>gum-error</FILE>
GUM_ERROR
+GumError
GUM_GET_ERROR_FOR_ID
-GUM_RETURN_WITH_ERROR
GUM_SET_ERROR
-GumError
-gum_error_new_from_variant
+GUM_RETURN_WITH_ERROR
gum_error_quark
+gum_error_new_from_variant
gum_error_to_variant
</SECTION>
<SECTION>
<FILE>gum-file</FILE>
-GumFileUpdateCB
GumOpType
+GumFileUpdateCB
+gum_file_update
+gum_file_open_db_files
gum_file_close_db_files
-gum_file_create_home_dir
-gum_file_delete_home_dir
-gum_file_find_user_by_gid
-gum_file_getgrgid
-gum_file_getgrnam
gum_file_getpwnam
gum_file_getpwuid
-gum_file_getsgnam
+gum_file_find_user_by_gid
gum_file_getspnam
+gum_file_getgrnam
+gum_file_getgrgid
+gum_file_getsgnam
gum_file_new_path
-gum_file_open_db_files
-gum_file_update
+gum_file_create_home_dir
+gum_file_delete_home_dir
</SECTION>
<SECTION>
<FILE>gum-group</FILE>
<TITLE>GumGroup</TITLE>
-GumGroup
GumGroupCb
-GumGroupClass
-gum_group_add
-gum_group_add_member
-gum_group_add_member_sync
-gum_group_add_sync
gum_group_create
gum_group_create_sync
-gum_group_delete
-gum_group_delete_member
-gum_group_delete_member_sync
-gum_group_delete_sync
gum_group_get
+gum_group_get_sync
gum_group_get_by_name
gum_group_get_by_name_sync
-gum_group_get_sync
+gum_group_add
+gum_group_add_sync
+gum_group_delete
+gum_group_delete_sync
gum_group_update
gum_group_update_sync
+gum_group_add_member
+gum_group_add_member_sync
+gum_group_delete_member
+gum_group_delete_member_sync
<SUBSECTION Standard>
GUM_GROUP
GUM_GROUP_CLASS
GUM_IS_GROUP
GUM_IS_GROUP_CLASS
GUM_TYPE_GROUP
+GumGroup
+GumGroupClass
GumGroupPrivate
gum_group_get_type
</SECTION>
<SECTION>
<FILE>gum-log</FILE>
-DBG
-ERR
-INFO
TRACEBACK
+ERR
WARN
+INFO
+DBG
</SECTION>
<SECTION>
<FILE>gum-string-utils</FILE>
-GUM_STR_DUP
-GUM_STR_DUPV
GUM_STR_FREE
+GUM_STR_DUP
GUM_STR_FREEV
-gum_string_utils_append_string
-gum_string_utils_delete_string
-gum_string_utils_get_string
-gum_string_utils_insert_string
+GUM_STR_DUPV
gum_string_utils_search_string
gum_string_utils_search_stringv
+gum_string_utils_get_string
+gum_string_utils_insert_string
+gum_string_utils_delete_string
+gum_string_utils_append_string
</SECTION>
<SECTION>
<FILE>gum-user</FILE>
<TITLE>GumUser</TITLE>
-GumUser
GumUserCb
-GumUserClass
-gum_user_add
-gum_user_add_sync
gum_user_create
gum_user_create_sync
-gum_user_delete
-gum_user_delete_sync
gum_user_get
+gum_user_get_sync
gum_user_get_by_name
gum_user_get_by_name_sync
-gum_user_get_sync
+gum_user_add
+gum_user_add_sync
+gum_user_delete
+gum_user_delete_sync
gum_user_update
gum_user_update_sync
<SUBSECTION Standard>
GUM_USER
GUM_USER_CLASS
GUM_USER_GET_CLASS
+GumUser
+GumUserClass
GumUserPrivate
gum_user_get_type
</SECTION>
<SECTION>
<FILE>gum-utils</FILE>
+gum_utils_generate_nonce
gum_utils_drop_privileges
gum_utils_gain_privileges
-gum_utils_generate_nonce
</SECTION>
<SECTION>
<FILE>gum-validate</FILE>
-GUM_DB_ENTRY_PATTERN
GUM_NAME_PATTERN
-gum_validate_db_secret_entry
-gum_validate_db_string_entry
-gum_validate_db_string_entry_regx
-gum_validate_generate_username
+GUM_DB_ENTRY_PATTERN
gum_validate_name
+gum_validate_generate_username
+gum_validate_db_string_entry_regx
+gum_validate_db_string_entry
+gum_validate_db_secret_entry
</SECTION>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>GumConfig</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: GumConfig</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch01.html" title="Daemon (gumd) configuration">
<link rel="prev" href="ch01.html" title="Daemon (gumd) configuration">
<link rel="next" href="gumd-General-configuration.html" title="General configuration">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-General-configuration.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#GumConfig.synopsis" class="shortcut">Top</a>
- |
- <a href="#GumConfig.description" class="shortcut">Description</a>
- |
- <a href="#GumConfig.object-hierarchy" class="shortcut">Object Hierarchy</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#GumConfig.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#GumConfig.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-General-configuration.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="GumConfig"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="GumConfig.top_of_page"></a>GumConfig</span></h2>
<p>GumConfig — gum configuration information</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="GumConfig.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-config.h>
-
-#define <a class="link" href="GumConfig.html#GUM-UMASK:CAPS" title="GUM_UMASK">GUM_UMASK</a>
-struct <a class="link" href="GumConfig.html#GumConfig-struct" title="struct GumConfig">GumConfig</a>;
-struct <a class="link" href="GumConfig.html#GumConfigClass" title="struct GumConfigClass">GumConfigClass</a>;
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GumConfig.html#gum-config-get-int" title="gum_config_get_int ()">gum_config_get_int</a> (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> retval</code></em>);
-const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GumConfig.html#gum-config-get-string" title="gum_config_get_string ()">gum_config_get_string</a> (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GumConfig.html#gum-config-get-uint" title="gum_config_get_uint ()">gum_config_get_uint</a> (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> retval</code></em>);
-<a class="link" href="GumConfig.html" title="GumConfig"><span class="returnvalue">GumConfig</span></a> * <a class="link" href="GumConfig.html#gum-config-new" title="gum_config_new ()">gum_config_new</a> ();
-<span class="returnvalue">void</span> <a class="link" href="GumConfig.html#gum-config-set-int" title="gum_config_set_int ()">gum_config_set_int</a> (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>);
-<span class="returnvalue">void</span> <a class="link" href="GumConfig.html#gum-config-set-string" title="gum_config_set_string ()">gum_config_set_string</a> (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);
-<span class="returnvalue">void</span> <a class="link" href="GumConfig.html#gum-config-set-uint" title="gum_config_set_uint ()">gum_config_set_uint</a> (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> value</code></em>);
-</pre>
+<div class="refsect1">
+<a name="GumConfig.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="GumConfig.html" title="GumConfig"><span class="returnvalue">GumConfig</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumConfig.html#gum-config-new" title="gum_config_new ()">gum_config_new</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumConfig.html#gum-config-get-int" title="gum_config_get_int ()">gum_config_get_int</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GumConfig.html#gum-config-set-int" title="gum_config_set_int ()">gum_config_set_int</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumConfig.html#gum-config-get-uint" title="gum_config_get_uint ()">gum_config_get_uint</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GumConfig.html#gum-config-set-uint" title="gum_config_set_uint ()">gum_config_set_uint</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumConfig.html#gum-config-get-string" title="gum_config_get_string ()">gum_config_get_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GumConfig.html#gum-config-set-string" title="gum_config_set_string ()">gum_config_set_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="GumConfig.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="name">
+<col class="description">
+</colgroup>
+<tbody><tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="GumConfig.html#GUM-UMASK:CAPS" title="GUM_UMASK">GUM_UMASK</a></td>
+</tr></tbody>
+</table></div>
</div>
<div class="refsect1">
<a name="GumConfig.object-hierarchy"></a><h2>Object Hierarchy</h2>
-<pre class="synopsis">
- <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
- +----GumConfig
+<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+ <span class="lineart">╰──</span> GumConfig
+</pre>
+</div>
+<div class="refsect1">
+<a name="GumConfig.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-config.h>
</pre>
</div>
<div class="refsect1">
<a name="GumConfig.description"></a><h2>Description</h2>
-<p>
-<a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> holds configuration information as a set of keys and values
-(integer or strings). The key names are defined in
+<p><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> holds configuration information as a set of keys and values
+(integer or strings). The key names are defined in</p>
<a class="link" href="gumd-General-configuration.html" title="General configuration">General config keys</a>,
-and <a class="link" href="gumd-DBus-configuration.html" title="DBus configuration">DBus config keys</a>.
-</p>
-<p>
-The configuration is retrieved from the gum configuration file. See below
-for where the file is searched for.
-</p>
-<p>
-</p>
+<p>and <a class="link" href="gumd-DBus-configuration.html" title="DBus configuration">DBus config keys</a>.</p>
+<p>The configuration is retrieved from the gum configuration file. See below
+for where the file is searched for.</p>
<div class="refsect1">
-<a name="idp7041232"></a><h2>Usage</h2>
+<a name="id-1.4.2.7.6"></a><h2>Usage</h2>
</div>
-<p>
-Following code snippet demonstrates how to create and use config object:
-</p>
+<p>Following code snippet demonstrates how to create and use config object:</p>
<div class="informalexample"><pre class="programlisting">
GumConfig* config = gum_config_new ();
g_object_unref(config);
</pre></div>
-<p>
-</p>
-<p>
-</p>
+<p></p>
<div class="refsect1">
-<a name="idp5930864"></a><h2>Where the configuration file is searched for</h2>
+<a name="id-1.4.2.7.10"></a><h2>Where the configuration file is searched for</h2>
</div>
-<p>
-</p>
-<p>
-If gum has been compiled with --enable-debug, then these locations are used,
-in decreasing order of priority:
-</p>
-<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<p>If gum has been compiled with --enable-debug, then these locations are used,
+in decreasing order of priority:</p>
+<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>UM_CONF_FILE environment variable</p></li>
-<li class="listitem"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-get-user-config-dir"><code class="function">g_get_user_config_dir()</code></a> + "gum.conf"</p></li>
+<li class="listitem"><p>g_get_user_config_dir() + "gum.conf"</p></li>
<li class="listitem"><p>each of <a href="http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-get-system-config-dirs"><code class="function">g_get_system_config_dirs()</code></a> + "gum.conf"</p></li>
</ul></div>
-<p>
-</p>
-<p>
-Otherwise, the config file location is determined at compilation time as
-$(sysconfdir) + "gum.conf"
-</p>
-<p>
-</p>
+<p>Otherwise, the config file location is determined at compilation time as
+$(sysconfdir) + "gum.conf"</p>
<div class="refsect1">
-<a name="idp7685760"></a><h2>Example configuration file</h2>
+<a name="id-1.4.2.7.14"></a><h2>Example configuration file</h2>
</div>
-<p>
-</p>
-<p>
-See example configuration file here:
+<p>See example configuration file here:</p>
<a class="ulink" href="https://github.com/01org/gumd/blob/master/src/common/gum.conf.in" target="_top">
gum configuration file</a>
-</p>
</div>
<div class="refsect1">
-<a name="GumConfig.details"></a><h2>Details</h2>
+<a name="GumConfig.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
-<a name="GUM-UMASK:CAPS"></a><h3>GUM_UMASK</h3>
-<pre class="programlisting">#define GUM_UMASK 022
-</pre>
-<p>
-Value used to set the mode of home directories created for new users.
-</p>
-</div>
-<hr>
-<div class="refsect2">
-<a name="GumConfig-struct"></a><h3>struct GumConfig</h3>
-<pre class="programlisting">struct GumConfig;</pre>
-<p>
-Opaque structure for the object.
-</p>
+<a name="gum-config-new"></a><h3>gum_config_new ()</h3>
+<pre class="programlisting"><a class="link" href="GumConfig.html" title="GumConfig"><span class="returnvalue">GumConfig</span></a> *
+gum_config_new ();</pre>
+<p>Create a <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> object.</p>
+<div class="refsect3">
+<a name="id-1.4.2.8.2.5"></a><h4>Returns</h4>
+<p> an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>.</p>
+<p></p>
</div>
-<hr>
-<div class="refsect2">
-<a name="GumConfigClass"></a><h3>struct GumConfigClass</h3>
-<pre class="programlisting">struct GumConfigClass {
- GObjectClass parent_class;
-};
-</pre>
-<p>
-Opaque structure for the class.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GumConfigClass.parent-class"></a>parent_class</code></em>;</span></p></td>
-<td>parent class object</td>
-</tr></tbody>
-</table></div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-config-get-int"></a><h3>gum_config_get_int ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gum_config_get_int (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> retval</code></em>);</pre>
-<p>
-Get an integer configuration value.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-config-get-int"></a><h3>gum_config_get_int ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
+gum_config_get_int (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> retval</code></em>);</pre>
+<p>Get an integer configuration value.</p>
+<div class="refsect3">
+<a name="id-1.4.2.8.3.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p> an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>the key name</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p>the key name</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>retval</code></em> :</span></p></td>
-<td>value to be returned in case key is not found</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>the value corresponding to the key as an integer. If the key does
-not exist or cannot be converted to the integer, retval is returned.</td>
+<td class="parameter_name"><p>retval</p></td>
+<td class="parameter_description"><p>value to be returned in case key is not found</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.4.2.8.3.6"></a><h4>Returns</h4>
+<p> the value corresponding to the key as an integer. If the key does
+not exist or cannot be converted to the integer, retval is returned.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-config-get-string"></a><h3>gum_config_get_string ()</h3>
-<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gum_config_get_string (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
-<p>
-Get a string configuration value.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-config-set-int"></a><h3>gum_config_set_int ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+gum_config_set_int (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>);</pre>
+<p>Sets the configuration value to the provided integer.</p>
+<div class="refsect3">
+<a name="id-1.4.2.8.4.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p> an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>the key name. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p>the key name</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>the value corresponding to the key as an string. If the
-key does not exist or cannot be converted to the integer, NULL is returned.</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>the value</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-config-get-uint"></a><h3>gum_config_get_uint ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gum_config_get_uint (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> retval</code></em>);</pre>
-<p>
-Get an unsigned integer configuration value.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-config-get-uint"></a><h3>gum_config_get_uint ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
+gum_config_get_uint (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> retval</code></em>);</pre>
+<p>Get an unsigned integer configuration value.</p>
+<div class="refsect3">
+<a name="id-1.4.2.8.5.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>the key name</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p> an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>retval</code></em> :</span></p></td>
-<td>value to be returned in case key is not found</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p>the key name</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>the value corresponding to the key as an unsigned integer. If the
-key does not exist or cannot be converted to the integer, retval is returned.</td>
+<td class="parameter_name"><p>retval</p></td>
+<td class="parameter_description"><p>value to be returned in case key is not found</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
-<hr>
-<div class="refsect2">
-<a name="gum-config-new"></a><h3>gum_config_new ()</h3>
-<pre class="programlisting"><a class="link" href="GumConfig.html" title="GumConfig"><span class="returnvalue">GumConfig</span></a> * gum_config_new ();</pre>
-<p>
-Create a <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> object.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>.</td>
-</tr></tbody>
-</table></div>
+<div class="refsect3">
+<a name="id-1.4.2.8.5.6"></a><h4>Returns</h4>
+<p> the value corresponding to the key as an unsigned integer. If the
+key does not exist or cannot be converted to the integer, retval is returned.</p>
+<p></p>
+</div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-config-set-int"></a><h3>gum_config_set_int ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> gum_config_set_int (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>);</pre>
-<p>
-Sets the configuration value to the provided integer.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-config-set-uint"></a><h3>gum_config_set_uint ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+gum_config_set_uint (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> value</code></em>);</pre>
+<p>Sets the configuration value to the provided unsigned integer.</p>
+<div class="refsect3">
+<a name="id-1.4.2.8.6.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p> an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>the key name</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p>the key name</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>the value</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>the value</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-config-set-string"></a><h3>gum_config_set_string ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> gum_config_set_string (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
-<p>
-Sets the configuration value to the provided string.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-config-get-string"></a><h3>gum_config_get_string ()</h3>
+<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+gum_config_get_string (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
+<p>Get a string configuration value.</p>
+<div class="refsect3">
+<a name="id-1.4.2.8.7.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p> an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>the key name. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>the value. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> the key name. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.4.2.8.7.6"></a><h4>Returns</h4>
+<p> the value corresponding to the key as an string. If the
+key does not exist or cannot be converted to the integer, NULL is returned.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-config-set-uint"></a><h3>gum_config_set_uint ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> gum_config_set_uint (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> value</code></em>);</pre>
-<p>
-Sets the configuration value to the provided unsigned integer.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-config-set-string"></a><h3>gum_config_set_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+gum_config_set_string (<em class="parameter"><code><a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> *self</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
+<p>Sets the configuration value to the provided string.</p>
+<div class="refsect3">
+<a name="id-1.4.2.8.8.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p> an instance of <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>the key name</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> the key name. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>the value</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p> the value. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
+<div class="refsect1">
+<a name="GumConfig.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="GUM-UMASK:CAPS"></a><h3>GUM_UMASK</h3>
+<pre class="programlisting">#define GUM_UMASK 022
+</pre>
+<p>Value used to set the mode of home directories created for new users.</p>
+</div>
+</div>
+</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>GumDisposable</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: GumDisposable</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="gumd-Errors.html" title="Errors">
<link rel="next" href="gumd-Gum-File.html" title="Gum File">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-Errors.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-Gum-File.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#GumDisposable.synopsis" class="shortcut">Top</a>
- |
- <a href="#GumDisposable.description" class="shortcut">Description</a>
- |
- <a href="#GumDisposable.object-hierarchy" class="shortcut">Object Hierarchy</a>
- |
- <a href="#GumDisposable.properties" class="shortcut">Properties</a>
- |
- <a href="#GumDisposable.signals" class="shortcut">Signals</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#GumDisposable.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#GumDisposable.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
+ <a href="#GumDisposable.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
+ <a href="#GumDisposable.signals" class="shortcut">Signals</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="gumd-Errors.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-Gum-File.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="GumDisposable"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="GumDisposable.top_of_page"></a>GumDisposable</span></h2>
<p>GumDisposable — timer-based auto disposable object</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="GumDisposable.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-disposable.h>
-
-struct <a class="link" href="GumDisposable.html#GumDisposable-struct" title="struct GumDisposable">GumDisposable</a>;
-struct <a class="link" href="GumDisposable.html#GumDisposableClass" title="struct GumDisposableClass">GumDisposableClass</a>;
-<span class="returnvalue">void</span> <a class="link" href="GumDisposable.html#gum-disposable-delete-later" title="gum_disposable_delete_later ()">gum_disposable_delete_later</a> (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumDisposable.html#gum-disposable-get-auto-dispose" title="gum_disposable_get_auto_dispose ()">gum_disposable_get_auto_dispose</a> (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>);
-<span class="returnvalue">void</span> <a class="link" href="GumDisposable.html#gum-disposable-set-auto-dispose" title="gum_disposable_set_auto_dispose ()">gum_disposable_set_auto_dispose</a> (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> dispose</code></em>);
-<span class="returnvalue">void</span> <a class="link" href="GumDisposable.html#gum-disposable-set-timeout" title="gum_disposable_set_timeout ()">gum_disposable_set_timeout</a> (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);
-</pre>
-</div>
<div class="refsect1">
-<a name="GumDisposable.object-hierarchy"></a><h2>Object Hierarchy</h2>
-<pre class="synopsis">
- <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
- +----GumDisposable
-</pre>
+<a name="GumDisposable.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GumDisposable.html#gum-disposable-set-auto-dispose" title="gum_disposable_set_auto_dispose ()">gum_disposable_set_auto_dispose</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumDisposable.html#gum-disposable-get-auto-dispose" title="gum_disposable_get_auto_dispose ()">gum_disposable_get_auto_dispose</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GumDisposable.html#gum-disposable-set-timeout" title="gum_disposable_set_timeout ()">gum_disposable_set_timeout</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="GumDisposable.html#gum-disposable-delete-later" title="gum_disposable_delete_later ()">gum_disposable_delete_later</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
</div>
<div class="refsect1">
<a name="GumDisposable.properties"></a><h2>Properties</h2>
-<pre class="synopsis">
- "<a class="link" href="GumDisposable.html#GumDisposable--auto-dispose" title='The "auto-dispose" property'>auto-dispose</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
- "<a class="link" href="GumDisposable.html#GumDisposable--delete-later" title='The "delete-later" property'>delete-later</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
- "<a class="link" href="GumDisposable.html#GumDisposable--timeout" title='The "timeout" property'>timeout</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
-</pre>
+<div class="informaltable"><table border="0">
+<colgroup>
+<col width="150px" class="properties_type">
+<col width="300px" class="properties_name">
+<col width="200px" class="properties_flags">
+</colgroup>
+<tbody>
+<tr>
+<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
+<td class="property_name"><a class="link" href="GumDisposable.html#GumDisposable--auto-dispose" title="The “auto-dispose” property">auto-dispose</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
+<td class="property_name"><a class="link" href="GumDisposable.html#GumDisposable--delete-later" title="The “delete-later” property">delete-later</a></td>
+<td class="property_flags">Read</td>
+</tr>
+<tr>
+<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
+<td class="property_name"><a class="link" href="GumDisposable.html#GumDisposable--timeout" title="The “timeout” property">timeout</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+</tbody>
+</table></div>
</div>
<div class="refsect1">
<a name="GumDisposable.signals"></a><h2>Signals</h2>
-<pre class="synopsis">
- "<a class="link" href="GumDisposable.html#GumDisposable-disposing" title='The "disposing" signal'>disposing</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
+<div class="informaltable"><table border="0">
+<colgroup>
+<col width="150px" class="signals_return">
+<col width="300px" class="signals_name">
+<col width="200px" class="signals_flags">
+</colgroup>
+<tbody><tr>
+<td class="signal_type"><span class="returnvalue">void</span></td>
+<td class="signal_name"><a class="link" href="GumDisposable.html#GumDisposable-disposing" title="The “disposing” signal">disposing</a></td>
+<td class="signal_flags">Action</td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="GumDisposable.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+ <span class="lineart">╰──</span> GumDisposable
+</pre>
+</div>
+<div class="refsect1">
+<a name="GumDisposable.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-disposable.h>
</pre>
</div>
<div class="refsect1">
<a name="GumDisposable.description"></a><h2>Description</h2>
-<p>
-<a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> is used to dispose the object when the timer expires with the
+<p><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> is used to dispose the object when the timer expires with the
specified timeout value provided auto-dispose is enabled. A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which
needs to be auto-disposable should derive itself from <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> and
can set the timeout value (at the time of object construction e.g.). One such
example, which can make use of <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a>, is a DBus object as it may
-be required to destory after some period of inactivity.
-</p>
-<p>
-</p>
+be required to destory after some period of inactivity.</p>
<div class="refsect1">
-<a name="idp10686224"></a><h2>Usage</h2>
+<a name="id-1.5.6.8.3"></a><h2>Usage</h2>
</div>
-<p>
-Following code snippet demonstrates how to derive and use <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a>:
-</p>
+<p>Following code snippet demonstrates how to derive and use <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a>:</p>
<div class="informalexample"><pre class="programlisting">
//gum-test-object.h
}
</pre></div>
-<p>
-</p>
+<p></p>
</div>
<div class="refsect1">
-<a name="GumDisposable.details"></a><h2>Details</h2>
-<div class="refsect2">
-<a name="GumDisposable-struct"></a><h3>struct GumDisposable</h3>
-<pre class="programlisting">struct GumDisposable;</pre>
-<p>
-Opaque structure for the object.
-</p>
-</div>
-<hr>
+<a name="GumDisposable.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
-<a name="GumDisposableClass"></a><h3>struct GumDisposableClass</h3>
-<pre class="programlisting">struct GumDisposableClass {
- GObjectClass parent_class;
-};
-</pre>
-<p>
-Opaque structure for the class.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GumDisposableClass.parent-class"></a>parent_class</code></em>;</span></p></td>
-<td>parent class object</td>
-</tr></tbody>
+<a name="gum-disposable-set-auto-dispose"></a><h3>gum_disposable_set_auto_dispose ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+gum_disposable_set_auto_dispose (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> dispose</code></em>);</pre>
+<p>Sets the auto-dispose flag, and sets up the timer if needed.</p>
+<div class="refsect3">
+<a name="id-1.5.6.9.2.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p> an instance of <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr>
+<tr>
+<td class="parameter_name"><p>dispose</p></td>
+<td class="parameter_description"><p>dispose flag</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
</table></div>
</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-disposable-delete-later"></a><h3>gum_disposable_delete_later ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> gum_disposable_delete_later (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>);</pre>
-<p>
-Sets the object to be deleted later. Once delete later is requested, the
-object should not be used.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-disposable-get-auto-dispose"></a><h3>gum_disposable_get_auto_dispose ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_disposable_get_auto_dispose (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>);</pre>
+<p>Gets the auto-dispose value.</p>
+<div class="refsect3">
+<a name="id-1.5.6.9.3.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody><tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>an instance of <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p> an instance of <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
-<hr>
-<div class="refsect2">
-<a name="gum-disposable-get-auto-dispose"></a><h3>gum_disposable_get_auto_dispose ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_disposable_get_auto_dispose (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>);</pre>
-<p>
-Gets the auto-dispose value.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>an instance of <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>the auto-dispose value of the object.</td>
-</tr>
-</tbody>
-</table></div>
+<div class="refsect3">
+<a name="id-1.5.6.9.3.6"></a><h4>Returns</h4>
+<p> the auto-dispose value of the object.</p>
+<p></p>
+</div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-disposable-set-auto-dispose"></a><h3>gum_disposable_set_auto_dispose ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> gum_disposable_set_auto_dispose (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> dispose</code></em>);</pre>
-<p>
-Sets the auto-dispose flag, and sets up the timer if needed.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-disposable-set-timeout"></a><h3>gum_disposable_set_timeout ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+gum_disposable_set_timeout (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);</pre>
+<p>Sets the timeout value and sets up the timer if needed. If timeout
+value is set to 0, the object is never disposed.</p>
+<div class="refsect3">
+<a name="id-1.5.6.9.4.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>an instance of <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p> an instance of <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dispose</code></em> :</span></p></td>
-<td>dispose flag</td>
+<td class="parameter_name"><p>timeout</p></td>
+<td class="parameter_description"><p>timeout value in seconds</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-disposable-set-timeout"></a><h3>gum_disposable_set_timeout ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> gum_disposable_set_timeout (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);</pre>
-<p>
-Sets the timeout value and sets up the timer if needed. If timeout
-value is set to 0, the object is never disposed.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>an instance of <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>timeout</code></em> :</span></p></td>
-<td>timeout value in seconds</td>
-</tr>
-</tbody>
+<a name="gum-disposable-delete-later"></a><h3>gum_disposable_delete_later ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+gum_disposable_delete_later (<em class="parameter"><code><a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *self</code></em>);</pre>
+<p>Sets the object to be deleted later. Once delete later is requested, the
+object should not be used.</p>
+<div class="refsect3">
+<a name="id-1.5.6.9.5.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p> an instance of <a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr></tbody>
</table></div>
</div>
</div>
+</div>
+<div class="refsect1">
+<a name="GumDisposable.other_details"></a><h2>Types and Values</h2>
+</div>
<div class="refsect1">
<a name="GumDisposable.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
-<a name="GumDisposable--auto-dispose"></a><h3>The <code class="literal">"auto-dispose"</code> property</h3>
-<pre class="programlisting"> "auto-dispose" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
-<p>
-This property holds the value of auto-dispose to be TRUE or FALSE.
+<a name="GumDisposable--auto-dispose"></a><h3>The <code class="literal">“auto-dispose”</code> property</h3>
+<pre class="programlisting"> “auto-dispose” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
+<p>This property holds the value of auto-dispose to be TRUE or FALSE.
Default value is FALSE. If auto-dispose is TRUE, then object is
-auto-disposed otherwise not.
-</p>
+auto-disposed otherwise not.</p>
+<p>Flags: Read / Write</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumDisposable--delete-later"></a><h3>The <code class="literal">"delete-later"</code> property</h3>
-<pre class="programlisting"> "delete-later" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
-<p>
-This property is used when the object is asked to be deleted later.
-The object should not be used once <a class="link" href="GumDisposable.html#gum-disposable-delete-later" title="gum_disposable_delete_later ()"><span class="type">gum_disposable_delete_later</span></a> is
-requested for the object.
-</p>
+<a name="GumDisposable--delete-later"></a><h3>The <code class="literal">“delete-later”</code> property</h3>
+<pre class="programlisting"> “delete-later” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
+<p>This property is used when the object is asked to be deleted later.
+The object should not be used once <a class="link" href="GumDisposable.html#gum-disposable-delete-later" title="gum_disposable_delete_later ()"><span class="type">gum_disposable_delete_later</span></a> is
+requested for the object.</p>
+<p>Flags: Read</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumDisposable--timeout"></a><h3>The <code class="literal">"timeout"</code> property</h3>
-<pre class="programlisting"> "timeout" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
-<p>
-This property holds the value of timeout in seconds. Default value is 0.
-If timeout value is 0, the object never auto-dispose.
-</p>
+<a name="GumDisposable--timeout"></a><h3>The <code class="literal">“timeout”</code> property</h3>
+<pre class="programlisting"> “timeout” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
+<p>This property holds the value of timeout in seconds. Default value is 0.
+If timeout value is 0, the object never auto-dispose.</p>
+<p>Flags: Read / Write</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1">
<a name="GumDisposable.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
-<a name="GumDisposable-disposing"></a><h3>The <code class="literal">"disposing"</code> signal</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *object,
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre>
-<p>
-This signal is emitted when the object is about to be disposed.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="GumDisposable-disposing"></a><h3>The <code class="literal">“disposing”</code> signal</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+user_function (<a class="link" href="GumDisposable.html" title="GumDisposable"><span class="type">GumDisposable</span></a> *object,
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
+<p>This signal is emitted when the object is about to be disposed.</p>
+<div class="refsect3">
+<a name="id-1.5.6.12.2.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
-<td>the object which emits the signal</td>
+<td class="parameter_name"><p>object</p></td>
+<td class="parameter_description"><p>the object which emits the signal</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data set when the signal handler was connected.</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<p>Flags: Action</p>
+</div>
</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>GumGroup</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: GumGroup</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch03.html" title="Client library (libgum) interface">
<link rel="prev" href="GumUser.html" title="GumUser">
<link rel="next" href="gumd-utils.html" title="Utils">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="GumUser.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch03.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-utils.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#GumGroup.synopsis" class="shortcut">Top</a>
- |
- <a href="#GumGroup.description" class="shortcut">Description</a>
- |
- <a href="#GumGroup.object-hierarchy" class="shortcut">Object Hierarchy</a>
- |
- <a href="#GumGroup.properties" class="shortcut">Properties</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#GumGroup.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#GumGroup.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
+ <a href="#GumGroup.properties" class="shortcut">Properties</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="GumUser.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-utils.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="GumGroup"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="GumGroup.top_of_page"></a>GumGroup</span></h2>
<p>GumGroup — provides interface for managing group's data</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="GumGroup.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/gum-group.h>
-
-struct <a class="link" href="GumGroup.html#GumGroup-struct" title="struct GumGroup">GumGroup</a>;
-<span class="returnvalue">void</span> (<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()">*GumGroupCb</a>) (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *group</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-struct <a class="link" href="GumGroup.html#GumGroupClass" title="struct GumGroupClass">GumGroupClass</a>;
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumGroup.html#gum-group-add" title="gum_group_add ()">gum_group_add</a> (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumGroup.html#gum-group-add-member" title="gum_group_add_member ()">gum_group_add_member</a> (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_as_admin</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumGroup.html#gum-group-add-member-sync" title="gum_group_add_member_sync ()">gum_group_add_member_sync</a> (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_as_admin</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumGroup.html#gum-group-add-sync" title="gum_group_add_sync ()">gum_group_add_sync</a> (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>);
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * <a class="link" href="GumGroup.html#gum-group-create" title="gum_group_create ()">gum_group_create</a> (<em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * <a class="link" href="GumGroup.html#gum-group-create-sync" title="gum_group_create_sync ()">gum_group_create_sync</a> ();
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumGroup.html#gum-group-delete" title="gum_group_delete ()">gum_group_delete</a> (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumGroup.html#gum-group-delete-member" title="gum_group_delete_member ()">gum_group_delete_member</a> (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumGroup.html#gum-group-delete-member-sync" title="gum_group_delete_member_sync ()">gum_group_delete_member_sync</a> (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumGroup.html#gum-group-delete-sync" title="gum_group_delete_sync ()">gum_group_delete_sync</a> (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>);
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * <a class="link" href="GumGroup.html#gum-group-get" title="gum_group_get ()">gum_group_get</a> (<em class="parameter"><code><span class="type">gid_t</span> gid</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * <a class="link" href="GumGroup.html#gum-group-get-by-name" title="gum_group_get_by_name ()">gum_group_get_by_name</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *groupname</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * <a class="link" href="GumGroup.html#gum-group-get-by-name-sync" title="gum_group_get_by_name_sync ()">gum_group_get_by_name_sync</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *groupname</code></em>);
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * <a class="link" href="GumGroup.html#gum-group-get-sync" title="gum_group_get_sync ()">gum_group_get_sync</a> (<em class="parameter"><code><span class="type">gid_t</span> gid</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumGroup.html#gum-group-update" title="gum_group_update ()">gum_group_update</a> (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumGroup.html#gum-group-update-sync" title="gum_group_update_sync ()">gum_group_update_sync</a> (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>);
-</pre>
+<div class="refsect1">
+<a name="GumGroup.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()">*GumGroupCb</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-create" title="gum_group_create ()">gum_group_create</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-create-sync" title="gum_group_create_sync ()">gum_group_create_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-get" title="gum_group_get ()">gum_group_get</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-get-sync" title="gum_group_get_sync ()">gum_group_get_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-get-by-name" title="gum_group_get_by_name ()">gum_group_get_by_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-get-by-name-sync" title="gum_group_get_by_name_sync ()">gum_group_get_by_name_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-add" title="gum_group_add ()">gum_group_add</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-add-sync" title="gum_group_add_sync ()">gum_group_add_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-delete" title="gum_group_delete ()">gum_group_delete</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-delete-sync" title="gum_group_delete_sync ()">gum_group_delete_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-update" title="gum_group_update ()">gum_group_update</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-update-sync" title="gum_group_update_sync ()">gum_group_update_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-add-member" title="gum_group_add_member ()">gum_group_add_member</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-add-member-sync" title="gum_group_add_member_sync ()">gum_group_add_member_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-delete-member" title="gum_group_delete_member ()">gum_group_delete_member</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumGroup.html#gum-group-delete-member-sync" title="gum_group_delete_member_sync ()">gum_group_delete_member_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="GumGroup.properties"></a><h2>Properties</h2>
+<div class="informaltable"><table border="0">
+<colgroup>
+<col width="150px" class="properties_type">
+<col width="300px" class="properties_name">
+<col width="200px" class="properties_flags">
+</colgroup>
+<tbody>
+<tr>
+<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
+<td class="property_name"><a class="link" href="GumGroup.html#GumGroup--gid" title="The “gid” property">gid</a></td>
+<td class="property_flags">Read</td>
+</tr>
+<tr>
+<td class="property_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
+<td class="property_name"><a class="link" href="GumGroup.html#GumGroup--groupname" title="The “groupname” property">groupname</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
+<td class="property_name"><a class="link" href="GumGroup.html#GumGroup--grouptype" title="The “grouptype” property">grouptype</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
+<td class="property_name"><a class="link" href="GumGroup.html#GumGroup--secret" title="The “secret” property">secret</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+</tbody>
+</table></div>
</div>
<div class="refsect1">
<a name="GumGroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
-<pre class="synopsis">
- <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
- +----GumGroup
+<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+ <span class="lineart">╰──</span> GumGroup
</pre>
</div>
<div class="refsect1">
-<a name="GumGroup.properties"></a><h2>Properties</h2>
-<pre class="synopsis">
- "<a class="link" href="GumGroup.html#GumGroup--gid" title='The "gid" property'>gid</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
- "<a class="link" href="GumGroup.html#GumGroup--groupname" title='The "groupname" property'>groupname</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GumGroup.html#GumGroup--grouptype" title='The "grouptype" property'>grouptype</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
- "<a class="link" href="GumGroup.html#GumGroup--secret" title='The "secret" property'>secret</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
+<a name="GumGroup.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/gum-group.h>
</pre>
</div>
<div class="refsect1">
<a name="GumGroup.description"></a><h2>Description</h2>
-<p>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> provides interface for adding, removing and updating group.
+<p><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> provides interface for adding, removing and updating group.
Group's information can also be retrieved using this interface. Only
privileged user can access the interface when system-bus is used for
-communication with the user management daemon.
-</p>
-<p>
-Following code snippet demonstrates how to create a new remote group object:
-</p>
-<p>
-</p>
+communication with the user management daemon.</p>
+<p>Following code snippet demonstrates how to create a new remote group object:</p>
<div class="informalexample"><pre class="programlisting">
GumGroup *group = NULL;
// destroy the object
g_object_unref (group);
</pre></div>
-<p>
-</p>
-<p>
-Similarly, new group can be added as:
-</p>
+<p></p>
+<p>Similarly, new group can be added as:</p>
<div class="informalexample"><pre class="programlisting">
GumGroup *group = NULL;
gboolean rval = FALSE;
// destroy the object
g_object_unref (group);
</pre></div>
-<p>
-</p>
-<p>
-For more details, see command-line utility implementation here:
+<p></p>
+<p>For more details, see command-line utility implementation here:</p>
<a class="ulink" href="https://github.com/01org/gumd/blob/master/src/utils/gum-utils.c" target="_top">
gum-utils</a>
-</p>
</div>
<div class="refsect1">
-<a name="GumGroup.details"></a><h2>Details</h2>
+<a name="GumGroup.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
-<a name="GumGroup-struct"></a><h3>struct GumGroup</h3>
-<pre class="programlisting">struct GumGroup;</pre>
-<p>
-Opaque structure for the object.
-</p>
-</div>
-<hr>
-<div class="refsect2">
-<a name="GumGroupCb"></a><h3>GumGroupCb ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> (*GumGroupCb) (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *group</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> defines the callback which is used when group object is created,
-added, deleted or updated or new members are added to the group.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="GumGroupCb"></a><h3>GumGroupCb ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*GumGroupCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *group</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> defines the callback which is used when group object is created,
+added, deleted or updated or new members are added to the group.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.2.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object which is used in the request. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>group</p></td>
+<td class="parameter_description"><p> <a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object which is used in the request. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> object. In case of error, error will be
-non-NULL. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> object. In case of error, error will be
+non-NULL. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data passed onto the request</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data passed onto the request</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
-<hr>
-<div class="refsect2">
-<a name="GumGroupClass"></a><h3>struct GumGroupClass</h3>
-<pre class="programlisting">struct GumGroupClass {
- GObjectClass parent_class;
-};
-</pre>
-<p>
-Opaque structure for the class.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GumGroupClass.parent-class"></a>parent_class</code></em>;</span></p></td>
-<td>parent class object</td>
-</tr></tbody>
-</table></div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-group-add"></a><h3>gum_group_add ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_group_add (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method adds the group over the DBus asynchronously. Callback is used to
-notify when the group is added.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-group-create"></a><h3>gum_group_create ()</h3>
+<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+gum_group_create (<em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method creates a new remote group object over the DBus asynchronously.
+Callback is used to notify when the remote object is fully created and
+accessible.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.3.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be added; object should have valid
-<a class="link" href="GumGroup.html#GumGroup--groupname" title='The "groupname" property'><span class="type">"groupname"</span></a> and <a class="link" href="GumGroup.html#GumGroup--grouptype" title='The "grouptype" property'><span class="type">"grouptype"</span></a> properties.</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when group is added</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when new group object is created</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if the request has been pushed and is waiting for
-the response, FALSE otherwise. No callback is triggered, in case the
-function returns FALSE.</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.3.6"></a><h4>Returns</h4>
+<p> <a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> newly created object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-add-member"></a><h3>gum_group_add_member ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_group_add_member (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_as_admin</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method adds new member to the group over the DBus asynchronously.
-Callback is used to notify when the member is added.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object where new member is to be added; object should have
-valid <a class="link" href="GumGroup.html#GumGroup--gid" title='The "gid" property'><span class="type">"gid"</span></a> property.</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
-<td>user id of the member to be added to the group</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>add_as_admin</code></em> :</span></p></td>
-<td>user will be added with admin privileges for the group if set
-to TRUE</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when member is added</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if the request has been pushed and is waiting for
-the response, FALSE otherwise. No callback is triggered, in case the
-function returns FALSE.</td>
-</tr>
-</tbody>
-</table></div>
+<a name="gum-group-create-sync"></a><h3>gum_group_create_sync ()</h3>
+<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+gum_group_create_sync ();</pre>
+<p>This method creates a new remote group object over the DBus synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.4.5"></a><h4>Returns</h4>
+<p> <a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> newly created object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-group-add-member-sync"></a><h3>gum_group_add_member_sync ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_group_add_member_sync (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_as_admin</code></em>);</pre>
-<p>
-This method adds new member to the group over the DBus synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-group-get"></a><h3>gum_group_get ()</h3>
+<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+gum_group_get (<em class="parameter"><code><span class="type">gid_t</span> gid</code></em>,
+ <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method gets the group object attached to gid over the DBus
+asynchronously. Callback is used to notify when the remote object is fully
+created and accessible.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.5.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object where new member is to be added; object should have
-valid <a class="link" href="GumGroup.html#GumGroup--gid" title='The "gid" property'><span class="type">"gid"</span></a> property.</td>
+<td class="parameter_name"><p>gid</p></td>
+<td class="parameter_description"><p>group id for the group</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
-<td>user id of the member to be added to the group</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when group object is fetched</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>add_as_admin</code></em> :</span></p></td>
-<td>user will be added with admin privileges for the group if set
-to TRUE</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if successful, FALSE otherwise.</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.5.6"></a><h4>Returns</h4>
+<p> <a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-add-sync"></a><h3>gum_group_add_sync ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_group_add_sync (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>);</pre>
-<p>
-This method adds the group over the DBus synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be added; object should have valid
-<a class="link" href="GumGroup.html#GumGroup--groupname" title='The "groupname" property'><span class="type">"groupname"</span></a> and <a class="link" href="GumGroup.html#GumGroup--grouptype" title='The "grouptype" property'><span class="type">"grouptype"</span></a> properties.</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if successful, FALSE otherwise.</td>
-</tr>
-</tbody>
+<a name="gum-group-get-sync"></a><h3>gum_group_get_sync ()</h3>
+<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+gum_group_get_sync (<em class="parameter"><code><span class="type">gid_t</span> gid</code></em>);</pre>
+<p>This method gets the group object attached to gid over the DBus
+synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.6.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>gid</p></td>
+<td class="parameter_description"><p>group id for the group</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.6.6"></a><h4>Returns</h4>
+<p> <a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-create"></a><h3>gum_group_create ()</h3>
-<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * gum_group_create (<em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method creates a new remote group object over the DBus asynchronously.
-Callback is used to notify when the remote object is fully created and
-accessible.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-group-get-by-name"></a><h3>gum_group_get_by_name ()</h3>
+<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+gum_group_get_by_name (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *groupname</code></em>,
+ <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method gets the group object attached to groupname over the DBus
+asynchronously. Callback is used to notify when the remote object is fully
+created and accessible.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.7.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when new group object is created</td>
+<td class="parameter_name"><p>groupname</p></td>
+<td class="parameter_description"><p>name of the group</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when group object is fetched</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> newly created object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.7.6"></a><h4>Returns</h4>
+<p> <a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-create-sync"></a><h3>gum_group_create_sync ()</h3>
-<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * gum_group_create_sync ();</pre>
-<p>
-This method creates a new remote group object over the DBus synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-group-get-by-name-sync"></a><h3>gum_group_get_by_name_sync ()</h3>
+<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> *
+gum_group_get_by_name_sync (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *groupname</code></em>);</pre>
+<p>This method gets the group object attached to groupname over the DBus
+synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.8.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody><tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> newly created object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>groupname</p></td>
+<td class="parameter_description"><p>name of the group</p></td>
+<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.8.6"></a><h4>Returns</h4>
+<p> <a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-delete"></a><h3>gum_group_delete ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_group_delete (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method deletes the group over the DBus asynchronously. Callback is used
-to notify when the group is deleted.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-group-add"></a><h3>gum_group_add ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_group_add (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
+ <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method adds the group over the DBus asynchronously. Callback is used to
+notify when the group is added.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.9.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be deleted; object should have valid
-<a class="link" href="GumGroup.html#GumGroup--gid" title='The "gid" property'><span class="type">"gid"</span></a> property.</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when group is deleted</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be added; object should have valid
+<a class="link" href="GumGroup.html#GumGroup--groupname" title="The “groupname” property"><span class="type">“groupname”</span></a> and <a class="link" href="GumGroup.html#GumGroup--grouptype" title="The “grouptype” property"><span class="type">“grouptype”</span></a> properties.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when group is added</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if the request has been pushed and is waiting for
-the response, FALSE otherwise. No callback is triggered, in case the
-function returns FALSE.</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.9.6"></a><h4>Returns</h4>
+<p> returns TRUE if the request has been pushed and is waiting for
+the response, FALSE otherwise. No callback is triggered, in case the
+function returns FALSE.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-delete-member"></a><h3>gum_group_delete_member ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_group_delete_member (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method deletes new member from the group over the DBus asynchronously.
-Callback is used to notify when the member is deleted.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object where member is to be deleted from; object should
-have valid <a class="link" href="GumGroup.html#GumGroup--gid" title='The "gid" property'><span class="type">"gid"</span></a> property.</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
-<td>user id of the member to be deleted from the group</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when member is deleted</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if the request has been pushed and is waiting for
-the response, FALSE otherwise. No callback is triggered, in case the
-function returns FALSE.</td>
-</tr>
-</tbody>
+<a name="gum-group-add-sync"></a><h3>gum_group_add_sync ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_group_add_sync (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>);</pre>
+<p>This method adds the group over the DBus synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.10.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be added; object should have valid
+<a class="link" href="GumGroup.html#GumGroup--groupname" title="The “groupname” property"><span class="type">“groupname”</span></a> and <a class="link" href="GumGroup.html#GumGroup--grouptype" title="The “grouptype” property"><span class="type">“grouptype”</span></a> properties.</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.10.6"></a><h4>Returns</h4>
+<p> returns TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-delete-member-sync"></a><h3>gum_group_delete_member_sync ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_group_delete_member_sync (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>);</pre>
-<p>
-This method deletes new member from the group over the DBus synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-group-delete"></a><h3>gum_group_delete ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_group_delete (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
+ <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method deletes the group over the DBus asynchronously. Callback is used
+to notify when the group is deleted.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.11.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object where member is to be deleted from; object should
-have valid <a class="link" href="GumGroup.html#GumGroup--gid" title='The "gid" property'><span class="type">"gid"</span></a> property.</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be deleted; object should have valid
+<a class="link" href="GumGroup.html#GumGroup--gid" title="The “gid” property"><span class="type">“gid”</span></a> property.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
-<td>user id of the member to be deleted from the group</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when group is deleted</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if successful, FALSE otherwise.</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.11.6"></a><h4>Returns</h4>
+<p> returns TRUE if the request has been pushed and is waiting for
+the response, FALSE otherwise. No callback is triggered, in case the
+function returns FALSE.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-delete-sync"></a><h3>gum_group_delete_sync ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_group_delete_sync (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>);</pre>
-<p>
-This method deletes the group over the DBus synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be deleted; object should have valid
-<a class="link" href="GumGroup.html#GumGroup--gid" title='The "gid" property'><span class="type">"gid"</span></a> property.</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if successful, FALSE otherwise.</td>
-</tr>
-</tbody>
+<a name="gum-group-delete-sync"></a><h3>gum_group_delete_sync ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_group_delete_sync (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>);</pre>
+<p>This method deletes the group over the DBus synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.12.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be deleted; object should have valid
+<a class="link" href="GumGroup.html#GumGroup--gid" title="The “gid” property"><span class="type">“gid”</span></a> property.</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.12.6"></a><h4>Returns</h4>
+<p> returns TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-get"></a><h3>gum_group_get ()</h3>
-<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * gum_group_get (<em class="parameter"><code><span class="type">gid_t</span> gid</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method gets the group object attached to gid over the DBus
-asynchronously. Callback is used to notify when the remote object is fully
-created and accessible.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-group-update"></a><h3>gum_group_update ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_group_update (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
+ <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method updates the group over the DBus asynchronously. Callback is used
+to notify when the group is updated. The properties which can be updated
+are: secret.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.13.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>gid</code></em> :</span></p></td>
-<td>group id for the group</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be updated; object should have valid
+<a class="link" href="GumGroup.html#GumGroup--gid" title="The “gid” property"><span class="type">“gid”</span></a> property.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when group object is fetched</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when group is updated</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.13.6"></a><h4>Returns</h4>
+<p> returns TRUE if the request has been pushed and is waiting for
+the response, FALSE otherwise. No callback is triggered, in case the
+function returns FALSE.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-get-by-name"></a><h3>gum_group_get_by_name ()</h3>
-<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * gum_group_get_by_name (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *groupname</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method gets the group object attached to groupname over the DBus
-asynchronously. Callback is used to notify when the remote object is fully
-created and accessible.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-group-update-sync"></a><h3>gum_group_update_sync ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_group_update_sync (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>);</pre>
+<p>This method updates the group over the DBus synchronously. The properties
+which can be updated are: secret.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.14.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be updated; object should have valid
+<a class="link" href="GumGroup.html#GumGroup--gid" title="The “gid” property"><span class="type">“gid”</span></a> property.</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.14.6"></a><h4>Returns</h4>
+<p> returns TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-group-add-member"></a><h3>gum_group_add_member ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_group_add_member (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
+ <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_as_admin</code></em>,
+ <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method adds new member to the group over the DBus asynchronously.
+Callback is used to notify when the member is added.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.15.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>groupname</code></em> :</span></p></td>
-<td>name of the group</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when group object is fetched</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object where new member is to be added; object should have
+valid <a class="link" href="GumGroup.html#GumGroup--gid" title="The “gid” property"><span class="type">“gid”</span></a> property.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
+<td class="parameter_name"><p>uid</p></td>
+<td class="parameter_description"><p>user id of the member to be added to the group</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>add_as_admin</p></td>
+<td class="parameter_description"><p>user will be added with admin privileges for the group if set
+to TRUE</p></td>
+<td class="parameter_annotations"> </td>
</tr>
-</tbody>
-</table></div>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gum-group-get-by-name-sync"></a><h3>gum_group_get_by_name_sync ()</h3>
-<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * gum_group_get_by_name_sync (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *groupname</code></em>);</pre>
-<p>
-This method gets the group object attached to groupname over the DBus
-synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>groupname</code></em> :</span></p></td>
-<td>name of the group</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when member is added</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.15.6"></a><h4>Returns</h4>
+<p> returns TRUE if the request has been pushed and is waiting for
+the response, FALSE otherwise. No callback is triggered, in case the
+function returns FALSE.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-get-sync"></a><h3>gum_group_get_sync ()</h3>
-<pre class="programlisting"><a class="link" href="GumGroup.html" title="GumGroup"><span class="returnvalue">GumGroup</span></a> * gum_group_get_sync (<em class="parameter"><code><span class="type">gid_t</span> gid</code></em>);</pre>
-<p>
-This method gets the group object attached to gid over the DBus
-synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-group-add-member-sync"></a><h3>gum_group_add_member_sync ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_group_add_member_sync (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
+ <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_as_admin</code></em>);</pre>
+<p>This method adds new member to the group over the DBus synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.16.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>gid</code></em> :</span></p></td>
-<td>group id for the group</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object where new member is to be added; object should have
+valid <a class="link" href="GumGroup.html#GumGroup--gid" title="The “gid” property"><span class="type">“gid”</span></a> property.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>uid</p></td>
+<td class="parameter_description"><p>user id of the member to be added to the group</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>add_as_admin</p></td>
+<td class="parameter_description"><p>user will be added with admin privileges for the group if set
+to TRUE</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.16.6"></a><h4>Returns</h4>
+<p> returns TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-update"></a><h3>gum_group_update ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_group_update (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
- <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method updates the group over the DBus asynchronously. Callback is used
-to notify when the group is updated. The properties which can be updated
-are: secret.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-group-delete-member"></a><h3>gum_group_delete_member ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_group_delete_member (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
+ <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
+ <em class="parameter"><code><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method deletes new member from the group over the DBus asynchronously.
+Callback is used to notify when the member is deleted.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.17.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be updated; object should have valid
-<a class="link" href="GumGroup.html#GumGroup--gid" title='The "gid" property'><span class="type">"gid"</span></a> property.</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object where member is to be deleted from; object should
+have valid <a class="link" href="GumGroup.html#GumGroup--gid" title="The “gid” property"><span class="type">“gid”</span></a> property.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when group is updated</td>
+<td class="parameter_name"><p>uid</p></td>
+<td class="parameter_description"><p>user id of the member to be deleted from the group</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()"><span class="type">GumGroupCb</span></a> to be invoked when member is deleted</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if the request has been pushed and is waiting for
-the response, FALSE otherwise. No callback is triggered, in case the
-function returns FALSE.</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.17.6"></a><h4>Returns</h4>
+<p> returns TRUE if the request has been pushed and is waiting for
+the response, FALSE otherwise. No callback is triggered, in case the
+function returns FALSE.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-group-update-sync"></a><h3>gum_group_update_sync ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_group_update_sync (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>);</pre>
-<p>
-This method updates the group over the DBus synchronously. The properties
-which can be updated are: secret.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-group-delete-member-sync"></a><h3>gum_group_delete_member_sync ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_group_delete_member_sync (<em class="parameter"><code><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> *self</code></em>,
+ <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>);</pre>
+<p>This method deletes new member from the group over the DBus synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.3.8.18.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object to be updated; object should have valid
-<a class="link" href="GumGroup.html#GumGroup--gid" title='The "gid" property'><span class="type">"gid"</span></a> property.</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumGroup.html" title="GumGroup"><span class="type">GumGroup</span></a> object where member is to be deleted from; object should
+have valid <a class="link" href="GumGroup.html#GumGroup--gid" title="The “gid” property"><span class="type">“gid”</span></a> property.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if successful, FALSE otherwise.</td>
+<td class="parameter_name"><p>uid</p></td>
+<td class="parameter_description"><p>user id of the member to be deleted from the group</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.3.8.18.6"></a><h4>Returns</h4>
+<p> returns TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="GumGroup.other_details"></a><h2>Types and Values</h2>
</div>
<div class="refsect1">
<a name="GumGroup.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
-<a name="GumGroup--gid"></a><h3>The <code class="literal">"gid"</code> property</h3>
-<pre class="programlisting"> "gid" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
-<p>
-This property holds a unique group identity for the group as assigned by
-the underlying framework, which is always be in range [0, MAXUINT].
-</p>
+<a name="GumGroup--gid"></a><h3>The <code class="literal">“gid”</code> property</h3>
+<pre class="programlisting"> “gid” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
+<p>This property holds a unique group identity for the group as assigned by
+the underlying framework, which is always be in range [0, MAXUINT].</p>
+<p>Flags: Read</p>
<p>Default value: 4294967295</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumGroup--groupname"></a><h3>The <code class="literal">"groupname"</code> property</h3>
-<pre class="programlisting"> "groupname" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
-<p>
-This property holds the name of given to the group when the group is
+<a name="GumGroup--groupname"></a><h3>The <code class="literal">“groupname”</code> property</h3>
+<pre class="programlisting"> “groupname” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
+<p>This property holds the name of given to the group when the group is
added. Allowed pattern for groupname is:
-"^[A-Za-z_][A-Za-z0-9_.-]*[A-Za-z0-9_.$-]\\?$".
-</p>
+"^A-Za-z_*[A-Za-z0-9_.$-]\?$".</p>
+<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumGroup--grouptype"></a><h3>The <code class="literal">"grouptype"</code> property</h3>
-<pre class="programlisting"> "grouptype" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
-<p>
-This property holds a group type that the object corresponds to. Valid
+<a name="GumGroup--grouptype"></a><h3>The <code class="literal">“grouptype”</code> property</h3>
+<pre class="programlisting"> “grouptype” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
+<p>This property holds a group type that the object corresponds to. Valid
values of group types are as specified in <a class="link" href="gumd-Group-types.html#GumGroupType" title="enum GumGroupType"><span class="type">GumGroupType</span></a>.
-<a class="link" href="GumGroup.html#GumGroup--grouptype" title='The "grouptype" property'><span class="type">"grouptype"</span></a> must be specified when adding a new group.
-</p>
+<a class="link" href="GumGroup.html#GumGroup--grouptype" title="The “grouptype” property"><span class="type">“grouptype”</span></a> must be specified when adding a new group.</p>
+<p>Flags: Read / Write</p>
<p>Allowed values: <= 65535</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumGroup--secret"></a><h3>The <code class="literal">"secret"</code> property</h3>
-<pre class="programlisting"> "secret" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
-<p>
-This property holds the secret as chosen. Secret should not
-contain any control chars (0x00-0x1F,0x7F) or colon (':' 0x3A).
-</p>
+<a name="GumGroup--secret"></a><h3>The <code class="literal">“secret”</code> property</h3>
+<pre class="programlisting"> “secret” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
+<p>This property holds the secret as chosen. Secret should not
+contain any control chars (0x00-0x1F,0x7F) or colon (':' 0x3A).</p>
+<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>GumUser</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: GumUser</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch03.html" title="Client library (libgum) interface">
<link rel="prev" href="ch03.html" title="Client library (libgum) interface">
<link rel="next" href="GumGroup.html" title="GumGroup">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="ch03.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch03.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="GumGroup.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#GumUser.synopsis" class="shortcut">Top</a>
- |
- <a href="#GumUser.description" class="shortcut">Description</a>
- |
- <a href="#GumUser.object-hierarchy" class="shortcut">Object Hierarchy</a>
- |
- <a href="#GumUser.properties" class="shortcut">Properties</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#GumUser.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#GumUser.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
+ <a href="#GumUser.properties" class="shortcut">Properties</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="ch03.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="GumGroup.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="GumUser"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="GumUser.top_of_page"></a>GumUser</span></h2>
<p>GumUser — provides interface for managing user's account</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="GumUser.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/gum-user.h>
-
-struct <a class="link" href="GumUser.html#GumUser-struct" title="struct GumUser">GumUser</a>;
-<span class="returnvalue">void</span> (<a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()">*GumUserCb</a>) (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *user</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-struct <a class="link" href="GumUser.html#GumUserClass" title="struct GumUserClass">GumUserClass</a>;
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumUser.html#gum-user-add" title="gum_user_add ()">gum_user_add</a> (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
- <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumUser.html#gum-user-add-sync" title="gum_user_add_sync ()">gum_user_add_sync</a> (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>);
-<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * <a class="link" href="GumUser.html#gum-user-create" title="gum_user_create ()">gum_user_create</a> (<em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * <a class="link" href="GumUser.html#gum-user-create-sync" title="gum_user_create_sync ()">gum_user_create_sync</a> ();
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumUser.html#gum-user-delete" title="gum_user_delete ()">gum_user_delete</a> (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> rem_home_dir</code></em>,
- <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumUser.html#gum-user-delete-sync" title="gum_user_delete_sync ()">gum_user_delete_sync</a> (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> rem_home_dir</code></em>);
-<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * <a class="link" href="GumUser.html#gum-user-get" title="gum_user_get ()">gum_user_get</a> (<em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * <a class="link" href="GumUser.html#gum-user-get-by-name" title="gum_user_get_by_name ()">gum_user_get_by_name</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>,
- <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * <a class="link" href="GumUser.html#gum-user-get-by-name-sync" title="gum_user_get_by_name_sync ()">gum_user_get_by_name_sync</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>);
-<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * <a class="link" href="GumUser.html#gum-user-get-sync" title="gum_user_get_sync ()">gum_user_get_sync</a> (<em class="parameter"><code><span class="type">uid_t</span> uid</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumUser.html#gum-user-update" title="gum_user_update ()">gum_user_update</a> (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
- <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GumUser.html#gum-user-update-sync" title="gum_user_update_sync ()">gum_user_update_sync</a> (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>);
-</pre>
+<div class="refsect1">
+<a name="GumUser.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()">*GumUserCb</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-create" title="gum_user_create ()">gum_user_create</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-create-sync" title="gum_user_create_sync ()">gum_user_create_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-get" title="gum_user_get ()">gum_user_get</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-get-sync" title="gum_user_get_sync ()">gum_user_get_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-get-by-name" title="gum_user_get_by_name ()">gum_user_get_by_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-get-by-name-sync" title="gum_user_get_by_name_sync ()">gum_user_get_by_name_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-add" title="gum_user_add ()">gum_user_add</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-add-sync" title="gum_user_add_sync ()">gum_user_add_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-delete" title="gum_user_delete ()">gum_user_delete</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-delete-sync" title="gum_user_delete_sync ()">gum_user_delete_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-update" title="gum_user_update ()">gum_user_update</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="GumUser.html#gum-user-update-sync" title="gum_user_update_sync ()">gum_user_update_sync</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="GumUser.properties"></a><h2>Properties</h2>
+<div class="informaltable"><table border="0">
+<colgroup>
+<col width="150px" class="properties_type">
+<col width="300px" class="properties_name">
+<col width="200px" class="properties_flags">
+</colgroup>
+<tbody>
+<tr>
+<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--gid" title="The “gid” property">gid</a></td>
+<td class="property_flags">Read</td>
+</tr>
+<tr>
+<td class="property_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--homedir" title="The “homedir” property">homedir</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--homephone" title="The “homephone” property">homephone</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--nickname" title="The “nickname” property">nickname</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--office" title="The “office” property">office</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--officephone" title="The “officephone” property">officephone</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--realname" title="The “realname” property">realname</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--secret" title="The “secret” property">secret</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--shell" title="The “shell” property">shell</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--uid" title="The “uid” property">uid</a></td>
+<td class="property_flags">Read</td>
+</tr>
+<tr>
+<td class="property_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--username" title="The “username” property">username</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+<tr>
+<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
+<td class="property_name"><a class="link" href="GumUser.html#GumUser--usertype" title="The “usertype” property">usertype</a></td>
+<td class="property_flags">Read / Write</td>
+</tr>
+</tbody>
+</table></div>
</div>
<div class="refsect1">
<a name="GumUser.object-hierarchy"></a><h2>Object Hierarchy</h2>
-<pre class="synopsis">
- <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
- +----GumUser
+<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+ <span class="lineart">╰──</span> GumUser
</pre>
</div>
<div class="refsect1">
-<a name="GumUser.properties"></a><h2>Properties</h2>
-<pre class="synopsis">
- "<a class="link" href="GumUser.html#GumUser--gid" title='The "gid" property'>gid</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
- "<a class="link" href="GumUser.html#GumUser--homedir" title='The "homedir" property'>homedir</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GumUser.html#GumUser--homephone" title='The "homephone" property'>homephone</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GumUser.html#GumUser--nickname" title='The "nickname" property'>nickname</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GumUser.html#GumUser--office" title='The "office" property'>office</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GumUser.html#GumUser--officephone" title='The "officephone" property'>officephone</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GumUser.html#GumUser--realname" title='The "realname" property'>realname</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GumUser.html#GumUser--secret" title='The "secret" property'>secret</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GumUser.html#GumUser--shell" title='The "shell" property'>shell</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GumUser.html#GumUser--uid" title='The "uid" property'>uid</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
- "<a class="link" href="GumUser.html#GumUser--username" title='The "username" property'>username</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
- "<a class="link" href="GumUser.html#GumUser--usertype" title='The "usertype" property'>usertype</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
+<a name="GumUser.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/gum-user.h>
</pre>
</div>
<div class="refsect1">
<a name="GumUser.description"></a><h2>Description</h2>
-<p>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> provides interface for adding, removing and updating user accounts.
+<p><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> provides interface for adding, removing and updating user accounts.
User's information can also be retrieved using this interface. Only
privileged user can access the interface when system-bus is used for
-communication with the user management daemon.
-</p>
-<p>
-Following code snippet demonstrates how to create a new remote user object:
-</p>
-<p>
-</p>
+communication with the user management daemon.</p>
+<p>Following code snippet demonstrates how to create a new remote user object:</p>
<div class="informalexample"><pre class="programlisting">
GumUser *user = NULL;
// destroy the object
g_object_unref (user);
</pre></div>
-<p>
-</p>
-<p>
-Similarly, new user can be added as:
-</p>
+<p></p>
+<p>Similarly, new user can be added as:</p>
<div class="informalexample"><pre class="programlisting">
GumUser *user = NULL;
gboolean rval = FALSE;
// destroy the object
g_object_unref (user);
</pre></div>
-<p>
-</p>
-<p>
-For more details, see example implementation here:
+<p></p>
+<p>For more details, see example implementation here:</p>
<a class="ulink" href="https://github.com/01org/gumd/blob/master/src/utils/gum-utils.c" target="_top">
gum-utils</a>
-</p>
</div>
<div class="refsect1">
-<a name="GumUser.details"></a><h2>Details</h2>
-<div class="refsect2">
-<a name="GumUser-struct"></a><h3>struct GumUser</h3>
-<pre class="programlisting">struct GumUser;</pre>
-<p>
-Opaque structure for the object.
-</p>
-</div>
-<hr>
+<a name="GumUser.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
-<a name="GumUserCb"></a><h3>GumUserCb ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> (*GumUserCb) (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *user</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-<a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> defines the callback which is used when user object is created,
-added, deleted or updated.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="GumUserCb"></a><h3>GumUserCb ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*GumUserCb<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *user</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> defines the callback which is used when user object is created,
+added, deleted or updated.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.2.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object which is used in the request. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>user</p></td>
+<td class="parameter_description"><p> <a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object which is used in the request. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> object. In case of error, error will be
-non-NULL. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> object. In case of error, error will be
+non-NULL. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data passed onto the request</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data passed onto the request</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
-<hr>
-<div class="refsect2">
-<a name="GumUserClass"></a><h3>struct GumUserClass</h3>
-<pre class="programlisting">struct GumUserClass {
- GObjectClass parent_class;
-};
-</pre>
-<p>
-Opaque structure for the class.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GumUserClass.parent-class"></a>parent_class</code></em>;</span></p></td>
-<td>parent class object</td>
-</tr></tbody>
-</table></div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-user-add"></a><h3>gum_user_add ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_user_add (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
- <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method adds the user over the DBus asynchronously. Callback is used to
-notify when the user is added.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-user-create"></a><h3>gum_user_create ()</h3>
+<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+gum_user_create (<em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method creates a new remote user object over the DBus asynchronously.
+Callback is used to notify when the remote object is fully created and
+accessible.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.3.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be added; object should have either valid
-<a class="link" href="GumUser.html#GumUser--username" title='The "username" property'><span class="type">"username"</span></a> or <a class="link" href="GumUser.html#GumUser--nickname" title='The "nickname" property'><span class="type">"nickname"</span></a> in addition to valid
-<a class="link" href="GumUser.html#GumUser--usertype" title='The "usertype" property'><span class="type">"usertype"</span></a>.</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when new user object is created</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when user is added</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if the request has been pushed and is waiting for
-the response, FALSE otherwise. No callback is triggered, in case the
-function returns FALSE.</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.2.8.3.6"></a><h4>Returns</h4>
+<p> <a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> newly created object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-user-add-sync"></a><h3>gum_user_add_sync ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_user_add_sync (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>);</pre>
-<p>
-This method adds the user over the DBus synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be added; object should have either valid
-<a class="link" href="GumUser.html#GumUser--username" title='The "username" property'><span class="type">"username"</span></a> or <a class="link" href="GumUser.html#GumUser--nickname" title='The "nickname" property'><span class="type">"nickname"</span></a> in addition to valid
-<a class="link" href="GumUser.html#GumUser--usertype" title='The "usertype" property'><span class="type">"usertype"</span></a>.</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if successful, FALSE otherwise.</td>
-</tr>
-</tbody>
-</table></div>
+<a name="gum-user-create-sync"></a><h3>gum_user_create_sync ()</h3>
+<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+gum_user_create_sync ();</pre>
+<p>This method creates a new remote user object over the DBus synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.4.5"></a><h4>Returns</h4>
+<p> <a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> newly created object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-user-create"></a><h3>gum_user_create ()</h3>
-<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * gum_user_create (<em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method creates a new remote user object over the DBus asynchronously.
-Callback is used to notify when the remote object is fully created and
-accessible.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-user-get"></a><h3>gum_user_get ()</h3>
+<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+gum_user_get (<em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
+ <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method gets the user object attached to uid over the DBus
+asynchronously. Callback is used to notify when the remote object is fully
+created and accessible.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.5.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when new user object is created</td>
+<td class="parameter_name"><p>uid</p></td>
+<td class="parameter_description"><p>user id for the user</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when user object is fetched</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> newly created object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.2.8.5.6"></a><h4>Returns</h4>
+<p> <a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-user-create-sync"></a><h3>gum_user_create_sync ()</h3>
-<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * gum_user_create_sync ();</pre>
-<p>
-This method creates a new remote user object over the DBus synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-user-get-sync"></a><h3>gum_user_get_sync ()</h3>
+<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+gum_user_get_sync (<em class="parameter"><code><span class="type">uid_t</span> uid</code></em>);</pre>
+<p>This method gets the user object attached to uid over the DBus
+synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.6.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody><tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> newly created object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>uid</p></td>
+<td class="parameter_description"><p>user id for the user</p></td>
+<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.2.8.6.6"></a><h4>Returns</h4>
+<p> <a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-user-delete"></a><h3>gum_user_delete ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_user_delete (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> rem_home_dir</code></em>,
- <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method deletes the user over the DBus asynchronously. Callback is used
-to notify when the user is deleted.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-user-get-by-name"></a><h3>gum_user_get_by_name ()</h3>
+<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+gum_user_get_by_name (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>,
+ <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method gets the user object attached to username over the DBus
+asynchronously. Callback is used to notify when the remote object is fully
+created and accessible.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.7.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be deleted; object should have valid <a class="link" href="GumUser.html#GumUser--uid" title='The "uid" property'><span class="type">"uid"</span></a>
-property.</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>rem_home_dir</code></em> :</span></p></td>
-<td>deletes home directory of the user if set to TRUE</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when user is deleted</td>
+<td class="parameter_name"><p>username</p></td>
+<td class="parameter_description"><p>name of the user</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when user object is fetched</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if the request has been pushed and is waiting for
-the response, FALSE otherwise. No callback is triggered, in case the
-function returns FALSE.</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.2.8.7.6"></a><h4>Returns</h4>
+<p> <a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-user-delete-sync"></a><h3>gum_user_delete_sync ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_user_delete_sync (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> rem_home_dir</code></em>);</pre>
-<p>
-This method deletes the user over the DBus synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be deleted; object should have valid <a class="link" href="GumUser.html#GumUser--uid" title='The "uid" property'><span class="type">"uid"</span></a>
-property.</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>rem_home_dir</code></em> :</span></p></td>
-<td>deletes home directory of the user if set to TRUE</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if successful, FALSE otherwise.</td>
-</tr>
-</tbody>
+<a name="gum-user-get-by-name-sync"></a><h3>gum_user_get_by_name_sync ()</h3>
+<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> *
+gum_user_get_by_name_sync (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>);</pre>
+<p>This method gets the user object attached to username over the DBus
+synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.8.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>username</p></td>
+<td class="parameter_description"><p>name of the user</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.2.8.8.6"></a><h4>Returns</h4>
+<p> <a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-user-get"></a><h3>gum_user_get ()</h3>
-<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * gum_user_get (<em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method gets the user object attached to uid over the DBus
-asynchronously. Callback is used to notify when the remote object is fully
-created and accessible.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-user-add"></a><h3>gum_user_add ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_user_add (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
+ <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method adds the user over the DBus asynchronously. Callback is used to
+notify when the user is added.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.9.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
-<td>user id for the user</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be added; object should have either valid
+<a class="link" href="GumUser.html#GumUser--username" title="The “username” property"><span class="type">“username”</span></a> or <a class="link" href="GumUser.html#GumUser--nickname" title="The “nickname” property"><span class="type">“nickname”</span></a> in addition to valid
+<a class="link" href="GumUser.html#GumUser--usertype" title="The “usertype” property"><span class="type">“usertype”</span></a>.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when user object is fetched</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when user is added</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.2.8.9.6"></a><h4>Returns</h4>
+<p> returns TRUE if the request has been pushed and is waiting for
+the response, FALSE otherwise. No callback is triggered, in case the
+function returns FALSE.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-user-get-by-name"></a><h3>gum_user_get_by_name ()</h3>
-<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * gum_user_get_by_name (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>,
- <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method gets the user object attached to username over the DBus
-asynchronously. Callback is used to notify when the remote object is fully
-created and accessible.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-user-add-sync"></a><h3>gum_user_add_sync ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_user_add_sync (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>);</pre>
+<p>This method adds the user over the DBus synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.10.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be added; object should have either valid
+<a class="link" href="GumUser.html#GumUser--username" title="The “username” property"><span class="type">“username”</span></a> or <a class="link" href="GumUser.html#GumUser--nickname" title="The “nickname” property"><span class="type">“nickname”</span></a> in addition to valid
+<a class="link" href="GumUser.html#GumUser--usertype" title="The “usertype” property"><span class="type">“usertype”</span></a>.</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.6.2.8.10.6"></a><h4>Returns</h4>
+<p> returns TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-user-delete"></a><h3>gum_user_delete ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_user_delete (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> rem_home_dir</code></em>,
+ <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method deletes the user over the DBus asynchronously. Callback is used
+to notify when the user is deleted.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.11.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>username</code></em> :</span></p></td>
-<td>name of the user</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be deleted; object should have valid <a class="link" href="GumUser.html#GumUser--uid" title="The “uid” property"><span class="type">“uid”</span></a>
+property.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when user object is fetched</td>
+<td class="parameter_name"><p>rem_home_dir</p></td>
+<td class="parameter_description"><p>deletes home directory of the user if set to TRUE</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when user is deleted</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
-<hr>
-<div class="refsect2">
-<a name="gum-user-get-by-name-sync"></a><h3>gum_user_get_by_name_sync ()</h3>
-<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * gum_user_get_by_name_sync (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>);</pre>
-<p>
-This method gets the user object attached to username over the DBus
-synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>username</code></em> :</span></p></td>
-<td>name of the user</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
-</tr>
-</tbody>
-</table></div>
+<div class="refsect3">
+<a name="id-1.6.2.8.11.6"></a><h4>Returns</h4>
+<p> returns TRUE if the request has been pushed and is waiting for
+the response, FALSE otherwise. No callback is triggered, in case the
+function returns FALSE.</p>
+<p></p>
+</div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-user-get-sync"></a><h3>gum_user_get_sync ()</h3>
-<pre class="programlisting"><a class="link" href="GumUser.html" title="GumUser"><span class="returnvalue">GumUser</span></a> * gum_user_get_sync (<em class="parameter"><code><span class="type">uid_t</span> uid</code></em>);</pre>
-<p>
-This method gets the user object attached to uid over the DBus
-synchronously.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-user-delete-sync"></a><h3>gum_user_delete_sync ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_user_delete_sync (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> rem_home_dir</code></em>);</pre>
+<p>This method deletes the user over the DBus synchronously.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.12.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
-<td>user id for the user</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be deleted; object should have valid <a class="link" href="GumUser.html#GumUser--uid" title="The “uid” property"><span class="type">“uid”</span></a>
+property.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>rem_home_dir</p></td>
+<td class="parameter_description"><p>deletes home directory of the user if set to TRUE</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.2.8.12.6"></a><h4>Returns</h4>
+<p> returns TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-user-update"></a><h3>gum_user_update ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_user_update (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
- <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
-<p>
-This method updates the user over the DBus asynchronously. Callback is used
+<a name="gum-user-update"></a><h3>gum_user_update ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_user_update (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>,
+ <em class="parameter"><code><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> callback</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
+<p>This method updates the user over the DBus asynchronously. Callback is used
to notify when the user is updated. The properties which can be updated
-are: secret, realname, office, officephone, homephone and shell.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+are: secret, realname, office, officephone, homephone and shell.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.13.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be updated; object should have valid <a class="link" href="GumUser.html#GumUser--uid" title='The "uid" property'><span class="type">"uid"</span></a>
-property.</td>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be updated; object should have valid <a class="link" href="GumUser.html#GumUser--uid" title="The “uid” property"><span class="type">“uid”</span></a>
+property.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when user is updated</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()"><span class="type">GumUserCb</span></a> to be invoked when user is updated</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if the request has been pushed and is waiting for
-the response, FALSE otherwise. No callback is triggered, in case the
-function returns FALSE.</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.2.8.13.6"></a><h4>Returns</h4>
+<p> returns TRUE if the request has been pushed and is waiting for
+the response, FALSE otherwise. No callback is triggered, in case the
+function returns FALSE.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-user-update-sync"></a><h3>gum_user_update_sync ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_user_update_sync (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>);</pre>
-<p>
-This method updates the user over the DBus synchronously. The properties
+<a name="gum-user-update-sync"></a><h3>gum_user_update_sync ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_user_update_sync (<em class="parameter"><code><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> *self</code></em>);</pre>
+<p>This method updates the user over the DBus synchronously. The properties
which can be updated are: secret, realname, office, officephone, homephone
-and shell.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
-<td>
-<a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be updated; object should have valid <a class="link" href="GumUser.html#GumUser--uid" title='The "uid" property'><span class="type">"uid"</span></a>
-property.</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>returns TRUE if successful, FALSE otherwise.</td>
-</tr>
-</tbody>
+and shell.</p>
+<div class="refsect3">
+<a name="id-1.6.2.8.14.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>self</p></td>
+<td class="parameter_description"><p><a class="link" href="GumUser.html" title="GumUser"><span class="type">GumUser</span></a> object to be updated; object should have valid <a class="link" href="GumUser.html#GumUser--uid" title="The “uid” property"><span class="type">“uid”</span></a>
+property.</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.6.2.8.14.6"></a><h4>Returns</h4>
+<p> returns TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="GumUser.other_details"></a><h2>Types and Values</h2>
</div>
<div class="refsect1">
<a name="GumUser.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
-<a name="GumUser--gid"></a><h3>The <code class="literal">"gid"</code> property</h3>
-<pre class="programlisting"> "gid" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
-<p>
-This property holds a unique group identity for the user as assigned by
-the underlying framework, which is always be in range [0, MAXUINT].
-</p>
+<a name="GumUser--gid"></a><h3>The <code class="literal">“gid”</code> property</h3>
+<pre class="programlisting"> “gid” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
+<p>This property holds a unique group identity for the user as assigned by
+the underlying framework, which is always be in range [0, MAXUINT].</p>
+<p>Flags: Read</p>
<p>Default value: 4294967295</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumUser--homedir"></a><h3>The <code class="literal">"homedir"</code> property</h3>
-<pre class="programlisting"> "homedir" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
-<p>
-This property holds the location of the home directory of the user. Home
+<a name="GumUser--homedir"></a><h3>The <code class="literal">“homedir”</code> property</h3>
+<pre class="programlisting"> “homedir” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
+<p>This property holds the location of the home directory of the user. Home
directory should not contain any control chars (0x00-0x1F,0x7F),
comma (',' 0x2c) or colon (':' 0x3A). For new user, it is recommended to
let the underlying framework to set the home directory of the user based
-on the configuration.
-</p>
+on the configuration.</p>
+<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumUser--homephone"></a><h3>The <code class="literal">"homephone"</code> property</h3>
-<pre class="programlisting"> "homephone" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
-<p>
-This property holds the home phone of the user. Home phone should not
+<a name="GumUser--homephone"></a><h3>The <code class="literal">“homephone”</code> property</h3>
+<pre class="programlisting"> “homephone” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
+<p>This property holds the home phone of the user. Home phone should not
contain any control chars (0x00-0x1F,0x7F), comma (',' 0x2c) or
-colon (':' 0x3A).
-</p>
+colon (':' 0x3A).</p>
+<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumUser--nickname"></a><h3>The <code class="literal">"nickname"</code> property</h3>
-<pre class="programlisting"> "nickname" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
-<p>
-This property holds the nickname of given to the user. Nickname should
+<a name="GumUser--nickname"></a><h3>The <code class="literal">“nickname”</code> property</h3>
+<pre class="programlisting"> “nickname” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
+<p>This property holds the nickname of given to the user. Nickname should
not contain any control chars (0x00-0x1F,0x7F), comma (',' 0x2c) or
-colon (':' 0x3A). If no <a class="link" href="GumUser.html#GumUser--username" title='The "username" property'><span class="type">"username"</span></a> is specified, nickname is
-hashed to handle non-ascii characters and then set as <a class="link" href="GumUser.html#GumUser--username" title='The "username" property'><span class="type">"username"</span></a>.
-</p>
+colon (':' 0x3A). If no <a class="link" href="GumUser.html#GumUser--username" title="The “username” property"><span class="type">“username”</span></a> is specified, nickname is
+hashed to handle non-ascii characters and then set as <a class="link" href="GumUser.html#GumUser--username" title="The “username” property"><span class="type">“username”</span></a>.</p>
+<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumUser--office"></a><h3>The <code class="literal">"office"</code> property</h3>
-<pre class="programlisting"> "office" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
-<p>
-This property holds the location of the office of the user. Office
+<a name="GumUser--office"></a><h3>The <code class="literal">“office”</code> property</h3>
+<pre class="programlisting"> “office” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
+<p>This property holds the location of the office of the user. Office
should not contain any control chars (0x00-0x1F,0x7F), comma (',' 0x2c)
-or colon (':' 0x3A).
-</p>
+or colon (':' 0x3A).</p>
+<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumUser--officephone"></a><h3>The <code class="literal">"officephone"</code> property</h3>
-<pre class="programlisting"> "officephone" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
-<p>
-This property holds the office phone of the user. Office phone
+<a name="GumUser--officephone"></a><h3>The <code class="literal">“officephone”</code> property</h3>
+<pre class="programlisting"> “officephone” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
+<p>This property holds the office phone of the user. Office phone
should not contain any control chars (0x00-0x1F,0x7F), comma (',' 0x2c)
-or colon (':' 0x3A).
-</p>
+or colon (':' 0x3A).</p>
+<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumUser--realname"></a><h3>The <code class="literal">"realname"</code> property</h3>
-<pre class="programlisting"> "realname" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
-<p>
-This property holds the realname of given to the user. Realname should
+<a name="GumUser--realname"></a><h3>The <code class="literal">“realname”</code> property</h3>
+<pre class="programlisting"> “realname” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
+<p>This property holds the realname of given to the user. Realname should
not contain any control chars (0x00-0x1F,0x7F), comma (',' 0x2c) or
-colon (':' 0x3A).
-</p>
+colon (':' 0x3A).</p>
+<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumUser--secret"></a><h3>The <code class="literal">"secret"</code> property</h3>
-<pre class="programlisting"> "secret" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
-<p>
-This property holds the secret as chosen by the user. Secret should not
-contain any control chars (0x00-0x1F,0x7F) or colon (':' 0x3A).
-</p>
+<a name="GumUser--secret"></a><h3>The <code class="literal">“secret”</code> property</h3>
+<pre class="programlisting"> “secret” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
+<p>This property holds the secret as chosen by the user. Secret should not
+contain any control chars (0x00-0x1F,0x7F) or colon (':' 0x3A).</p>
+<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumUser--shell"></a><h3>The <code class="literal">"shell"</code> property</h3>
-<pre class="programlisting"> "shell" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
-<p>
-This property holds the shell path of the user. Shell path should not
+<a name="GumUser--shell"></a><h3>The <code class="literal">“shell”</code> property</h3>
+<pre class="programlisting"> “shell” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
+<p>This property holds the shell path of the user. Shell path should not
contain any control chars (0x00-0x1F,0x7F), comma (',' 0x2c) or
colon (':' 0x3A). For new user, it is recommended to let the underlying
framework to set the home directory of the user based on the
-configuration.
-</p>
+configuration.</p>
+<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumUser--uid"></a><h3>The <code class="literal">"uid"</code> property</h3>
-<pre class="programlisting"> "uid" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
-<p>
-This property holds a unique user identity for the user as assigned by
-ther underlying framework, which is always be in range [0, MAXUINT].
-</p>
+<a name="GumUser--uid"></a><h3>The <code class="literal">“uid”</code> property</h3>
+<pre class="programlisting"> “uid” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
+<p>This property holds a unique user identity for the user as assigned by
+ther underlying framework, which is always be in range [0, MAXUINT].</p>
+<p>Flags: Read</p>
<p>Default value: 4294967295</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumUser--username"></a><h3>The <code class="literal">"username"</code> property</h3>
-<pre class="programlisting"> "username" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
-<p>
-This property holds the name of given to the user when the user is
+<a name="GumUser--username"></a><h3>The <code class="literal">“username”</code> property</h3>
+<pre class="programlisting"> “username” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
+<p>This property holds the name of given to the user when the user is
added. Allowed pattern for username is:
-"^[A-Za-z_][A-Za-z0-9_.-]*[A-Za-z0-9_.$-]\\?$". Either <a class="link" href="GumUser.html#GumUser--username" title='The "username" property'><span class="type">"username"</span></a>
-or <a class="link" href="GumUser.html#GumUser--nickname" title='The "nickname" property'><span class="type">"nickname"</span></a> must be specified when adding a new user.
-</p>
+"^A-Za-z_*[A-Za-z0-9_.$-]\?$". Either <a class="link" href="GumUser.html#GumUser--username" title="The “username” property"><span class="type">“username”</span></a>
+or <a class="link" href="GumUser.html#GumUser--nickname" title="The “nickname” property"><span class="type">“nickname”</span></a> must be specified when adding a new user.</p>
+<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
-<a name="GumUser--usertype"></a><h3>The <code class="literal">"usertype"</code> property</h3>
-<pre class="programlisting"> "usertype" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
-<p>
-This property holds a user type that the object corresponds to. Valid
+<a name="GumUser--usertype"></a><h3>The <code class="literal">“usertype”</code> property</h3>
+<pre class="programlisting"> “usertype” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
+<p>This property holds a user type that the object corresponds to. Valid
values of user types are as specified in <a class="link" href="gumd-User-types.html#GumUserType" title="enum GumUserType"><span class="type">GumUserType</span></a>.
-<a class="link" href="GumUser.html#GumUser--usertype" title='The "usertype" property'><span class="type">"usertype"</span></a> must be specified when adding a new user.
-</p>
+<a class="link" href="GumUser.html#GumUser--usertype" title="The “usertype” property"><span class="type">“usertype”</span></a> must be specified when adding a new user.</p>
+<p>Flags: Read / Write</p>
<p>Allowed values: <= 65535</p>
<p>Default value: 0</p>
</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Daemon (gumd) configuration</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Daemon (gumd) configuration</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="index.html" title="gumd API Reference Manual">
<link rel="prev" href="um-building.html" title="Building and Installation">
<link rel="next" href="GumConfig.html" title="GumConfig">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
-<td><a accesskey="p" href="um-building.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td> </td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="GumConfig.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="um-building.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="GumConfig.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="chapter">
-<div class="titlepage"><div><div><h2 class="title">
-<a name="idp2975856"></a>Daemon (gumd) configuration</h2></div></div></div>
-<div class="toc"><dl>
+<div class="titlepage"><div><div><h1 class="title">
+<a name="id-1.4"></a>Daemon (gumd) configuration</h1></div></div></div>
+<div class="toc"><dl class="toc">
<dt>
<span class="refentrytitle"><a href="GumConfig.html">GumConfig</a></span><span class="refpurpose"> — gum configuration information</span>
</dt>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Common</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Common</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="index.html" title="gumd API Reference Manual">
<link rel="prev" href="gumd-DBus-configuration.html" title="DBus configuration">
<link rel="next" href="gumd-GumDictionary.html" title="GumDictionary">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
-<td><a accesskey="p" href="gumd-DBus-configuration.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td> </td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-GumDictionary.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="gumd-DBus-configuration.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-GumDictionary.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="chapter">
-<div class="titlepage"><div><div><h2 class="title">
-<a name="idp4492176"></a>Common</h2></div></div></div>
-<div class="toc"><dl>
+<div class="titlepage"><div><div><h1 class="title">
+<a name="id-1.5"></a>Common</h1></div></div></div>
+<div class="toc"><dl class="toc">
<dt>
<span class="refentrytitle"><a href="gumd-GumDictionary.html">GumDictionary</a></span><span class="refpurpose"> — a dictionary container holding string keys and variant
values</span>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Client library (libgum) interface</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Client library (libgum) interface</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="index.html" title="gumd API Reference Manual">
<link rel="prev" href="gumd-Group-types.html" title="Group types">
<link rel="next" href="GumUser.html" title="GumUser">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
-<td><a accesskey="p" href="gumd-Group-types.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td> </td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="GumUser.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="gumd-Group-types.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="GumUser.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="chapter">
-<div class="titlepage"><div><div><h2 class="title">
-<a name="idp4003152"></a>Client library (libgum) interface</h2></div></div></div>
-<div class="toc"><dl>
+<div class="titlepage"><div><div><h1 class="title">
+<a name="id-1.6"></a>Client library (libgum) interface</h1></div></div></div>
+<div class="toc"><dl class="toc">
<dt>
<span class="refentrytitle"><a href="GumUser.html">GumUser</a></span><span class="refpurpose"> — provides interface for managing user's account</span>
</dt>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Appendices</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Appendices</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="index.html" title="gumd API Reference Manual">
<link rel="prev" href="gumd-utils.html" title="Utils">
<link rel="next" href="ch05.html" title="Deprecated APIs">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-utils.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td> </td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="ch05.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a class="shortcut" href="#idxC">C</a>
- |
- <a class="shortcut" href="#idxD">D</a>
- |
- <a class="shortcut" href="#idxE">E</a>
- |
- <a class="shortcut" href="#idxF">F</a>
- |
- <a class="shortcut" href="#idxG">G</a>
- |
- <a class="shortcut" href="#idxI">I</a>
- |
- <a class="shortcut" href="#idxL">L</a>
- |
- <a class="shortcut" href="#idxN">N</a>
- |
- <a class="shortcut" href="#idxO">O</a>
- |
- <a class="shortcut" href="#idxR">R</a>
- |
- <a class="shortcut" href="#idxS">S</a>
- |
- <a class="shortcut" href="#idxT">T</a>
- |
- <a class="shortcut" href="#idxU">U</a>
- |
- <a class="shortcut" href="#idxV">V</a>
- |
- <a class="shortcut" href="#idxW">W</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"><span id="nav_index"><a class="shortcut" href="#idxC">C</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxD">D</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxE">E</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxF">F</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxG">G</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxI">I</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxL">L</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxN">N</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxO">O</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxR">R</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxS">S</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxT">T</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxU">U</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxV">V</a>
+ <span class="dim">|</span>
+ <a class="shortcut" href="#idxW">W</a></span></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="gumd-utils.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="ch05.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="chapter">
-<div class="titlepage"><div><div><h2 class="title">
-<a name="idp1904144"></a>Appendices</h2></div></div></div>
+<div class="titlepage"><div><div><h1 class="title">
+<a name="id-1.8"></a>Appendices</h1></div></div></div>
<a name="idx"></a><a name="idxC"></a><h3 class="title">C</h3>
<dt>
-<a class="link" href="GumConfig.html#GumConfig-struct" title="struct GumConfig">GumConfig</a>, struct in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
-</dt>
-<dd></dd>
-<dt>
-<a class="link" href="GumConfig.html#GumConfigClass" title="struct GumConfigClass">GumConfigClass</a>, struct in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
-</dt>
-<dd></dd>
-<dt>
<a class="link" href="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-DAEMON-TIMEOUT:CAPS" title="GUM_CONFIG_DBUS_DAEMON_TIMEOUT">GUM_CONFIG_DBUS_DAEMON_TIMEOUT</a>, macro in <a class="link" href="gumd-DBus-configuration.html" title="DBus configuration">DBus configuration</a>
</dt>
<dd></dd>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumConfig.html#gum-config-get-int" title="gum_config_get_int ()">gum_config_get_int</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
+<a class="link" href="GumConfig.html#gum-config-get-int" title="gum_config_get_int ()">gum_config_get_int</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumConfig.html#gum-config-get-string" title="gum_config_get_string ()">gum_config_get_string</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
+<a class="link" href="GumConfig.html#gum-config-get-string" title="gum_config_get_string ()">gum_config_get_string</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumConfig.html#gum-config-get-uint" title="gum_config_get_uint ()">gum_config_get_uint</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
+<a class="link" href="GumConfig.html#gum-config-get-uint" title="gum_config_get_uint ()">gum_config_get_uint</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumConfig.html#gum-config-new" title="gum_config_new ()">gum_config_new</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
+<a class="link" href="GumConfig.html#gum-config-new" title="gum_config_new ()">gum_config_new</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumConfig.html#gum-config-set-int" title="gum_config_set_int ()">gum_config_set_int</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
+<a class="link" href="GumConfig.html#gum-config-set-int" title="gum_config_set_int ()">gum_config_set_int</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumConfig.html#gum-config-set-string" title="gum_config_set_string ()">gum_config_set_string</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
+<a class="link" href="GumConfig.html#gum-config-set-string" title="gum_config_set_string ()">gum_config_set_string</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumConfig.html#gum-config-set-uint" title="gum_config_set_uint ()">gum_config_set_uint</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
+<a class="link" href="GumConfig.html#gum-config-set-uint" title="gum_config_set_uint ()">gum_config_set_uint</a>, function in <a class="link" href="GumConfig.html" title="GumConfig">GumConfig</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-Crypt.html#gum-crypt-cmp-secret" title="gum_crypt_cmp_secret ()">gum_crypt_cmp_secret</a>, function in <a class="link" href="gumd-Gum-Crypt.html" title="Gum Crypt">Gum Crypt</a>
+<a class="link" href="gumd-Gum-Crypt.html#gum-crypt-cmp-secret" title="gum_crypt_cmp_secret ()">gum_crypt_cmp_secret</a>, function in <a class="link" href="gumd-Gum-Crypt.html" title="Gum Crypt">Gum Crypt</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-Crypt.html#gum-crypt-encrypt-secret" title="gum_crypt_encrypt_secret ()">gum_crypt_encrypt_secret</a>, function in <a class="link" href="gumd-Gum-Crypt.html" title="Gum Crypt">Gum Crypt</a>
+<a class="link" href="gumd-Gum-Crypt.html#gum-crypt-encrypt-secret" title="gum_crypt_encrypt_secret ()">gum_crypt_encrypt_secret</a>, function in <a class="link" href="gumd-Gum-Crypt.html" title="Gum Crypt">Gum Crypt</a>
</dt>
<dd></dd>
<a name="idxD"></a><h3 class="title">D</h3>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary">GumDictionary</a>, typedef in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
-</dt>
-<dd></dd>
-<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-copy" title="gum_dictionary_copy ()">gum_dictionary_copy</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
-</dt>
-<dd></dd>
-<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get" title="gum_dictionary_get ()">gum_dictionary_get</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-copy" title="gum_dictionary_copy ()">gum_dictionary_copy</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-boolean" title="gum_dictionary_get_boolean ()">gum_dictionary_get_boolean</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get" title="gum_dictionary_get ()">gum_dictionary_get</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-int32" title="gum_dictionary_get_int32 ()">gum_dictionary_get_int32</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-boolean" title="gum_dictionary_get_boolean ()">gum_dictionary_get_boolean</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-int64" title="gum_dictionary_get_int64 ()">gum_dictionary_get_int64</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-int32" title="gum_dictionary_get_int32 ()">gum_dictionary_get_int32</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-string" title="gum_dictionary_get_string ()">gum_dictionary_get_string</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-int64" title="gum_dictionary_get_int64 ()">gum_dictionary_get_int64</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-uint32" title="gum_dictionary_get_uint32 ()">gum_dictionary_get_uint32</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-string" title="gum_dictionary_get_string ()">gum_dictionary_get_string</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-uint64" title="gum_dictionary_get_uint64 ()">gum_dictionary_get_uint64</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-uint32" title="gum_dictionary_get_uint32 ()">gum_dictionary_get_uint32</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-new" title="gum_dictionary_new ()">gum_dictionary_new</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-uint64" title="gum_dictionary_get_uint64 ()">gum_dictionary_get_uint64</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-new-from-variant" title="gum_dictionary_new_from_variant ()">gum_dictionary_new_from_variant</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-new" title="gum_dictionary_new ()">gum_dictionary_new</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-ref" title="gum_dictionary_ref ()">gum_dictionary_ref</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-new-from-variant" title="gum_dictionary_new_from_variant ()">gum_dictionary_new_from_variant</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-remove" title="gum_dictionary_remove ()">gum_dictionary_remove</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-ref" title="gum_dictionary_ref ()">gum_dictionary_ref</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set" title="gum_dictionary_set ()">gum_dictionary_set</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-remove" title="gum_dictionary_remove ()">gum_dictionary_remove</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-boolean" title="gum_dictionary_set_boolean ()">gum_dictionary_set_boolean</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set" title="gum_dictionary_set ()">gum_dictionary_set</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-int32" title="gum_dictionary_set_int32 ()">gum_dictionary_set_int32</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-boolean" title="gum_dictionary_set_boolean ()">gum_dictionary_set_boolean</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-int64" title="gum_dictionary_set_int64 ()">gum_dictionary_set_int64</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-int32" title="gum_dictionary_set_int32 ()">gum_dictionary_set_int32</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-string" title="gum_dictionary_set_string ()">gum_dictionary_set_string</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-int64" title="gum_dictionary_set_int64 ()">gum_dictionary_set_int64</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-uint32" title="gum_dictionary_set_uint32 ()">gum_dictionary_set_uint32</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-string" title="gum_dictionary_set_string ()">gum_dictionary_set_string</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-uint64" title="gum_dictionary_set_uint64 ()">gum_dictionary_set_uint64</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-uint32" title="gum_dictionary_set_uint32 ()">gum_dictionary_set_uint32</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-to-variant" title="gum_dictionary_to_variant ()">gum_dictionary_to_variant</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-uint64" title="gum_dictionary_set_uint64 ()">gum_dictionary_set_uint64</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-GumDictionary.html#gum-dictionary-unref" title="gum_dictionary_unref ()">gum_dictionary_unref</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-to-variant" title="gum_dictionary_to_variant ()">gum_dictionary_to_variant</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumDisposable.html#GumDisposable-struct" title="struct GumDisposable">GumDisposable</a>, struct in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-unref" title="gum_dictionary_unref ()">gum_dictionary_unref</a>, function in <a class="link" href="gumd-GumDictionary.html" title="GumDictionary">GumDictionary</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumDisposable.html#GumDisposable-disposing" title='The "disposing" signal'>GumDisposable::disposing</a>, object signal in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
+<a class="link" href="GumDisposable.html#GumDisposable-disposing" title="The “disposing” signal">GumDisposable::disposing</a>, object signal in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumDisposable.html#GumDisposable--auto-dispose" title='The "auto-dispose" property'>GumDisposable:auto-dispose</a>, object property in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
+<a class="link" href="GumDisposable.html#GumDisposable--auto-dispose" title="The “auto-dispose” property">GumDisposable:auto-dispose</a>, object property in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumDisposable.html#GumDisposable--delete-later" title='The "delete-later" property'>GumDisposable:delete-later</a>, object property in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
+<a class="link" href="GumDisposable.html#GumDisposable--delete-later" title="The “delete-later” property">GumDisposable:delete-later</a>, object property in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumDisposable.html#GumDisposable--timeout" title='The "timeout" property'>GumDisposable:timeout</a>, object property in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
+<a class="link" href="GumDisposable.html#GumDisposable--timeout" title="The “timeout” property">GumDisposable:timeout</a>, object property in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumDisposable.html#GumDisposableClass" title="struct GumDisposableClass">GumDisposableClass</a>, struct in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
+<a class="link" href="GumDisposable.html#gum-disposable-delete-later" title="gum_disposable_delete_later ()">gum_disposable_delete_later</a>, function in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumDisposable.html#gum-disposable-delete-later" title="gum_disposable_delete_later ()">gum_disposable_delete_later</a>, function in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
+<a class="link" href="GumDisposable.html#gum-disposable-get-auto-dispose" title="gum_disposable_get_auto_dispose ()">gum_disposable_get_auto_dispose</a>, function in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumDisposable.html#gum-disposable-get-auto-dispose" title="gum_disposable_get_auto_dispose ()">gum_disposable_get_auto_dispose</a>, function in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
+<a class="link" href="GumDisposable.html#gum-disposable-set-auto-dispose" title="gum_disposable_set_auto_dispose ()">gum_disposable_set_auto_dispose</a>, function in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumDisposable.html#gum-disposable-set-auto-dispose" title="gum_disposable_set_auto_dispose ()">gum_disposable_set_auto_dispose</a>, function in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
-</dt>
-<dd></dd>
-<dt>
-<a class="link" href="GumDisposable.html#gum-disposable-set-timeout" title="gum_disposable_set_timeout ()">gum_disposable_set_timeout</a>, function in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
+<a class="link" href="GumDisposable.html#gum-disposable-set-timeout" title="gum_disposable_set_timeout ()">gum_disposable_set_timeout</a>, function in <a class="link" href="GumDisposable.html" title="GumDisposable">GumDisposable</a>
</dt>
<dd></dd>
<a name="idxE"></a><h3 class="title">E</h3>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Errors.html#GUM-ERROR:CAPS" title="GUM_ERROR">GUM_ERROR</a>, macro in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
+<a class="link" href="gumd-Errors.html#GumError" title="enum GumError">GumError</a>, enum in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Errors.html#GumError" title="enum GumError">GumError</a>, enum in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
+<a class="link" href="gumd-Errors.html#GUM-ERROR:CAPS" title="GUM_ERROR">GUM_ERROR</a>, macro in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Errors.html#gum-error-new-from-variant" title="gum_error_new_from_variant ()">gum_error_new_from_variant</a>, function in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
+<a class="link" href="gumd-Errors.html#gum-error-new-from-variant" title="gum_error_new_from_variant ()">gum_error_new_from_variant</a>, function in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Errors.html#gum-error-quark" title="gum_error_quark ()">gum_error_quark</a>, function in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
+<a class="link" href="gumd-Errors.html#gum-error-quark" title="gum_error_quark ()">gum_error_quark</a>, function in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Errors.html#gum-error-to-variant" title="gum_error_to_variant ()">gum_error_to_variant</a>, function in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
+<a class="link" href="gumd-Errors.html#gum-error-to-variant" title="gum_error_to_variant ()">gum_error_to_variant</a>, function in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
</dt>
<dd></dd>
<a name="idxF"></a><h3 class="title">F</h3>
<dt>
-<a class="link" href="gumd-Gum-File.html#GumFileUpdateCB" title="GumFileUpdateCB ()">GumFileUpdateCB</a>, user_function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#GumFileUpdateCB" title="GumFileUpdateCB ()">GumFileUpdateCB</a>, user_function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-close-db-files" title="gum_file_close_db_files ()">gum_file_close_db_files</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-close-db-files" title="gum_file_close_db_files ()">gum_file_close_db_files</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-create-home-dir" title="gum_file_create_home_dir ()">gum_file_create_home_dir</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-create-home-dir" title="gum_file_create_home_dir ()">gum_file_create_home_dir</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-delete-home-dir" title="gum_file_delete_home_dir ()">gum_file_delete_home_dir</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-delete-home-dir" title="gum_file_delete_home_dir ()">gum_file_delete_home_dir</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-find-user-by-gid" title="gum_file_find_user_by_gid ()">gum_file_find_user_by_gid</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-find-user-by-gid" title="gum_file_find_user_by_gid ()">gum_file_find_user_by_gid</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-getgrgid" title="gum_file_getgrgid ()">gum_file_getgrgid</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-getgrgid" title="gum_file_getgrgid ()">gum_file_getgrgid</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-getgrnam" title="gum_file_getgrnam ()">gum_file_getgrnam</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-getgrnam" title="gum_file_getgrnam ()">gum_file_getgrnam</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-getpwnam" title="gum_file_getpwnam ()">gum_file_getpwnam</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-getpwnam" title="gum_file_getpwnam ()">gum_file_getpwnam</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-getpwuid" title="gum_file_getpwuid ()">gum_file_getpwuid</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-getpwuid" title="gum_file_getpwuid ()">gum_file_getpwuid</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-getsgnam" title="gum_file_getsgnam ()">gum_file_getsgnam</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-getsgnam" title="gum_file_getsgnam ()">gum_file_getsgnam</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-getspnam" title="gum_file_getspnam ()">gum_file_getspnam</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-getspnam" title="gum_file_getspnam ()">gum_file_getspnam</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-new-path" title="gum_file_new_path ()">gum_file_new_path</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-new-path" title="gum_file_new_path ()">gum_file_new_path</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-open-db-files" title="gum_file_open_db_files ()">gum_file_open_db_files</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-open-db-files" title="gum_file_open_db_files ()">gum_file_open_db_files</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-File.html#gum-file-update" title="gum_file_update ()">gum_file_update</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
+<a class="link" href="gumd-Gum-File.html#gum-file-update" title="gum_file_update ()">gum_file_update</a>, function in <a class="link" href="gumd-Gum-File.html" title="Gum File">Gum File</a>
</dt>
<dd></dd>
<a name="idxG"></a><h3 class="title">G</h3>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#GumGroup-struct" title="struct GumGroup">GumGroup</a>, struct in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
-</dt>
-<dd></dd>
-<dt>
-<a class="link" href="GumGroup.html#GumGroup--gid" title='The "gid" property'>GumGroup:gid</a>, object property in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#GumGroup--gid" title="The “gid” property">GumGroup:gid</a>, object property in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#GumGroup--groupname" title='The "groupname" property'>GumGroup:groupname</a>, object property in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#GumGroup--groupname" title="The “groupname” property">GumGroup:groupname</a>, object property in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#GumGroup--grouptype" title='The "grouptype" property'>GumGroup:grouptype</a>, object property in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#GumGroup--grouptype" title="The “grouptype” property">GumGroup:grouptype</a>, object property in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#GumGroup--secret" title='The "secret" property'>GumGroup:secret</a>, object property in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#GumGroup--secret" title="The “secret” property">GumGroup:secret</a>, object property in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()">GumGroupCb</a>, user_function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
-</dt>
-<dd></dd>
-<dt>
-<a class="link" href="GumGroup.html#GumGroupClass" title="struct GumGroupClass">GumGroupClass</a>, struct in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#GumGroupCb" title="GumGroupCb ()">GumGroupCb</a>, user_function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-add" title="gum_group_add ()">gum_group_add</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-add" title="gum_group_add ()">gum_group_add</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-add-member" title="gum_group_add_member ()">gum_group_add_member</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-add-member" title="gum_group_add_member ()">gum_group_add_member</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-add-member-sync" title="gum_group_add_member_sync ()">gum_group_add_member_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-add-member-sync" title="gum_group_add_member_sync ()">gum_group_add_member_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-add-sync" title="gum_group_add_sync ()">gum_group_add_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-add-sync" title="gum_group_add_sync ()">gum_group_add_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-create" title="gum_group_create ()">gum_group_create</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-create" title="gum_group_create ()">gum_group_create</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-create-sync" title="gum_group_create_sync ()">gum_group_create_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-create-sync" title="gum_group_create_sync ()">gum_group_create_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-delete" title="gum_group_delete ()">gum_group_delete</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-delete" title="gum_group_delete ()">gum_group_delete</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-delete-member" title="gum_group_delete_member ()">gum_group_delete_member</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-delete-member" title="gum_group_delete_member ()">gum_group_delete_member</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-delete-member-sync" title="gum_group_delete_member_sync ()">gum_group_delete_member_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-delete-member-sync" title="gum_group_delete_member_sync ()">gum_group_delete_member_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-delete-sync" title="gum_group_delete_sync ()">gum_group_delete_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-delete-sync" title="gum_group_delete_sync ()">gum_group_delete_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-get" title="gum_group_get ()">gum_group_get</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-get" title="gum_group_get ()">gum_group_get</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-get-by-name" title="gum_group_get_by_name ()">gum_group_get_by_name</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-get-by-name" title="gum_group_get_by_name ()">gum_group_get_by_name</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-get-by-name-sync" title="gum_group_get_by_name_sync ()">gum_group_get_by_name_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-get-by-name-sync" title="gum_group_get_by_name_sync ()">gum_group_get_by_name_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-get-sync" title="gum_group_get_sync ()">gum_group_get_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-get-sync" title="gum_group_get_sync ()">gum_group_get_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-update" title="gum_group_update ()">gum_group_update</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-update" title="gum_group_update ()">gum_group_update</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumGroup.html#gum-group-update-sync" title="gum_group_update_sync ()">gum_group_update_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
+<a class="link" href="GumGroup.html#gum-group-update-sync" title="gum_group_update_sync ()">gum_group_update_sync</a>, function in <a class="link" href="GumGroup.html" title="GumGroup">GumGroup</a>
</dt>
<dd></dd>
<a name="idxI"></a><h3 class="title">I</h3>
<dd></dd>
<a name="idxL"></a><h3 class="title">L</h3>
<dt>
-<a class="link" href="gumd-Gum-Lock.html#gum-lock-pwdf-lock" title="gum_lock_pwdf_lock ()">gum_lock_pwdf_lock</a>, function in <a class="link" href="gumd-Gum-Lock.html" title="Gum Lock">Gum Lock</a>
+<a class="link" href="gumd-Gum-Lock.html#gum-lock-pwdf-lock" title="gum_lock_pwdf_lock ()">gum_lock_pwdf_lock</a>, function in <a class="link" href="gumd-Gum-Lock.html" title="Gum Lock">Gum Lock</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-Lock.html#gum-lock-pwdf-unlock" title="gum_lock_pwdf_unlock ()">gum_lock_pwdf_unlock</a>, function in <a class="link" href="gumd-Gum-Lock.html" title="Gum Lock">Gum Lock</a>
+<a class="link" href="gumd-Gum-Lock.html#gum-lock-pwdf-unlock" title="gum_lock_pwdf_unlock ()">gum_lock_pwdf_unlock</a>, function in <a class="link" href="gumd-Gum-Lock.html" title="Gum Lock">Gum Lock</a>
</dt>
<dd></dd>
<a name="idxN"></a><h3 class="title">N</h3>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-append-string" title="gum_string_utils_append_string ()">gum_string_utils_append_string</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-append-string" title="gum_string_utils_append_string ()">gum_string_utils_append_string</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-delete-string" title="gum_string_utils_delete_string ()">gum_string_utils_delete_string</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-delete-string" title="gum_string_utils_delete_string ()">gum_string_utils_delete_string</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-get-string" title="gum_string_utils_get_string ()">gum_string_utils_get_string</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-get-string" title="gum_string_utils_get_string ()">gum_string_utils_get_string</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-insert-string" title="gum_string_utils_insert_string ()">gum_string_utils_insert_string</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-insert-string" title="gum_string_utils_insert_string ()">gum_string_utils_insert_string</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-search-string" title="gum_string_utils_search_string ()">gum_string_utils_search_string</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-search-string" title="gum_string_utils_search_string ()">gum_string_utils_search_string</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-search-stringv" title="gum_string_utils_search_stringv ()">gum_string_utils_search_stringv</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-search-stringv" title="gum_string_utils_search_stringv ()">gum_string_utils_search_stringv</a>, function in <a class="link" href="gumd-Gum-String-Utils.html" title="Gum String Utils">Gum String Utils</a>
</dt>
<dd></dd>
<dt>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUser-struct" title="struct GumUser">GumUser</a>, struct in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
-</dt>
-<dd></dd>
-<dt>
-<a class="link" href="GumUser.html#GumUser--gid" title='The "gid" property'>GumUser:gid</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
-</dt>
-<dd></dd>
-<dt>
-<a class="link" href="GumUser.html#GumUser--homedir" title='The "homedir" property'>GumUser:homedir</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--gid" title="The “gid” property">GumUser:gid</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUser--homephone" title='The "homephone" property'>GumUser:homephone</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--homedir" title="The “homedir” property">GumUser:homedir</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUser--nickname" title='The "nickname" property'>GumUser:nickname</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--homephone" title="The “homephone” property">GumUser:homephone</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUser--office" title='The "office" property'>GumUser:office</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--nickname" title="The “nickname” property">GumUser:nickname</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUser--officephone" title='The "officephone" property'>GumUser:officephone</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--office" title="The “office” property">GumUser:office</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUser--realname" title='The "realname" property'>GumUser:realname</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--officephone" title="The “officephone” property">GumUser:officephone</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUser--secret" title='The "secret" property'>GumUser:secret</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--realname" title="The “realname” property">GumUser:realname</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUser--shell" title='The "shell" property'>GumUser:shell</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--secret" title="The “secret” property">GumUser:secret</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUser--uid" title='The "uid" property'>GumUser:uid</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--shell" title="The “shell” property">GumUser:shell</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUser--username" title='The "username" property'>GumUser:username</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--uid" title="The “uid” property">GumUser:uid</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUser--usertype" title='The "usertype" property'>GumUser:usertype</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--username" title="The “username” property">GumUser:username</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()">GumUserCb</a>, user_function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUser--usertype" title="The “usertype” property">GumUser:usertype</a>, object property in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#GumUserClass" title="struct GumUserClass">GumUserClass</a>, struct in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#GumUserCb" title="GumUserCb ()">GumUserCb</a>, user_function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-add" title="gum_user_add ()">gum_user_add</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-add" title="gum_user_add ()">gum_user_add</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-add-sync" title="gum_user_add_sync ()">gum_user_add_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-add-sync" title="gum_user_add_sync ()">gum_user_add_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-create" title="gum_user_create ()">gum_user_create</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-create" title="gum_user_create ()">gum_user_create</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-create-sync" title="gum_user_create_sync ()">gum_user_create_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-create-sync" title="gum_user_create_sync ()">gum_user_create_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-delete" title="gum_user_delete ()">gum_user_delete</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-delete" title="gum_user_delete ()">gum_user_delete</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-delete-sync" title="gum_user_delete_sync ()">gum_user_delete_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-delete-sync" title="gum_user_delete_sync ()">gum_user_delete_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-get" title="gum_user_get ()">gum_user_get</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-get" title="gum_user_get ()">gum_user_get</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-get-by-name" title="gum_user_get_by_name ()">gum_user_get_by_name</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-get-by-name" title="gum_user_get_by_name ()">gum_user_get_by_name</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-get-by-name-sync" title="gum_user_get_by_name_sync ()">gum_user_get_by_name_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-get-by-name-sync" title="gum_user_get_by_name_sync ()">gum_user_get_by_name_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-get-sync" title="gum_user_get_sync ()">gum_user_get_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-get-sync" title="gum_user_get_sync ()">gum_user_get_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-update" title="gum_user_update ()">gum_user_update</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-update" title="gum_user_update ()">gum_user_update</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="GumUser.html#gum-user-update-sync" title="gum_user_update_sync ()">gum_user_update_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
+<a class="link" href="GumUser.html#gum-user-update-sync" title="gum_user_update_sync ()">gum_user_update_sync</a>, function in <a class="link" href="GumUser.html" title="GumUser">GumUser</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-Utils.html#gum-utils-drop-privileges" title="gum_utils_drop_privileges ()">gum_utils_drop_privileges</a>, function in <a class="link" href="gumd-Gum-Utils.html" title="Gum Utils">Gum Utils</a>
+<a class="link" href="gumd-Gum-Utils.html#gum-utils-drop-privileges" title="gum_utils_drop_privileges ()">gum_utils_drop_privileges</a>, function in <a class="link" href="gumd-Gum-Utils.html" title="Gum Utils">Gum Utils</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-Utils.html#gum-utils-gain-privileges" title="gum_utils_gain_privileges ()">gum_utils_gain_privileges</a>, function in <a class="link" href="gumd-Gum-Utils.html" title="Gum Utils">Gum Utils</a>
+<a class="link" href="gumd-Gum-Utils.html#gum-utils-gain-privileges" title="gum_utils_gain_privileges ()">gum_utils_gain_privileges</a>, function in <a class="link" href="gumd-Gum-Utils.html" title="Gum Utils">Gum Utils</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-Utils.html#gum-utils-generate-nonce" title="gum_utils_generate_nonce ()">gum_utils_generate_nonce</a>, function in <a class="link" href="gumd-Gum-Utils.html" title="Gum Utils">Gum Utils</a>
+<a class="link" href="gumd-Gum-Utils.html#gum-utils-generate-nonce" title="gum_utils_generate_nonce ()">gum_utils_generate_nonce</a>, function in <a class="link" href="gumd-Gum-Utils.html" title="Gum Utils">Gum Utils</a>
</dt>
<dd></dd>
<a name="idxV"></a><h3 class="title">V</h3>
<dt>
-<a class="link" href="gumd-Gum-Validate.html#gum-validate-db-secret-entry" title="gum_validate_db_secret_entry ()">gum_validate_db_secret_entry</a>, function in <a class="link" href="gumd-Gum-Validate.html" title="Gum Validate">Gum Validate</a>
+<a class="link" href="gumd-Gum-Validate.html#gum-validate-db-secret-entry" title="gum_validate_db_secret_entry ()">gum_validate_db_secret_entry</a>, function in <a class="link" href="gumd-Gum-Validate.html" title="Gum Validate">Gum Validate</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-Validate.html#gum-validate-db-string-entry" title="gum_validate_db_string_entry ()">gum_validate_db_string_entry</a>, function in <a class="link" href="gumd-Gum-Validate.html" title="Gum Validate">Gum Validate</a>
+<a class="link" href="gumd-Gum-Validate.html#gum-validate-db-string-entry" title="gum_validate_db_string_entry ()">gum_validate_db_string_entry</a>, function in <a class="link" href="gumd-Gum-Validate.html" title="Gum Validate">Gum Validate</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-Validate.html#gum-validate-db-string-entry-regx" title="gum_validate_db_string_entry_regx ()">gum_validate_db_string_entry_regx</a>, function in <a class="link" href="gumd-Gum-Validate.html" title="Gum Validate">Gum Validate</a>
+<a class="link" href="gumd-Gum-Validate.html#gum-validate-db-string-entry-regx" title="gum_validate_db_string_entry_regx ()">gum_validate_db_string_entry_regx</a>, function in <a class="link" href="gumd-Gum-Validate.html" title="Gum Validate">Gum Validate</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-Validate.html#gum-validate-generate-username" title="gum_validate_generate_username ()">gum_validate_generate_username</a>, function in <a class="link" href="gumd-Gum-Validate.html" title="Gum Validate">Gum Validate</a>
+<a class="link" href="gumd-Gum-Validate.html#gum-validate-generate-username" title="gum_validate_generate_username ()">gum_validate_generate_username</a>, function in <a class="link" href="gumd-Gum-Validate.html" title="Gum Validate">Gum Validate</a>
</dt>
<dd></dd>
<dt>
-<a class="link" href="gumd-Gum-Validate.html#gum-validate-name" title="gum_validate_name ()">gum_validate_name</a>, function in <a class="link" href="gumd-Gum-Validate.html" title="Gum Validate">Gum Validate</a>
+<a class="link" href="gumd-Gum-Validate.html#gum-validate-name" title="gum_validate_name ()">gum_validate_name</a>, function in <a class="link" href="gumd-Gum-Validate.html" title="Gum Validate">Gum Validate</a>
</dt>
<dd></dd>
<a name="idxW"></a><h3 class="title">W</h3>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Deprecated APIs</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Deprecated APIs</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="index.html" title="gumd API Reference Manual">
<link rel="prev" href="ch04.html" title="Appendices">
<link rel="next" href="ch06.html" title="">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
-<td><a accesskey="p" href="ch04.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td> </td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="ch06.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="ch04.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="ch06.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="chapter">
-<div class="titlepage"><div><div><h2 class="title">
-<a name="idp130032"></a>Deprecated APIs</h2></div></div></div>
+<div class="titlepage"><div><div><h1 class="title">
+<a name="id-1.9"></a>Deprecated APIs</h1></div></div></div>
<a name="idx"></a>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title></title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: </title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="index.html" title="gumd API Reference Manual">
<link rel="prev" href="ch05.html" title="Deprecated APIs">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
-<td><a accesskey="p" href="ch05.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td> </td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td> </td>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="ch05.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><img src="right-insensitive.png" width="16" height="16" border="0"></td>
</tr></table>
<div class="chapter">
<div class="titlepage"></div>
-<div class="toc"><dl><dt><span class="glossary"><a href="ch06.html#annotation-glossary">Annotation Glossary</a></span></dt></dl></div>
+<div class="toc"><dl class="toc"><dt><span class="glossary"><a href="ch06.html#annotation-glossary">Annotation Glossary</a></span></dt></dl></div>
<div class="glossary">
<div class="titlepage"><div><div><h2 class="title">
<a name="annotation-glossary"></a>Annotation Glossary</h2></div></div></div>
<a name="glsT"></a><h3 class="title">T</h3>
-<dt>
-<a name="annotation-glossterm-transfer%20full"></a>transfer full</dt>
-<dd><p>Free data after the code is done.</p></dd>
-<dt>
-<a name="annotation-glossterm-transfer%20none"></a>transfer none</dt>
-<dd><p>Don't free data after the code is done.</p></dd>
+<dt><span class="glossterm"><a name="annotation-glossterm-transfer%20full"></a>transfer full</span></dt>
+<dd class="glossdef"><p>Free data after the code is done.</p></dd>
+<dt><span class="glossterm"><a name="annotation-glossterm-transfer%20none"></a>transfer none</span></dt>
+<dd class="glossdef"><p>Don't free data after the code is done.</p></dd>
</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>DBus configuration</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: DBus configuration</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch01.html" title="Daemon (gumd) configuration">
<link rel="prev" href="gumd-General-configuration.html" title="General configuration">
<link rel="next" href="ch02.html" title="Common">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-General-configuration.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="ch02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-DBus-configuration.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-DBus-configuration.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-DBus-configuration.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-DBus-configuration.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="gumd-General-configuration.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="ch02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-DBus-configuration"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-DBus-configuration.top_of_page"></a>DBus configuration</span></h2>
<p>DBus configuration — gum dbus configuration keys</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-DBus-configuration.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-config.h>
-
-#define <a class="link" href="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-DAEMON-TIMEOUT:CAPS" title="GUM_CONFIG_DBUS_DAEMON_TIMEOUT">GUM_CONFIG_DBUS_DAEMON_TIMEOUT</a>
-#define <a class="link" href="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-GROUP-TIMEOUT:CAPS" title="GUM_CONFIG_DBUS_GROUP_TIMEOUT">GUM_CONFIG_DBUS_GROUP_TIMEOUT</a>
-#define <a class="link" href="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-TIMEOUTS:CAPS" title="GUM_CONFIG_DBUS_TIMEOUTS">GUM_CONFIG_DBUS_TIMEOUTS</a>
-#define <a class="link" href="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-USER-TIMEOUT:CAPS" title="GUM_CONFIG_DBUS_USER_TIMEOUT">GUM_CONFIG_DBUS_USER_TIMEOUT</a>
+<div class="refsect1">
+<a name="gumd-DBus-configuration.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="name">
+<col class="description">
+</colgroup>
+<tbody>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-TIMEOUTS:CAPS" title="GUM_CONFIG_DBUS_TIMEOUTS">GUM_CONFIG_DBUS_TIMEOUTS</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-DAEMON-TIMEOUT:CAPS" title="GUM_CONFIG_DBUS_DAEMON_TIMEOUT">GUM_CONFIG_DBUS_DAEMON_TIMEOUT</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-USER-TIMEOUT:CAPS" title="GUM_CONFIG_DBUS_USER_TIMEOUT">GUM_CONFIG_DBUS_USER_TIMEOUT</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-GROUP-TIMEOUT:CAPS" title="GUM_CONFIG_DBUS_GROUP_TIMEOUT">GUM_CONFIG_DBUS_GROUP_TIMEOUT</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-DBus-configuration.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
</pre>
</div>
<div class="refsect1">
-<a name="gumd-DBus-configuration.description"></a><h2>Description</h2>
-<p>
-DBus configuration keys are defined below. See <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> for how to use
-them.
-</p>
+<a name="gumd-DBus-configuration.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-config.h>
+</pre>
</div>
<div class="refsect1">
-<a name="gumd-DBus-configuration.details"></a><h2>Details</h2>
-<div class="refsect2">
-<a name="GUM-CONFIG-DBUS-DAEMON-TIMEOUT:CAPS"></a><h3>GUM_CONFIG_DBUS_DAEMON_TIMEOUT</h3>
-<pre class="programlisting">#define GUM_CONFIG_DBUS_DAEMON_TIMEOUT</pre>
-<p>
-A timeout in seconds, after which the gum daemon will exit. If not set (or
-set to 0), the daemon will not exit. Has no effect if P2P DBus is in use.
-</p>
-<p>
-Can be overriden in debug builds by setting UM_DAEMON_TIMEOUT environment
-variable.
-</p>
+<a name="gumd-DBus-configuration.description"></a><h2>Description</h2>
+<p>DBus configuration keys are defined below. See <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> for how to use
+them.</p>
</div>
-<hr>
-<div class="refsect2">
-<a name="GUM-CONFIG-DBUS-GROUP-TIMEOUT:CAPS"></a><h3>GUM_CONFIG_DBUS_GROUP_TIMEOUT</h3>
-<pre class="programlisting">#define GUM_CONFIG_DBUS_GROUP_TIMEOUT</pre>
-<p>
-A timeout in seconds, after which inactive group dbus objects will be
-removed. If not set (or set to 0), the dbus objects will persist.
-</p>
-<p>
-Can be overriden in debug builds by setting UM_GROUP_TIMEOUT
-environment variable.
-</p>
+<div class="refsect1">
+<a name="gumd-DBus-configuration.functions_details"></a><h2>Functions</h2>
</div>
-<hr>
+<div class="refsect1">
+<a name="gumd-DBus-configuration.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GUM-CONFIG-DBUS-TIMEOUTS:CAPS"></a><h3>GUM_CONFIG_DBUS_TIMEOUTS</h3>
<pre class="programlisting">#define GUM_CONFIG_DBUS_TIMEOUTS "ObjectTimeouts"
</pre>
-<p>
-A prefix for dbus timeout keys. Should be used only when defining new keys.
-</p>
+<p>A prefix for dbus timeout keys. Should be used only when defining new keys.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="GUM-CONFIG-DBUS-DAEMON-TIMEOUT:CAPS"></a><h3>GUM_CONFIG_DBUS_DAEMON_TIMEOUT</h3>
+<pre class="programlisting">#define GUM_CONFIG_DBUS_DAEMON_TIMEOUT</pre>
+<p>A timeout in seconds, after which the gum daemon will exit. If not set (or
+set to 0), the daemon will not exit. Has no effect if P2P DBus is in use.</p>
+<p>Can be overriden in debug builds by setting UM_DAEMON_TIMEOUT environment
+variable.</p>
</div>
<hr>
<div class="refsect2">
<a name="GUM-CONFIG-DBUS-USER-TIMEOUT:CAPS"></a><h3>GUM_CONFIG_DBUS_USER_TIMEOUT</h3>
<pre class="programlisting">#define GUM_CONFIG_DBUS_USER_TIMEOUT</pre>
-<p>
-A timeout in seconds, after which inactive user dbus objects will be removed.
-If not set (or set to 0), the dbus objects will persist.
-</p>
-<p>
-Can be overriden in debug builds by setting UM_USER_TIMEOUT
-environment variable.
-</p>
+<p>A timeout in seconds, after which inactive user dbus objects will be removed.
+If not set (or set to 0), the dbus objects will persist.</p>
+<p>Can be overriden in debug builds by setting UM_USER_TIMEOUT
+environment variable.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="GUM-CONFIG-DBUS-GROUP-TIMEOUT:CAPS"></a><h3>GUM_CONFIG_DBUS_GROUP_TIMEOUT</h3>
+<pre class="programlisting">#define GUM_CONFIG_DBUS_GROUP_TIMEOUT</pre>
+<p>A timeout in seconds, after which inactive group dbus objects will be
+removed. If not set (or set to 0), the dbus objects will persist.</p>
+<p>Can be overriden in debug builds by setting UM_GROUP_TIMEOUT
+environment variable.</p>
</div>
</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Errors</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Errors</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="gumd-Logging.html" title="Logging">
<link rel="next" href="GumDisposable.html" title="GumDisposable">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-Logging.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="GumDisposable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-Errors.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-Errors.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-Errors.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-Errors.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="gumd-Logging.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="GumDisposable.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-Errors"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-Errors.top_of_page"></a>Errors</span></h2>
<p>Errors — error definitions and utilities</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-Errors.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-error.h>
-
-#define <a class="link" href="gumd-Errors.html#GUM-ERROR:CAPS" title="GUM_ERROR">GUM_ERROR</a>
-#define <a class="link" href="gumd-Errors.html#GUM-GET-ERROR-FOR-ID:CAPS" title="GUM_GET_ERROR_FOR_ID()">GUM_GET_ERROR_FOR_ID</a> (code,
- message,
- ...)
-#define <a class="link" href="gumd-Errors.html#GUM-RETURN-WITH-ERROR:CAPS" title="GUM_RETURN_WITH_ERROR()">GUM_RETURN_WITH_ERROR</a> (code,
- err_str,
- err,
- retval)
-#define <a class="link" href="gumd-Errors.html#GUM-SET-ERROR:CAPS" title="GUM_SET_ERROR()">GUM_SET_ERROR</a> (code,
- err_str,
- err,
- retvar,
- retval)
-enum <a class="link" href="gumd-Errors.html#GumError" title="enum GumError">GumError</a>;
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * <a class="link" href="gumd-Errors.html#gum-error-new-from-variant" title="gum_error_new_from_variant ()">gum_error_new_from_variant</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *var</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="gumd-Errors.html#gum-error-quark" title="gum_error_quark ()">gum_error_quark</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="gumd-Errors.html#gum-error-to-variant" title="gum_error_to_variant ()">gum_error_to_variant</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);
+<div class="refsect1">
+<a name="gumd-Errors.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-Errors.html#GUM-ERROR:CAPS" title="GUM_ERROR">GUM_ERROR</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name">
+<a class="link" href="gumd-Errors.html#GUM-GET-ERROR-FOR-ID:CAPS" title="GUM_GET_ERROR_FOR_ID()">GUM_GET_ERROR_FOR_ID</a><span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name">
+<a class="link" href="gumd-Errors.html#GUM-SET-ERROR:CAPS" title="GUM_SET_ERROR()">GUM_SET_ERROR</a><span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name">
+<a class="link" href="gumd-Errors.html#GUM-RETURN-WITH-ERROR:CAPS" title="GUM_RETURN_WITH_ERROR()">GUM_RETURN_WITH_ERROR</a><span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Errors.html#gum-error-quark" title="gum_error_quark ()">gum_error_quark</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Errors.html#gum-error-new-from-variant" title="gum_error_new_from_variant ()">gum_error_new_from_variant</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Errors.html#gum-error-to-variant" title="gum_error_to_variant ()">gum_error_to_variant</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-Errors.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="name">
+<col class="description">
+</colgroup>
+<tbody><tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="gumd-Errors.html#GumError" title="enum GumError">GumError</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-Errors.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
+</pre>
+</div>
+<div class="refsect1">
+<a name="gumd-Errors.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-error.h>
</pre>
</div>
<div class="refsect1">
<a name="gumd-Errors.description"></a><h2>Description</h2>
-<p>
-This file provides Gum error definitions and utilities.
+<p>This file provides Gum error definitions and utilities.
When creating an error, use <a class="link" href="gumd-Errors.html#GUM-ERROR:CAPS" title="GUM_ERROR"><span class="type">GUM_ERROR</span></a> for the error domain and errors
-from <a class="link" href="gumd-Errors.html#GumError" title="enum GumError"><span class="type">GumError</span></a> for the error code.
-</p>
-<p>
-</p>
+from <a class="link" href="gumd-Errors.html#GumError" title="enum GumError"><span class="type">GumError</span></a> for the error code.</p>
<div class="informalexample"><pre class="programlisting">
GError* err = g_error_new(GUM_ERROR, GUM_ERROR_USER_ALREADY_EXISTS,
"User already exists");
</pre></div>
-<p>
-</p>
+<p></p>
</div>
<div class="refsect1">
-<a name="gumd-Errors.details"></a><h2>Details</h2>
+<a name="gumd-Errors.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="GUM-ERROR:CAPS"></a><h3>GUM_ERROR</h3>
<pre class="programlisting">#define GUM_ERROR (gum_error_quark())
</pre>
-<p>
-This macro should be used when creating a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> (for example with
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#g-error-new"><code class="function">g_error_new()</code></a>).
-</p>
+<p>This macro should be used when creating a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> (for example with
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#g-error-new"><code class="function">g_error_new()</code></a>).</p>
</div>
<hr>
<div class="refsect2">
<a name="GUM-GET-ERROR-FOR-ID:CAPS"></a><h3>GUM_GET_ERROR_FOR_ID()</h3>
<pre class="programlisting">#define GUM_GET_ERROR_FOR_ID(code, message, args...)</pre>
-<p>
-A helper macro that creates a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with the proper gum domain
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<p>A helper macro that creates a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with the proper gum domain</p>
+<div class="refsect3">
+<a name="id-1.5.5.8.3.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
-<td>A <a class="link" href="gumd-Errors.html#GumError" title="enum GumError"><span class="type">GumError</span></a> specifying the error</td>
+<td class="parameter_name"><p>code</p></td>
+<td class="parameter_description"><p>A <a class="link" href="gumd-Errors.html#GumError" title="enum GumError"><span class="type">GumError</span></a> specifying the error</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
-<td>Format string for the error message</td>
+<td class="parameter_name"><p>message</p></td>
+<td class="parameter_description"><p>Format string for the error message</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
-<td>parameters for the error string</td>
+<td class="parameter_name"><p>...</p></td>
+<td class="parameter_description"><p>parameters for the error string</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+</div>
<hr>
<div class="refsect2">
-<a name="GUM-RETURN-WITH-ERROR:CAPS"></a><h3>GUM_RETURN_WITH_ERROR()</h3>
-<pre class="programlisting">#define GUM_RETURN_WITH_ERROR(code, err_str, err, retval)</pre>
-<p>
-A helper macro that creates a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with the proper gum domain, output
-the error message to logs, and returns with specified retval.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="GUM-SET-ERROR:CAPS"></a><h3>GUM_SET_ERROR()</h3>
+<pre class="programlisting">#define GUM_SET_ERROR(code, err_str, err, retvar, retval)</pre>
+<p>A helper macro that creates a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with the proper gum domain, output
+the error message to logs, and sets the specified retval to retvar.</p>
+<div class="refsect3">
+<a name="id-1.5.5.8.4.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
-<td>the error code as listed in <a class="link" href="gumd-Errors.html#GumError" title="enum GumError"><span class="type">GumError</span></a>
-</td>
+<td class="parameter_name"><p>code</p></td>
+<td class="parameter_description"><p>the error code as listed in <a class="link" href="gumd-Errors.html#GumError" title="enum GumError"><span class="type">GumError</span></a></p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>err_str</code></em> :</span></p></td>
-<td>the error message to be set for the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
-</td>
+<td class="parameter_name"><p>err_str</p></td>
+<td class="parameter_description"><p>the error message to be set for the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
-<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
-</td>
+<td class="parameter_name"><p>err</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>retval</code></em> :</span></p></td>
-<td>value to be used on return</td>
+<td class="parameter_name"><p>retvar</p></td>
+<td class="parameter_description"><p>return variable to hold the return value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>retval</p></td>
+<td class="parameter_description"><p>return value to be set to the return variable</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+</div>
<hr>
<div class="refsect2">
-<a name="GUM-SET-ERROR:CAPS"></a><h3>GUM_SET_ERROR()</h3>
-<pre class="programlisting">#define GUM_SET_ERROR(code, err_str, err, retvar, retval)</pre>
-<p>
-A helper macro that creates a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with the proper gum domain, output
-the error message to logs, and sets the specified retval to retvar.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="GUM-RETURN-WITH-ERROR:CAPS"></a><h3>GUM_RETURN_WITH_ERROR()</h3>
+<pre class="programlisting">#define GUM_RETURN_WITH_ERROR(code, err_str, err, retval)</pre>
+<p>A helper macro that creates a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with the proper gum domain, output
+the error message to logs, and returns with specified retval.</p>
+<div class="refsect3">
+<a name="id-1.5.5.8.5.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
-<td>the error code as listed in <a class="link" href="gumd-Errors.html#GumError" title="enum GumError"><span class="type">GumError</span></a>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>err_str</code></em> :</span></p></td>
-<td>the error message to be set for the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
-</td>
+<td class="parameter_name"><p>code</p></td>
+<td class="parameter_description"><p>the error code as listed in <a class="link" href="gumd-Errors.html#GumError" title="enum GumError"><span class="type">GumError</span></a></p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
-<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
-</td>
+<td class="parameter_name"><p>err_str</p></td>
+<td class="parameter_description"><p>the error message to be set for the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>retvar</code></em> :</span></p></td>
-<td>return variable to hold the return value</td>
+<td class="parameter_name"><p>err</p></td>
+<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>retval</code></em> :</span></p></td>
-<td>return value to be set to the return variable</td>
+<td class="parameter_name"><p>retval</p></td>
+<td class="parameter_description"><p>value to be used on return</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-error-quark"></a><h3>gum_error_quark ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
+gum_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>Creates and returns a domain for Gum errors.</p>
+<div class="refsect3">
+<a name="id-1.5.5.8.6.5"></a><h4>Returns</h4>
+<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> for Gum errors</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
+<a name="gum-error-new-from-variant"></a><h3>gum_error_new_from_variant ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
+gum_error_new_from_variant (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *var</code></em>);</pre>
+<p>Converts the GVariant to GError.</p>
+<div class="refsect3">
+<a name="id-1.5.5.8.7.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>var</p></td>
+<td class="parameter_description"><p> instance of <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.5.5.8.7.6"></a><h4>Returns</h4>
+<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> object if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-error-to-variant"></a><h3>gum_error_to_variant ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
+gum_error_to_variant (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
+<p>Converts the GError to GVariant.</p>
+<div class="refsect3">
+<a name="id-1.5.5.8.8.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> instance of <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.5.5.8.8.6"></a><h4>Returns</h4>
+<p> (transfer full) <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> object if successful, NULL otherwise.</p>
+<p></p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="gumd-Errors.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
<a name="GumError"></a><h3>enum GumError</h3>
-<pre class="programlisting">typedef enum {
- GUM_ERROR_NONE,
-
- GUM_ERROR_UNKNOWN = 1,
- GUM_ERROR_INTERNAL_SERVER,
- GUM_ERROR_PERMISSION_DENIED,
-
- GUM_ERROR_USER_ALREADY_EXISTS = 32,
- GUM_ERROR_USER_GROUP_ADD_FAILURE,
- GUM_ERROR_USER_UID_NOT_AVAILABLE,
- GUM_ERROR_USER_INVALID_USER_TYPE,
- GUM_ERROR_USER_SECRET_ENCRYPT_FAILURE,
- GUM_ERROR_USER_NOT_FOUND,
- GUM_ERROR_USER_INVALID_DATA,
- GUM_ERROR_USER_GROUP_DELETE_FAILURE,
- GUM_ERROR_USER_SELF_DESTRUCTION,
- GUM_ERROR_USER_SESSION_TERM_FAILURE,
- GUM_ERROR_USER_NO_CHANGES,
- GUM_ERROR_USER_LOCK_FAILURE,
-
- GUM_ERROR_GROUP_ALREADY_EXISTS = 64,
- GUM_ERROR_GROUP_GID_NOT_AVAILABLE,
- GUM_ERROR_GROUP_INVALID_GROUP_TYPE,
- GUM_ERROR_GROUP_SECRET_ENCRYPT_FAILURE,
- GUM_ERROR_GROUP_NOT_FOUND,
- GUM_ERROR_GROUP_USER_ALREADY_A_MEMBER,
- GUM_ERROR_GROUP_INVALID_DATA,
- GUM_ERROR_GROUP_SELF_DESTRUCTION,
- GUM_ERROR_GROUP_HAS_USER,
- GUM_ERROR_GROUP_NO_CHANGES,
-
- GUM_ERROR_DB_ALREADY_LOCKED = 90,
- GUM_ERROR_FILE_OPEN,
- GUM_ERROR_FILE_ATTRIBUTE,
- GUM_ERROR_FILE_MOVE,
- GUM_ERROR_FILE_WRITE,
- GUM_ERROR_HOME_DIR_CREATE_FAILURE,
- GUM_ERROR_HOME_DIR_DELETE_FAILURE,
- GUM_ERROR_HOME_DIR_COPY_FAILURE,
-
- GUM_ERROR_INVALID_NAME = 120,
- GUM_ERROR_INVALID_NICKNAME,
-
- GUM_ERROR_INVALID_SECRET = 130,
-
- GUM_ERROR_INVALID_STR = 140,
- GUM_ERROR_INVALID_STR_LEN,
-
- GUM_ERROR_INVALID_INPUT = 160,
-
- GUM_ERROR_USER_ERR = 400
-} GumError;
-</pre>
-<p>
-This enumeration provides a list of errors
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<p>This enumeration provides a list of errors</p>
+<div class="refsect3">
+<a name="id-1.5.5.9.2.4"></a><h4>Members</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><a name="GUM-ERROR-NONE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_NONE</code></span></p></td>
-<td>No error
-</td>
-</tr>
-<tr>
-<td><p><a name="GUM-ERROR-UNKNOWN:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_UNKNOWN</code></span></p></td>
-<td>Catch-all for errors not distinguished by another error
-code
+<td class="enum_member_name"><p><a name="GUM-ERROR-NONE:CAPS"></a>GUM_ERROR_NONE</p></td>
+<td class="enum_member_description">
+<p>No error</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-INTERNAL-SERVER:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_INTERNAL_SERVER</code></span></p></td>
-<td>Server internal error
+<td class="enum_member_name"><p><a name="GUM-ERROR-UNKNOWN:CAPS"></a>GUM_ERROR_UNKNOWN</p></td>
+<td class="enum_member_description">
+<p>Catch-all for errors not distinguished by another error
+code</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-PERMISSION-DENIED:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_PERMISSION_DENIED</code></span></p></td>
-<td>The operation cannot be performed due to
-insufficient client permissions
+<td class="enum_member_name"><p><a name="GUM-ERROR-INTERNAL-SERVER:CAPS"></a>GUM_ERROR_INTERNAL_SERVER</p></td>
+<td class="enum_member_description">
+<p>Server internal error</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-ALREADY-EXISTS:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_ALREADY_EXISTS</code></span></p></td>
-<td>User already exists
+<td class="enum_member_name"><p><a name="GUM-ERROR-PERMISSION-DENIED:CAPS"></a>GUM_ERROR_PERMISSION_DENIED</p></td>
+<td class="enum_member_description">
+<p>The operation cannot be performed due to
+insufficient client permissions</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-GROUP-ADD-FAILURE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_GROUP_ADD_FAILURE</code></span></p></td>
-<td>Adding/creating groups for the user
-failure
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-ALREADY-EXISTS:CAPS"></a>GUM_ERROR_USER_ALREADY_EXISTS</p></td>
+<td class="enum_member_description">
+<p>User already exists</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-UID-NOT-AVAILABLE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_UID_NOT_AVAILABLE</code></span></p></td>
-<td>UID not available in the defined range
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-GROUP-ADD-FAILURE:CAPS"></a>GUM_ERROR_USER_GROUP_ADD_FAILURE</p></td>
+<td class="enum_member_description">
+<p>Adding/creating groups for the user
+failure</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-INVALID-USER-TYPE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_INVALID_USER_TYPE</code></span></p></td>
-<td>Usertype is not set
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-UID-NOT-AVAILABLE:CAPS"></a>GUM_ERROR_USER_UID_NOT_AVAILABLE</p></td>
+<td class="enum_member_description">
+<p>UID not available in the defined range</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-SECRET-ENCRYPT-FAILURE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_SECRET_ENCRYPT_FAILURE</code></span></p></td>
-<td>Encryption of secret failure
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-INVALID-USER-TYPE:CAPS"></a>GUM_ERROR_USER_INVALID_USER_TYPE</p></td>
+<td class="enum_member_description">
+<p>Usertype is not set</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_NOT_FOUND</code></span></p></td>
-<td>User not found
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-SECRET-ENCRYPT-FAILURE:CAPS"></a>GUM_ERROR_USER_SECRET_ENCRYPT_FAILURE</p></td>
+<td class="enum_member_description">
+<p>Encryption of secret failure</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-INVALID-DATA:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_INVALID_DATA</code></span></p></td>
-<td>Invalid data provided in the request
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-NOT-FOUND:CAPS"></a>GUM_ERROR_USER_NOT_FOUND</p></td>
+<td class="enum_member_description">
+<p>User not found</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-GROUP-DELETE-FAILURE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_GROUP_DELETE_FAILURE</code></span></p></td>
-<td>Deleting group for the user failure
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-INVALID-DATA:CAPS"></a>GUM_ERROR_USER_INVALID_DATA</p></td>
+<td class="enum_member_description">
+<p>Invalid data provided in the request</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-SELF-DESTRUCTION:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_SELF_DESTRUCTION</code></span></p></td>
-<td>Self-destruction is not allowed
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-GROUP-DELETE-FAILURE:CAPS"></a>GUM_ERROR_USER_GROUP_DELETE_FAILURE</p></td>
+<td class="enum_member_description">
+<p>Deleting group for the user failure</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-SESSION-TERM-FAILURE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_SESSION_TERM_FAILURE</code></span></p></td>
-<td>Session termination of a user failure
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-SELF-DESTRUCTION:CAPS"></a>GUM_ERROR_USER_SELF_DESTRUCTION</p></td>
+<td class="enum_member_description">
+<p>Self-destruction is not allowed</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-NO-CHANGES:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_NO_CHANGES</code></span></p></td>
-<td>No changes specified in the user update request
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-SESSION-TERM-FAILURE:CAPS"></a>GUM_ERROR_USER_SESSION_TERM_FAILURE</p></td>
+<td class="enum_member_description">
+<p>Session termination of a user failure</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-LOCK-FAILURE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_LOCK_FAILURE</code></span></p></td>
-<td>Unable to lock the user account before doing
-any changes
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-NO-CHANGES:CAPS"></a>GUM_ERROR_USER_NO_CHANGES</p></td>
+<td class="enum_member_description">
+<p>No changes specified in the user update request</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-GROUP-ALREADY-EXISTS:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_GROUP_ALREADY_EXISTS</code></span></p></td>
-<td>Group already exists
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-LOCK-FAILURE:CAPS"></a>GUM_ERROR_USER_LOCK_FAILURE</p></td>
+<td class="enum_member_description">
+<p>Unable to lock the user account before doing
+any changes</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-GROUP-GID-NOT-AVAILABLE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_GROUP_GID_NOT_AVAILABLE</code></span></p></td>
-<td>GID mot available in the defined range
+<td class="enum_member_name"><p><a name="GUM-ERROR-GROUP-ALREADY-EXISTS:CAPS"></a>GUM_ERROR_GROUP_ALREADY_EXISTS</p></td>
+<td class="enum_member_description">
+<p>Group already exists</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-GROUP-INVALID-GROUP-TYPE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_GROUP_INVALID_GROUP_TYPE</code></span></p></td>
-<td>Group type not set
+<td class="enum_member_name"><p><a name="GUM-ERROR-GROUP-GID-NOT-AVAILABLE:CAPS"></a>GUM_ERROR_GROUP_GID_NOT_AVAILABLE</p></td>
+<td class="enum_member_description">
+<p>GID mot available in the defined range</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-GROUP-SECRET-ENCRYPT-FAILURE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_GROUP_SECRET_ENCRYPT_FAILURE</code></span></p></td>
-<td>Encryption of group secret failure
+<td class="enum_member_name"><p><a name="GUM-ERROR-GROUP-INVALID-GROUP-TYPE:CAPS"></a>GUM_ERROR_GROUP_INVALID_GROUP_TYPE</p></td>
+<td class="enum_member_description">
+<p>Group type not set</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-GROUP-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_GROUP_NOT_FOUND</code></span></p></td>
-<td>Group not found
+<td class="enum_member_name"><p><a name="GUM-ERROR-GROUP-SECRET-ENCRYPT-FAILURE:CAPS"></a>GUM_ERROR_GROUP_SECRET_ENCRYPT_FAILURE</p></td>
+<td class="enum_member_description">
+<p>Encryption of group secret failure</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-GROUP-USER-ALREADY-A-MEMBER:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_GROUP_USER_ALREADY_A_MEMBER</code></span></p></td>
-<td>User is already a member of the group
+<td class="enum_member_name"><p><a name="GUM-ERROR-GROUP-NOT-FOUND:CAPS"></a>GUM_ERROR_GROUP_NOT_FOUND</p></td>
+<td class="enum_member_description">
+<p>Group not found</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-GROUP-INVALID-DATA:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_GROUP_INVALID_DATA</code></span></p></td>
-<td>Invalid data is specified in the request
+<td class="enum_member_name"><p><a name="GUM-ERROR-GROUP-USER-ALREADY-A-MEMBER:CAPS"></a>GUM_ERROR_GROUP_USER_ALREADY_A_MEMBER</p></td>
+<td class="enum_member_description">
+<p>User is already a member of the group</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-GROUP-SELF-DESTRUCTION:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_GROUP_SELF_DESTRUCTION</code></span></p></td>
-<td>Self-destruction is not allowed
+<td class="enum_member_name"><p><a name="GUM-ERROR-GROUP-INVALID-DATA:CAPS"></a>GUM_ERROR_GROUP_INVALID_DATA</p></td>
+<td class="enum_member_description">
+<p>Invalid data is specified in the request</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-GROUP-HAS-USER:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_GROUP_HAS_USER</code></span></p></td>
-<td>Group has (other) user(s)
+<td class="enum_member_name"><p><a name="GUM-ERROR-GROUP-SELF-DESTRUCTION:CAPS"></a>GUM_ERROR_GROUP_SELF_DESTRUCTION</p></td>
+<td class="enum_member_description">
+<p>Self-destruction is not allowed</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-GROUP-NO-CHANGES:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_GROUP_NO_CHANGES</code></span></p></td>
-<td>No changes specified in the group update request
+<td class="enum_member_name"><p><a name="GUM-ERROR-GROUP-HAS-USER:CAPS"></a>GUM_ERROR_GROUP_HAS_USER</p></td>
+<td class="enum_member_description">
+<p>Group has (other) user(s)</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-DB-ALREADY-LOCKED:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_DB_ALREADY_LOCKED</code></span></p></td>
-<td>Database is already locked
+<td class="enum_member_name"><p><a name="GUM-ERROR-GROUP-NO-CHANGES:CAPS"></a>GUM_ERROR_GROUP_NO_CHANGES</p></td>
+<td class="enum_member_description">
+<p>No changes specified in the group update request</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-FILE-OPEN:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_FILE_OPEN</code></span></p></td>
-<td>File open error
+<td class="enum_member_name"><p><a name="GUM-ERROR-DB-ALREADY-LOCKED:CAPS"></a>GUM_ERROR_DB_ALREADY_LOCKED</p></td>
+<td class="enum_member_description">
+<p>Database is already locked</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-FILE-ATTRIBUTE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_FILE_ATTRIBUTE</code></span></p></td>
-<td>File attribute error
+<td class="enum_member_name"><p><a name="GUM-ERROR-FILE-OPEN:CAPS"></a>GUM_ERROR_FILE_OPEN</p></td>
+<td class="enum_member_description">
+<p>File open error</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-FILE-MOVE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_FILE_MOVE</code></span></p></td>
-<td>File move error
+<td class="enum_member_name"><p><a name="GUM-ERROR-FILE-ATTRIBUTE:CAPS"></a>GUM_ERROR_FILE_ATTRIBUTE</p></td>
+<td class="enum_member_description">
+<p>File attribute error</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-FILE-WRITE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_FILE_WRITE</code></span></p></td>
-<td>File write error
+<td class="enum_member_name"><p><a name="GUM-ERROR-FILE-MOVE:CAPS"></a>GUM_ERROR_FILE_MOVE</p></td>
+<td class="enum_member_description">
+<p>File move error</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-HOME-DIR-CREATE-FAILURE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_HOME_DIR_CREATE_FAILURE</code></span></p></td>
-<td>Directory create failure
+<td class="enum_member_name"><p><a name="GUM-ERROR-FILE-WRITE:CAPS"></a>GUM_ERROR_FILE_WRITE</p></td>
+<td class="enum_member_description">
+<p>File write error</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-HOME-DIR-DELETE-FAILURE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_HOME_DIR_DELETE_FAILURE</code></span></p></td>
-<td>Directory delete failure
+<td class="enum_member_name"><p><a name="GUM-ERROR-HOME-DIR-CREATE-FAILURE:CAPS"></a>GUM_ERROR_HOME_DIR_CREATE_FAILURE</p></td>
+<td class="enum_member_description">
+<p>Directory create failure</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-HOME-DIR-COPY-FAILURE:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_HOME_DIR_COPY_FAILURE</code></span></p></td>
-<td>Directory copy failure
+<td class="enum_member_name"><p><a name="GUM-ERROR-HOME-DIR-DELETE-FAILURE:CAPS"></a>GUM_ERROR_HOME_DIR_DELETE_FAILURE</p></td>
+<td class="enum_member_description">
+<p>Directory delete failure</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-INVALID-NAME:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_INVALID_NAME</code></span></p></td>
-<td>Invalid name specified
+<td class="enum_member_name"><p><a name="GUM-ERROR-HOME-DIR-COPY-FAILURE:CAPS"></a>GUM_ERROR_HOME_DIR_COPY_FAILURE</p></td>
+<td class="enum_member_description">
+<p>Directory copy failure</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-INVALID-NICKNAME:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_INVALID_NICKNAME</code></span></p></td>
-<td>Invalid nickname specified
+<td class="enum_member_name"><p><a name="GUM-ERROR-INVALID-NAME:CAPS"></a>GUM_ERROR_INVALID_NAME</p></td>
+<td class="enum_member_description">
+<p>Invalid name specified</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-INVALID-SECRET:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_INVALID_SECRET</code></span></p></td>
-<td>Invalid secret specified
+<td class="enum_member_name"><p><a name="GUM-ERROR-INVALID-NICKNAME:CAPS"></a>GUM_ERROR_INVALID_NICKNAME</p></td>
+<td class="enum_member_description">
+<p>Invalid nickname specified</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-INVALID-STR:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_INVALID_STR</code></span></p></td>
-<td>Invalid string specified
+<td class="enum_member_name"><p><a name="GUM-ERROR-INVALID-SECRET:CAPS"></a>GUM_ERROR_INVALID_SECRET</p></td>
+<td class="enum_member_description">
+<p>Invalid secret specified</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-INVALID-STR-LEN:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_INVALID_STR_LEN</code></span></p></td>
-<td>Invalid string length
+<td class="enum_member_name"><p><a name="GUM-ERROR-INVALID-STR:CAPS"></a>GUM_ERROR_INVALID_STR</p></td>
+<td class="enum_member_description">
+<p>Invalid string specified</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-INVALID-INPUT:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_INVALID_INPUT</code></span></p></td>
-<td>Invalid input specified
+<td class="enum_member_name"><p><a name="GUM-ERROR-INVALID-STR-LEN:CAPS"></a>GUM_ERROR_INVALID_STR_LEN</p></td>
+<td class="enum_member_description">
+<p>Invalid string length</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-ERROR-USER-ERR:CAPS"></a><span class="term"><code class="literal">GUM_ERROR_USER_ERR</code></span></p></td>
-<td>Placeholder to rearrange enumeration - User space
-specific
-</td>
-</tr>
-</tbody>
-</table></div>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gum-error-new-from-variant"></a><h3>gum_error_new_from_variant ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * gum_error_new_from_variant (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *var</code></em>);</pre>
-<p>
-Converts the GVariant to GError.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>var</code></em> :</span></p></td>
-<td>instance of <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="enum_member_name"><p><a name="GUM-ERROR-INVALID-INPUT:CAPS"></a>GUM_ERROR_INVALID_INPUT</p></td>
+<td class="enum_member_description">
+<p>Invalid input specified</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> object if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
+<td class="enum_member_name"><p><a name="GUM-ERROR-USER-ERR:CAPS"></a>GUM_ERROR_USER_ERR</p></td>
+<td class="enum_member_description">
+<p>Placeholder to rearrange enumeration - User space
+specific</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
-<hr>
-<div class="refsect2">
-<a name="gum-error-quark"></a><h3>gum_error_quark ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> gum_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
-<p>
-Creates and returns a domain for Gum errors.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> for Gum errors</td>
-</tr></tbody>
-</table></div>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gum-error-to-variant"></a><h3>gum_error_to_variant ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * gum_error_to_variant (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
-<p>
-Converts the GError to GVariant.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>instance of <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>(transfer full) <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> object if successful, NULL otherwise.</td>
-</tr>
-</tbody>
-</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>General configuration</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: General configuration</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch01.html" title="Daemon (gumd) configuration">
<link rel="prev" href="GumConfig.html" title="GumConfig">
<link rel="next" href="gumd-DBus-configuration.html" title="DBus configuration">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="GumConfig.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-DBus-configuration.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-General-configuration.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-General-configuration.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-General-configuration.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-General-configuration.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="GumConfig.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-DBus-configuration.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-General-configuration"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-General-configuration.top_of_page"></a>General configuration</span></h2>
<p>General configuration — gum general configuration keys</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-General-configuration.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-config.h>
-
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL:CAPS" title="GUM_CONFIG_GENERAL">GUM_CONFIG_GENERAL</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-DEF-ADMIN-GROUPS:CAPS" title="GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS">GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-DEF-USR-GROUPS:CAPS" title="GUM_CONFIG_GENERAL_DEF_USR_GROUPS">GUM_CONFIG_GENERAL_DEF_USR_GROUPS</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-ENCRYPT-METHOD:CAPS" title="GUM_CONFIG_GENERAL_ENCRYPT_METHOD">GUM_CONFIG_GENERAL_ENCRYPT_METHOD</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MAX:CAPS" title="GUM_CONFIG_GENERAL_GID_MAX">GUM_CONFIG_GENERAL_GID_MAX</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MIN:CAPS" title="GUM_CONFIG_GENERAL_GID_MIN">GUM_CONFIG_GENERAL_GID_MIN</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GROUP-FILE:CAPS" title="GUM_CONFIG_GENERAL_GROUP_FILE">GUM_CONFIG_GENERAL_GROUP_FILE</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GSHADOW-FILE:CAPS" title="GUM_CONFIG_GENERAL_GSHADOW_FILE">GUM_CONFIG_GENERAL_GSHADOW_FILE</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-HOME-DIR-PREF:CAPS" title="GUM_CONFIG_GENERAL_HOME_DIR_PREF">GUM_CONFIG_GENERAL_HOME_DIR_PREF</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASSWD-FILE:CAPS" title="GUM_CONFIG_GENERAL_PASSWD_FILE">GUM_CONFIG_GENERAL_PASSWD_FILE</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MAX-DAYS:CAPS" title="GUM_CONFIG_GENERAL_PASS_MAX_DAYS">GUM_CONFIG_GENERAL_PASS_MAX_DAYS</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MIN-DAYS:CAPS" title="GUM_CONFIG_GENERAL_PASS_MIN_DAYS">GUM_CONFIG_GENERAL_PASS_MIN_DAYS</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-WARN-AGE:CAPS" title="GUM_CONFIG_GENERAL_PASS_WARN_AGE">GUM_CONFIG_GENERAL_PASS_WARN_AGE</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SHADOW-FILE:CAPS" title="GUM_CONFIG_GENERAL_SHADOW_FILE">GUM_CONFIG_GENERAL_SHADOW_FILE</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SHELL:CAPS" title="GUM_CONFIG_GENERAL_SHELL">GUM_CONFIG_GENERAL_SHELL</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SKEL-DIR:CAPS" title="GUM_CONFIG_GENERAL_SKEL_DIR">GUM_CONFIG_GENERAL_SKEL_DIR</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-NEW-FILES:CAPS" title="GUM_CONFIG_GENERAL_SMACK64_NEW_FILES">GUM_CONFIG_GENERAL_SMACK64_NEW_FILES</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-USER-FILES:CAPS" title="GUM_CONFIG_GENERAL_SMACK64_USER_FILES">GUM_CONFIG_GENERAL_SMACK64_USER_FILES</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MAX:CAPS" title="GUM_CONFIG_GENERAL_SYS_GID_MAX">GUM_CONFIG_GENERAL_SYS_GID_MAX</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS" title="GUM_CONFIG_GENERAL_SYS_GID_MIN">GUM_CONFIG_GENERAL_SYS_GID_MIN</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_SYS_UID_MAX">GUM_CONFIG_GENERAL_SYS_UID_MAX</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS" title="GUM_CONFIG_GENERAL_SYS_UID_MIN">GUM_CONFIG_GENERAL_SYS_UID_MIN</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_UID_MAX">GUM_CONFIG_GENERAL_UID_MAX</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MIN:CAPS" title="GUM_CONFIG_GENERAL_UID_MIN">GUM_CONFIG_GENERAL_UID_MIN</a>
-#define <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UMASK:CAPS" title="GUM_CONFIG_GENERAL_UMASK">GUM_CONFIG_GENERAL_UMASK</a>
+<div class="refsect1">
+<a name="gumd-General-configuration.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="name">
+<col class="description">
+</colgroup>
+<tbody>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL:CAPS" title="GUM_CONFIG_GENERAL">GUM_CONFIG_GENERAL</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-DEF-USR-GROUPS:CAPS" title="GUM_CONFIG_GENERAL_DEF_USR_GROUPS">GUM_CONFIG_GENERAL_DEF_USR_GROUPS</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-DEF-ADMIN-GROUPS:CAPS" title="GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS">GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASSWD-FILE:CAPS" title="GUM_CONFIG_GENERAL_PASSWD_FILE">GUM_CONFIG_GENERAL_PASSWD_FILE</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SHADOW-FILE:CAPS" title="GUM_CONFIG_GENERAL_SHADOW_FILE">GUM_CONFIG_GENERAL_SHADOW_FILE</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GROUP-FILE:CAPS" title="GUM_CONFIG_GENERAL_GROUP_FILE">GUM_CONFIG_GENERAL_GROUP_FILE</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GSHADOW-FILE:CAPS" title="GUM_CONFIG_GENERAL_GSHADOW_FILE">GUM_CONFIG_GENERAL_GSHADOW_FILE</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-HOME-DIR-PREF:CAPS" title="GUM_CONFIG_GENERAL_HOME_DIR_PREF">GUM_CONFIG_GENERAL_HOME_DIR_PREF</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SHELL:CAPS" title="GUM_CONFIG_GENERAL_SHELL">GUM_CONFIG_GENERAL_SHELL</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SKEL-DIR:CAPS" title="GUM_CONFIG_GENERAL_SKEL_DIR">GUM_CONFIG_GENERAL_SKEL_DIR</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MIN:CAPS" title="GUM_CONFIG_GENERAL_UID_MIN">GUM_CONFIG_GENERAL_UID_MIN</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_UID_MAX">GUM_CONFIG_GENERAL_UID_MAX</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS" title="GUM_CONFIG_GENERAL_SYS_UID_MIN">GUM_CONFIG_GENERAL_SYS_UID_MIN</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_SYS_UID_MAX">GUM_CONFIG_GENERAL_SYS_UID_MAX</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MIN:CAPS" title="GUM_CONFIG_GENERAL_GID_MIN">GUM_CONFIG_GENERAL_GID_MIN</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MAX:CAPS" title="GUM_CONFIG_GENERAL_GID_MAX">GUM_CONFIG_GENERAL_GID_MAX</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS" title="GUM_CONFIG_GENERAL_SYS_GID_MIN">GUM_CONFIG_GENERAL_SYS_GID_MIN</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MAX:CAPS" title="GUM_CONFIG_GENERAL_SYS_GID_MAX">GUM_CONFIG_GENERAL_SYS_GID_MAX</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MIN-DAYS:CAPS" title="GUM_CONFIG_GENERAL_PASS_MIN_DAYS">GUM_CONFIG_GENERAL_PASS_MIN_DAYS</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MAX-DAYS:CAPS" title="GUM_CONFIG_GENERAL_PASS_MAX_DAYS">GUM_CONFIG_GENERAL_PASS_MAX_DAYS</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-WARN-AGE:CAPS" title="GUM_CONFIG_GENERAL_PASS_WARN_AGE">GUM_CONFIG_GENERAL_PASS_WARN_AGE</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UMASK:CAPS" title="GUM_CONFIG_GENERAL_UMASK">GUM_CONFIG_GENERAL_UMASK</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-ENCRYPT-METHOD:CAPS" title="GUM_CONFIG_GENERAL_ENCRYPT_METHOD">GUM_CONFIG_GENERAL_ENCRYPT_METHOD</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-NEW-FILES:CAPS" title="GUM_CONFIG_GENERAL_SMACK64_NEW_FILES">GUM_CONFIG_GENERAL_SMACK64_NEW_FILES</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-USER-FILES:CAPS" title="GUM_CONFIG_GENERAL_SMACK64_USER_FILES">GUM_CONFIG_GENERAL_SMACK64_USER_FILES</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-General-configuration.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
+</pre>
+</div>
+<div class="refsect1">
+<a name="gumd-General-configuration.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-config.h>
</pre>
</div>
<div class="refsect1">
<a name="gumd-General-configuration.description"></a><h2>Description</h2>
-<p>
-General configuration keys are defined below. See <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> for how to use
-them.
-</p>
+<p>General configuration keys are defined below. See <a class="link" href="GumConfig.html" title="GumConfig"><span class="type">GumConfig</span></a> for how to use
+them.</p>
+</div>
+<div class="refsect1">
+<a name="gumd-General-configuration.functions_details"></a><h2>Functions</h2>
</div>
<div class="refsect1">
-<a name="gumd-General-configuration.details"></a><h2>Details</h2>
+<a name="gumd-General-configuration.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GUM-CONFIG-GENERAL:CAPS"></a><h3>GUM_CONFIG_GENERAL</h3>
<pre class="programlisting">#define GUM_CONFIG_GENERAL "General"
</pre>
-<p>
-A prefix for general keys. Should be used only when defining new keys.
-</p>
-</div>
-<hr>
-<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-DEF-ADMIN-GROUPS:CAPS"></a><h3>GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS</pre>
-<p>
-Comma separate listed of groups, which admin user will be added to at the
-time of admin account creation. Default value is: ''
-</p>
+<p>A prefix for general keys. Should be used only when defining new keys.</p>
</div>
<hr>
<div class="refsect2">
<a name="GUM-CONFIG-GENERAL-DEF-USR-GROUPS:CAPS"></a><h3>GUM_CONFIG_GENERAL_DEF_USR_GROUPS</h3>
<pre class="programlisting">#define GUM_CONFIG_GENERAL_DEF_USR_GROUPS</pre>
-<p>
-Comma separate listed of groups, which every user (other than system user)
+<p>Comma separate listed of groups, which every user (other than system user)
will be added to at the time of user account creation. Default value is:
-''
-</p>
+''</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-ENCRYPT-METHOD:CAPS"></a><h3>GUM_CONFIG_GENERAL_ENCRYPT_METHOD</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_ENCRYPT_METHOD</pre>
-<p>
-Value used to set the encryption algorithm. Default
-value is: 'SHA512'. Other supported options are: 'MD5', 'SHA256', 'DES'.
-</p>
+<a name="GUM-CONFIG-GENERAL-DEF-ADMIN-GROUPS:CAPS"></a><h3>GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS</pre>
+<p>Comma separate listed of groups, which admin user will be added to at the
+time of admin account creation. Default value is: ''</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-GID-MAX:CAPS"></a><h3>GUM_CONFIG_GENERAL_GID_MAX</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_GID_MAX</pre>
-<p>
-Maximum value for the automatic gid selection. Default value is: 60000
-</p>
+<a name="GUM-CONFIG-GENERAL-PASSWD-FILE:CAPS"></a><h3>GUM_CONFIG_GENERAL_PASSWD_FILE</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_PASSWD_FILE</pre>
+<p>Path to passwd file which represents user information. Default is
+/etc/passwd. More information about the file format can be read at the
+manpages for 'passwd'.</p>
+<p>Can be overriden in debug builds by setting UM_PASSWD_FILE
+environment variable.</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-GID-MIN:CAPS"></a><h3>GUM_CONFIG_GENERAL_GID_MIN</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_GID_MIN</pre>
-<p>
-Minimum value for the automatic gid selection. Default value is: 2000
-</p>
+<a name="GUM-CONFIG-GENERAL-SHADOW-FILE:CAPS"></a><h3>GUM_CONFIG_GENERAL_SHADOW_FILE</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_SHADOW_FILE</pre>
+<p>Path to shadow file which represents user shadowed password information.
+Default is /etc/shadow. More information about the file format can be read
+at the manpages for 'shadow'.</p>
+<p>Can be overriden in debug builds by setting UM_SHADOW_FILE
+environment variable.</p>
</div>
<hr>
<div class="refsect2">
<a name="GUM-CONFIG-GENERAL-GROUP-FILE:CAPS"></a><h3>GUM_CONFIG_GENERAL_GROUP_FILE</h3>
<pre class="programlisting">#define GUM_CONFIG_GENERAL_GROUP_FILE</pre>
-<p>
-Path to group file which represents group information. Default is /etc/group.
+<p>Path to group file which represents group information. Default is /etc/group.
More information about the file format can be read at the manpages for
-'group'.
-</p>
-<p>
-Can be overriden in debug builds by setting UM_GROUP_FILE
-environment variable.
-</p>
+'group'.</p>
+<p>Can be overriden in debug builds by setting UM_GROUP_FILE
+environment variable.</p>
</div>
<hr>
<div class="refsect2">
<a name="GUM-CONFIG-GENERAL-GSHADOW-FILE:CAPS"></a><h3>GUM_CONFIG_GENERAL_GSHADOW_FILE</h3>
<pre class="programlisting">#define GUM_CONFIG_GENERAL_GSHADOW_FILE</pre>
-<p>
-Path to group file which represents shadowed group information.
+<p>Path to group file which represents shadowed group information.
Default is /etc/gshadow. More information about the file format can be read
-at the manpages for 'gshadow'.
-</p>
-<p>
-Can be overriden in debug builds by setting UM_GSHADOW_FILE
-environment variable.
-</p>
+at the manpages for 'gshadow'.</p>
+<p>Can be overriden in debug builds by setting UM_GSHADOW_FILE
+environment variable.</p>
</div>
<hr>
<div class="refsect2">
<a name="GUM-CONFIG-GENERAL-HOME-DIR-PREF:CAPS"></a><h3>GUM_CONFIG_GENERAL_HOME_DIR_PREF</h3>
<pre class="programlisting">#define GUM_CONFIG_GENERAL_HOME_DIR_PREF</pre>
-<p>
-Prefix to be used when creating home directory for the user. For example,
+<p>Prefix to be used when creating home directory for the user. For example,
with prefix '/home', user 'newu' home directory will be created as
-'/home/newu'. Default value is '/home'
-</p>
-<p>
-Can be overriden in debug builds by setting UM_HOMEDIR_PREFIX
-environment variable.
-</p>
+'/home/newu'. Default value is '/home'</p>
+<p>Can be overriden in debug builds by setting UM_HOMEDIR_PREFIX
+environment variable.</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-PASSWD-FILE:CAPS"></a><h3>GUM_CONFIG_GENERAL_PASSWD_FILE</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_PASSWD_FILE</pre>
-<p>
-Path to passwd file which represents user information. Default is
-/etc/passwd. More information about the file format can be read at the
-manpages for 'passwd'.
-</p>
-<p>
-Can be overriden in debug builds by setting UM_PASSWD_FILE
-environment variable.
-</p>
+<a name="GUM-CONFIG-GENERAL-SHELL:CAPS"></a><h3>GUM_CONFIG_GENERAL_SHELL</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_SHELL</pre>
+<p>Path to user shell executable. Default value is '/bin/bash'</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-PASS-MAX-DAYS:CAPS"></a><h3>GUM_CONFIG_GENERAL_PASS_MAX_DAYS</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_PASS_MAX_DAYS</pre>
-<p>
-Maximum number of days allowed between password changes. Default value is:
-99999
-</p>
+<a name="GUM-CONFIG-GENERAL-SKEL-DIR:CAPS"></a><h3>GUM_CONFIG_GENERAL_SKEL_DIR</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_SKEL_DIR</pre>
+<p>Path to skeleton folder. When new users are created, contents of the skel
+folder is copied to user home directory. Default value is '/etc/skel'</p>
+<p>Can be overriden in debug builds by setting UM_SKEL_DIR
+environment variable.</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-PASS-MIN-DAYS:CAPS"></a><h3>GUM_CONFIG_GENERAL_PASS_MIN_DAYS</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_PASS_MIN_DAYS</pre>
-<p>
-Minimum number of days a password may be used. Default value is: 0
-</p>
+<a name="GUM-CONFIG-GENERAL-UID-MIN:CAPS"></a><h3>GUM_CONFIG_GENERAL_UID_MIN</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_UID_MIN</pre>
+<p>Minimum value for the automatic uid selection. Default value is: 2000</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-PASS-WARN-AGE:CAPS"></a><h3>GUM_CONFIG_GENERAL_PASS_WARN_AGE</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_PASS_WARN_AGE</pre>
-<p>
-Number of days warning given before a password expires. Default value is:
-7
-</p>
+<a name="GUM-CONFIG-GENERAL-UID-MAX:CAPS"></a><h3>GUM_CONFIG_GENERAL_UID_MAX</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_UID_MAX</pre>
+<p>Maximum value for the automatic uid selection. Default value is: 60000</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-SHADOW-FILE:CAPS"></a><h3>GUM_CONFIG_GENERAL_SHADOW_FILE</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_SHADOW_FILE</pre>
-<p>
-Path to shadow file which represents user shadowed password information.
-Default is /etc/shadow. More information about the file format can be read
-at the manpages for 'shadow'.
-</p>
-<p>
-Can be overriden in debug builds by setting UM_SHADOW_FILE
-environment variable.
-</p>
+<a name="GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS"></a><h3>GUM_CONFIG_GENERAL_SYS_UID_MIN</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_SYS_UID_MIN</pre>
+<p>Minimum value for the automatic uid selection for system user. Default
+value is: 200</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-SHELL:CAPS"></a><h3>GUM_CONFIG_GENERAL_SHELL</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_SHELL</pre>
-<p>
-Path to user shell executable. Default value is '/bin/bash'
-</p>
+<a name="GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS"></a><h3>GUM_CONFIG_GENERAL_SYS_UID_MAX</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_SYS_UID_MAX</pre>
+<p>Maximum value for the automatic uid selection for system user. Default value
+is: 999</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-SKEL-DIR:CAPS"></a><h3>GUM_CONFIG_GENERAL_SKEL_DIR</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_SKEL_DIR</pre>
-<p>
-Path to skeleton folder. When new users are created, contents of the skel
-folder is copied to user home directory. Default value is '/etc/skel'
-</p>
-<p>
-Can be overriden in debug builds by setting UM_SKEL_DIR
-environment variable.
-</p>
+<a name="GUM-CONFIG-GENERAL-GID-MIN:CAPS"></a><h3>GUM_CONFIG_GENERAL_GID_MIN</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_GID_MIN</pre>
+<p>Minimum value for the automatic gid selection. Default value is: 2000</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-SMACK64-NEW-FILES:CAPS"></a><h3>GUM_CONFIG_GENERAL_SMACK64_NEW_FILES</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_SMACK64_NEW_FILES</pre>
-<p>
-Value used to set the smack label for newly created files and folders.
-</p>
+<a name="GUM-CONFIG-GENERAL-GID-MAX:CAPS"></a><h3>GUM_CONFIG_GENERAL_GID_MAX</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_GID_MAX</pre>
+<p>Maximum value for the automatic gid selection. Default value is: 60000</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-SMACK64-USER-FILES:CAPS"></a><h3>GUM_CONFIG_GENERAL_SMACK64_USER_FILES</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_SMACK64_USER_FILES</pre>
-<p>
-Value used to set the smack label for User files and folders.
-</p>
+<a name="GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS"></a><h3>GUM_CONFIG_GENERAL_SYS_GID_MIN</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_SYS_GID_MIN</pre>
+<p>Minimum value for the automatic gid selection for system user. Default value
+is: 200</p>
</div>
<hr>
<div class="refsect2">
<a name="GUM-CONFIG-GENERAL-SYS-GID-MAX:CAPS"></a><h3>GUM_CONFIG_GENERAL_SYS_GID_MAX</h3>
<pre class="programlisting">#define GUM_CONFIG_GENERAL_SYS_GID_MAX</pre>
-<p>
-Maximum value for the automatic gid selection for system user. Default value
-is: 999
-</p>
+<p>Maximum value for the automatic gid selection for system user. Default value
+is: 999</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS"></a><h3>GUM_CONFIG_GENERAL_SYS_GID_MIN</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_SYS_GID_MIN</pre>
-<p>
-Minimum value for the automatic gid selection for system user. Default value
-is: 200
-</p>
+<a name="GUM-CONFIG-GENERAL-PASS-MIN-DAYS:CAPS"></a><h3>GUM_CONFIG_GENERAL_PASS_MIN_DAYS</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_PASS_MIN_DAYS</pre>
+<p>Minimum number of days a password may be used. Default value is: 0</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS"></a><h3>GUM_CONFIG_GENERAL_SYS_UID_MAX</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_SYS_UID_MAX</pre>
-<p>
-Maximum value for the automatic uid selection for system user. Default value
-is: 999
-</p>
+<a name="GUM-CONFIG-GENERAL-PASS-MAX-DAYS:CAPS"></a><h3>GUM_CONFIG_GENERAL_PASS_MAX_DAYS</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_PASS_MAX_DAYS</pre>
+<p>Maximum number of days allowed between password changes. Default value is:
+99999</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS"></a><h3>GUM_CONFIG_GENERAL_SYS_UID_MIN</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_SYS_UID_MIN</pre>
-<p>
-Minimum value for the automatic uid selection for system user. Default
-value is: 200
-</p>
+<a name="GUM-CONFIG-GENERAL-PASS-WARN-AGE:CAPS"></a><h3>GUM_CONFIG_GENERAL_PASS_WARN_AGE</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_PASS_WARN_AGE</pre>
+<p>Number of days warning given before a password expires. Default value is:
+7</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-UID-MAX:CAPS"></a><h3>GUM_CONFIG_GENERAL_UID_MAX</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_UID_MAX</pre>
-<p>
-Maximum value for the automatic uid selection. Default value is: 60000
-</p>
+<a name="GUM-CONFIG-GENERAL-UMASK:CAPS"></a><h3>GUM_CONFIG_GENERAL_UMASK</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_UMASK</pre>
+<p>Value used to set the mode of home directories created for new users.
+Default value is: 022</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-UID-MIN:CAPS"></a><h3>GUM_CONFIG_GENERAL_UID_MIN</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_UID_MIN</pre>
-<p>
-Minimum value for the automatic uid selection. Default value is: 2000
-</p>
+<a name="GUM-CONFIG-GENERAL-ENCRYPT-METHOD:CAPS"></a><h3>GUM_CONFIG_GENERAL_ENCRYPT_METHOD</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_ENCRYPT_METHOD</pre>
+<p>Value used to set the encryption algorithm. Default
+value is: 'SHA512'. Other supported options are: 'MD5', 'SHA256', 'DES'.</p>
</div>
<hr>
<div class="refsect2">
-<a name="GUM-CONFIG-GENERAL-UMASK:CAPS"></a><h3>GUM_CONFIG_GENERAL_UMASK</h3>
-<pre class="programlisting">#define GUM_CONFIG_GENERAL_UMASK</pre>
-<p>
-Value used to set the mode of home directories created for new users.
-Default value is: 022
-</p>
+<a name="GUM-CONFIG-GENERAL-SMACK64-NEW-FILES:CAPS"></a><h3>GUM_CONFIG_GENERAL_SMACK64_NEW_FILES</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_SMACK64_NEW_FILES</pre>
+<p>Value used to set the smack label for newly created files and folders.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="GUM-CONFIG-GENERAL-SMACK64-USER-FILES:CAPS"></a><h3>GUM_CONFIG_GENERAL_SMACK64_USER_FILES</h3>
+<pre class="programlisting">#define GUM_CONFIG_GENERAL_SMACK64_USER_FILES</pre>
+<p>Value used to set the smack label for User files and folders.</p>
</div>
</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Group types</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Group types</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="gumd-User-types.html" title="User types">
<link rel="next" href="ch03.html" title="Client library (libgum) interface">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-User-types.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="ch03.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-Group-types.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-Group-types.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-Group-types.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-Group-types.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="gumd-User-types.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="ch03.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-Group-types"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-Group-types.top_of_page"></a>Group types</span></h2>
<p>Group types — group types definition</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-Group-types.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">enum <a class="link" href="gumd-Group-types.html#GumGroupType" title="enum GumGroupType">GumGroupType</a>;
+<div class="refsect1">
+<a name="gumd-Group-types.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="name">
+<col class="description">
+</colgroup>
+<tbody><tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="gumd-Group-types.html#GumGroupType" title="enum GumGroupType">GumGroupType</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-Group-types.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
</pre>
</div>
<div class="refsect1">
<a name="gumd-Group-types.description"></a><h2>Description</h2>
-<p>
-This file provides various types of group that can be created by the user
-management framework.
-</p>
+<p>This file provides various types of group that can be created by the user
+management framework.</p>
+</div>
+<div class="refsect1">
+<a name="gumd-Group-types.functions_details"></a><h2>Functions</h2>
</div>
<div class="refsect1">
-<a name="gumd-Group-types.details"></a><h2>Details</h2>
+<a name="gumd-Group-types.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GumGroupType"></a><h3>enum GumGroupType</h3>
-<pre class="programlisting">typedef enum {
- GUM_GROUPTYPE_NONE = 0,
- GUM_GROUPTYPE_SYSTEM = 1,
- GUM_GROUPTYPE_USER = 2
-} GumGroupType;
-</pre>
-<p>
-This enumeration lists group types.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<p>This enumeration lists group types.</p>
+<div class="refsect3">
+<a name="id-1.5.13.7.2.4"></a><h4>Members</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><a name="GUM-GROUPTYPE-NONE:CAPS"></a><span class="term"><code class="literal">GUM_GROUPTYPE_NONE</code></span></p></td>
-<td>group type not defined/set.
+<td class="enum_member_name"><p><a name="GUM-GROUPTYPE-NONE:CAPS"></a>GUM_GROUPTYPE_NONE</p></td>
+<td class="enum_member_description">
+<p>group type not defined/set.</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-GROUPTYPE-SYSTEM:CAPS"></a><span class="term"><code class="literal">GUM_GROUPTYPE_SYSTEM</code></span></p></td>
-<td>system group. Gid will be chosen between
-<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS" title="GUM_CONFIG_GENERAL_SYS_GID_MIN"><span class="type">GUM_CONFIG_GENERAL_SYS_GID_MIN</span></a> and <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MAX:CAPS" title="GUM_CONFIG_GENERAL_SYS_GID_MAX"><span class="type">GUM_CONFIG_GENERAL_SYS_GID_MAX</span></a>
+<td class="enum_member_name"><p><a name="GUM-GROUPTYPE-SYSTEM:CAPS"></a>GUM_GROUPTYPE_SYSTEM</p></td>
+<td class="enum_member_description">
+<p>system group. Gid will be chosen between
+<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS" title="GUM_CONFIG_GENERAL_SYS_GID_MIN"><span class="type">GUM_CONFIG_GENERAL_SYS_GID_MIN</span></a> and <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MAX:CAPS" title="GUM_CONFIG_GENERAL_SYS_GID_MAX"><span class="type">GUM_CONFIG_GENERAL_SYS_GID_MAX</span></a></p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-GROUPTYPE-USER:CAPS"></a><span class="term"><code class="literal">GUM_GROUPTYPE_USER</code></span></p></td>
-<td>user group. Gid will be chosen between
-<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MIN:CAPS" title="GUM_CONFIG_GENERAL_GID_MIN"><span class="type">GUM_CONFIG_GENERAL_GID_MIN</span></a> and <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MAX:CAPS" title="GUM_CONFIG_GENERAL_GID_MAX"><span class="type">GUM_CONFIG_GENERAL_GID_MAX</span></a>
+<td class="enum_member_name"><p><a name="GUM-GROUPTYPE-USER:CAPS"></a>GUM_GROUPTYPE_USER</p></td>
+<td class="enum_member_description">
+<p>user group. Gid will be chosen between
+<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MIN:CAPS" title="GUM_CONFIG_GENERAL_GID_MIN"><span class="type">GUM_CONFIG_GENERAL_GID_MIN</span></a> and <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MAX:CAPS" title="GUM_CONFIG_GENERAL_GID_MAX"><span class="type">GUM_CONFIG_GENERAL_GID_MAX</span></a></p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
+</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Gum Crypt</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Gum Crypt</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="gumd-GumDictionary.html" title="GumDictionary">
<link rel="next" href="gumd-Logging.html" title="Logging">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-GumDictionary.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-Logging.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-Gum-Crypt.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-Gum-Crypt.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-Gum-Crypt.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-Gum-Crypt.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="gumd-GumDictionary.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-Logging.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-Gum-Crypt"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-Gum-Crypt.top_of_page"></a>Gum Crypt</span></h2>
<p>Gum Crypt — Utility functions for encryption</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-Gum-Crypt.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-crypt.h>
-
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gumd-Gum-Crypt.html#gum-crypt-cmp-secret" title="gum_crypt_cmp_secret ()">gum_crypt_cmp_secret</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *plain_str1</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *enc_str2</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gumd-Gum-Crypt.html#gum-crypt-encrypt-secret" title="gum_crypt_encrypt_secret ()">gum_crypt_encrypt_secret</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *secret</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *encryp_algo</code></em>);
+<div class="refsect1">
+<a name="gumd-Gum-Crypt.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Crypt.html#gum-crypt-encrypt-secret" title="gum_crypt_encrypt_secret ()">gum_crypt_encrypt_secret</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Crypt.html#gum-crypt-cmp-secret" title="gum_crypt_cmp_secret ()">gum_crypt_cmp_secret</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-Crypt.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
+</pre>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-Crypt.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-crypt.h>
</pre>
</div>
<div class="refsect1">
<a name="gumd-Gum-Crypt.description"></a><h2>Description</h2>
-<p>
-Following code snippets shows how a string can be encrypted with any of the
+<p>Following code snippets shows how a string can be encrypted with any of the
supported encryption algorithm. Moreover, plain and encrypted secrets can be
-compared if needed.
-</p>
-<p>
-</p>
+compared if needed.</p>
<div class="informalexample"><pre class="programlisting">
gchar *pass = gum_crypt_encrypt_secret("pas.-s123", "SHA512");
g_free (pass);
g_free (pass);
</pre></div>
-<p>
-</p>
+<p></p>
</div>
<div class="refsect1">
-<a name="gumd-Gum-Crypt.details"></a><h2>Details</h2>
+<a name="gumd-Gum-Crypt.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
-<a name="gum-crypt-cmp-secret"></a><h3>gum_crypt_cmp_secret ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gum_crypt_cmp_secret (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *plain_str1</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *enc_str2</code></em>);</pre>
-<p>
-Encrypts plain string with the same parameters as that of encrypted string
-and then compares both encrypted strings.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-crypt-encrypt-secret"></a><h3>gum_crypt_encrypt_secret ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+gum_crypt_encrypt_secret (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *secret</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *encryp_algo</code></em>);</pre>
+<p>Encrypts the secret with the specified algorithm <em class="parameter"><code>encryp_algo</code></em>
+.</p>
+<div class="refsect3">
+<a name="id-1.5.3.7.2.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>plain_str1</code></em> :</span></p></td>
-<td>plain string. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>secret</p></td>
+<td class="parameter_description"><p> string to encrypt. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>enc_str2</code></em> :</span></p></td>
-<td>encrypted string. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>0 if enc_str1 == enc_str2, less than 0 if the enc_str1 < enc_str2,
-greater than 0 if enc_str1 > enc_str2.</td>
+<td class="parameter_name"><p>encryp_algo</p></td>
+<td class="parameter_description"><p>algorithm to be used for encryption. 'MD5', 'SHA256', 'SHA512',
+and 'DES' are supported algorithms.</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.3.7.2.6"></a><h4>Returns</h4>
+<p> encrypted secret if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-crypt-encrypt-secret"></a><h3>gum_crypt_encrypt_secret ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gum_crypt_encrypt_secret (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *secret</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *encryp_algo</code></em>);</pre>
-<p>
-Encrypts the secret with the specified algorithm <em class="parameter"><code>encryp_algo</code></em>.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-crypt-cmp-secret"></a><h3>gum_crypt_cmp_secret ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
+gum_crypt_cmp_secret (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *plain_str1</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *enc_str2</code></em>);</pre>
+<p>Encrypts plain string with the same parameters as that of encrypted string
+and then compares both encrypted strings.</p>
+<div class="refsect3">
+<a name="id-1.5.3.7.3.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>secret</code></em> :</span></p></td>
-<td>string to encrypt. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>encryp_algo</code></em> :</span></p></td>
-<td>algorithm to be used for encryption. 'MD5', 'SHA256', 'SHA512',
-and 'DES' are supported algorithms.</td>
+<td class="parameter_name"><p>plain_str1</p></td>
+<td class="parameter_description"><p> plain string. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>encrypted secret if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>enc_str2</p></td>
+<td class="parameter_description"><p> encrypted string. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.3.7.3.6"></a><h4>Returns</h4>
+<p> 0 if enc_str1 == enc_str2, less than 0 if the enc_str1 < enc_str2,
+greater than 0 if enc_str1 > enc_str2.</p>
+<p></p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-Crypt.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Gum File</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Gum File</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="GumDisposable.html" title="GumDisposable">
<link rel="next" href="gumd-Gum-Validate.html" title="Gum Validate">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="GumDisposable.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-Gum-Validate.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-Gum-File.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-Gum-File.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-Gum-File.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-Gum-File.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="GumDisposable.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-Gum-Validate.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-Gum-File"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-Gum-File.top_of_page"></a>Gum File</span></h2>
<p>Gum File — Utility functions for file handling</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-Gum-File.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-file.h>
-
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="gumd-Gum-File.html#GumFileUpdateCB" title="GumFileUpdateCB ()">*GumFileUpdateCB</a>) (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
- <em class="parameter"><code><a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType"><span class="type">GumOpType</span></a> op</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> *source_file</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> *dup_file</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
-enum <a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType">GumOpType</a>;
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-File.html#gum-file-close-db-files" title="gum_file_close_db_files ()">gum_file_close_db_files</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_file_path</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dup_file_path</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> *source_file</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> *dup_file</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-File.html#gum-file-create-home-dir" title="gum_file_create_home_dir ()">gum_file_create_home_dir</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *home_dir</code></em>,
- <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code><span class="type">gid_t</span> gid</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> umask</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-File.html#gum-file-delete-home-dir" title="gum_file_delete_home_dir ()">gum_file_delete_home_dir</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
-struct <span class="returnvalue">passwd</span> * <a class="link" href="gumd-Gum-File.html#gum-file-find-user-by-gid" title="gum_file_find_user_by_gid ()">gum_file_find_user_by_gid</a> (<em class="parameter"><code><span class="type">gid_t</span> primary_gid</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
-struct <span class="returnvalue">group</span> * <a class="link" href="gumd-Gum-File.html#gum-file-getgrgid" title="gum_file_getgrgid ()">gum_file_getgrgid</a> (<em class="parameter"><code><span class="type">gid_t</span> gid</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
-struct <span class="returnvalue">group</span> * <a class="link" href="gumd-Gum-File.html#gum-file-getgrnam" title="gum_file_getgrnam ()">gum_file_getgrnam</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *grname</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
-struct <span class="returnvalue">passwd</span> * <a class="link" href="gumd-Gum-File.html#gum-file-getpwnam" title="gum_file_getpwnam ()">gum_file_getpwnam</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
-struct <span class="returnvalue">passwd</span> * <a class="link" href="gumd-Gum-File.html#gum-file-getpwuid" title="gum_file_getpwuid ()">gum_file_getpwuid</a> (<em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
-struct <span class="returnvalue">sgrp</span> * <a class="link" href="gumd-Gum-File.html#gum-file-getsgnam" title="gum_file_getsgnam ()">gum_file_getsgnam</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *grname</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
-struct <span class="returnvalue">spwd</span> * <a class="link" href="gumd-Gum-File.html#gum-file-getspnam" title="gum_file_getspnam ()">gum_file_getspnam</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
-<a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * <a class="link" href="gumd-Gum-File.html#gum-file-new-path" title="gum_file_new_path ()">gum_file_new_path</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-File.html#gum-file-open-db-files" title="gum_file_open_db_files ()">gum_file_open_db_files</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_file_path</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dup_file_path</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> **source_file</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> **dup_file</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-File.html#gum-file-update" title="gum_file_update ()">gum_file_update</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
- <em class="parameter"><code><a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType"><span class="type">GumOpType</span></a> op</code></em>,
- <em class="parameter"><code><a class="link" href="gumd-Gum-File.html#GumFileUpdateCB" title="GumFileUpdateCB ()"><span class="type">GumFileUpdateCB</span></a> callback</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_file_path</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
+<div class="refsect1">
+<a name="gumd-Gum-File.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="gumd-Gum-File.html#GumFileUpdateCB" title="GumFileUpdateCB ()">*GumFileUpdateCB</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-update" title="gum_file_update ()">gum_file_update</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-open-db-files" title="gum_file_open_db_files ()">gum_file_open_db_files</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-close-db-files" title="gum_file_close_db_files ()">gum_file_close_db_files</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">struct <span class="returnvalue">passwd</span> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-getpwnam" title="gum_file_getpwnam ()">gum_file_getpwnam</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">struct <span class="returnvalue">passwd</span> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-getpwuid" title="gum_file_getpwuid ()">gum_file_getpwuid</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">struct <span class="returnvalue">passwd</span> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-find-user-by-gid" title="gum_file_find_user_by_gid ()">gum_file_find_user_by_gid</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">struct <span class="returnvalue">spwd</span> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-getspnam" title="gum_file_getspnam ()">gum_file_getspnam</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">struct <span class="returnvalue">group</span> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-getgrnam" title="gum_file_getgrnam ()">gum_file_getgrnam</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">struct <span class="returnvalue">group</span> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-getgrgid" title="gum_file_getgrgid ()">gum_file_getgrgid</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">struct <span class="returnvalue">sgrp</span> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-getsgnam" title="gum_file_getsgnam ()">gum_file_getsgnam</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-new-path" title="gum_file_new_path ()">gum_file_new_path</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-create-home-dir" title="gum_file_create_home_dir ()">gum_file_create_home_dir</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-File.html#gum-file-delete-home-dir" title="gum_file_delete_home_dir ()">gum_file_delete_home_dir</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-File.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="name">
+<col class="description">
+</colgroup>
+<tbody><tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType">GumOpType</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-File.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
+</pre>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-File.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-file.h>
</pre>
</div>
<div class="refsect1">
<a name="gumd-Gum-File.description"></a><h2>Description</h2>
-<p>
-Below is the code snippet, which demonstrate how can file update function be
+<p>Below is the code snippet, which demonstrate how can file update function be
used to add, remove or modify an entry in the user/group database file
-(e.g. /etc/passwd).
-</p>
-<p>
-</p>
+(e.g. /etc/passwd).</p>
<div class="informalexample"><pre class="programlisting">
gboolean _custom_update_file_entries (GObject *obj, GumOpType op,
}
</pre></div>
-<p>
-</p>
+<p></p>
</div>
<div class="refsect1">
-<a name="gumd-Gum-File.details"></a><h2>Details</h2>
+<a name="gumd-Gum-File.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
-<a name="GumFileUpdateCB"></a><h3>GumFileUpdateCB ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GumFileUpdateCB) (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
- <em class="parameter"><code><a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType"><span class="type">GumOpType</span></a> op</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> *source_file</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> *dup_file</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
-<p>
-Callback can be used for adding, deleting or modifying file entries. It is
-invoked in <a class="link" href="gumd-Gum-File.html#gum-file-update" title="gum_file_update ()"><span class="type">gum_file_update</span></a> function.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="GumFileUpdateCB"></a><h3>GumFileUpdateCB ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+<span class="c_punctuation">(</span>*GumFileUpdateCB<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
+ <em class="parameter"><code><a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType"><span class="type">GumOpType</span></a> op</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *source_file</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *dup_file</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>Callback can be used for adding, deleting or modifying file entries. It is
+invoked in <a class="link" href="gumd-Gum-File.html#gum-file-update" title="gum_file_update ()"><span class="type">gum_file_update</span></a> function.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.2.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
-<td>the instance of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>object</p></td>
+<td class="parameter_description"><p> the instance of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
-<td>the <a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType"><span class="type">GumOpType</span></a> operation to be done on the file entry. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>op</p></td>
+<td class="parameter_description"><p> the <a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType"><span class="type">GumOpType</span></a> operation to be done on the file entry. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>source_file</code></em> :</span></p></td>
-<td>the source file pointer. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>source_file</p></td>
+<td class="parameter_description"><p> the source file pointer. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dup_file</code></em> :</span></p></td>
-<td>the duplicate file pointer. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dup_file</p></td>
+<td class="parameter_description"><p> the duplicate file pointer. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>the user data</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>the user data</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em> is set.</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
-<hr>
-<div class="refsect2">
-<a name="GumOpType"></a><h3>enum GumOpType</h3>
-<pre class="programlisting">typedef enum {
- GUM_OPTYPE_ADD = 1,
- GUM_OPTYPE_DELETE = 2,
- GUM_OPTYPE_MODIFY = 3
-} GumOpType;
-</pre>
-<p>
-This enumeration lists the operations on file entry.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><a name="GUM-OPTYPE-ADD:CAPS"></a><span class="term"><code class="literal">GUM_OPTYPE_ADD</code></span></p></td>
-<td>add an entry
-</td>
-</tr>
-<tr>
-<td><p><a name="GUM-OPTYPE-DELETE:CAPS"></a><span class="term"><code class="literal">GUM_OPTYPE_DELETE</code></span></p></td>
-<td>delete an entry
-</td>
-</tr>
-<tr>
-<td><p><a name="GUM-OPTYPE-MODIFY:CAPS"></a><span class="term"><code class="literal">GUM_OPTYPE_MODIFY</code></span></p></td>
-<td>modify an entry
-</td>
-</tr>
-</tbody>
-</table></div>
+<div class="refsect3">
+<a name="id-1.5.7.8.2.6"></a><h4>Returns</h4>
+<p> TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em>
+is set.</p>
+<p></p>
+</div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-file-close-db-files"></a><h3>gum_file_close_db_files ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_file_close_db_files (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_file_path</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dup_file_path</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> *source_file</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> *dup_file</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
-<p>
-Closes the duplicate file <em class="parameter"><code>dup_file_path</code></em> after flushing all the data. Backup
-of the source file <em class="parameter"><code>source_file_path</code></em> is created and duplicate file is renamed
-to as the source file.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-update"></a><h3>gum_file_update ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_file_update (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
+ <em class="parameter"><code><a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType"><span class="type">GumOpType</span></a> op</code></em>,
+ <em class="parameter"><code><a class="link" href="gumd-Gum-File.html#GumFileUpdateCB" title="GumFileUpdateCB ()"><span class="type">GumFileUpdateCB</span></a> callback</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_file_path</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>Opens the files and invokes the callback to do the required operation.
+Finally files are flushed and closed.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.3.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>source_file_path</code></em> :</span></p></td>
-<td>the path to source file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>object</p></td>
+<td class="parameter_description"><p> the instance of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>; can be NULL. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dup_file_path</code></em> :</span></p></td>
-<td>the path to duplicate file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>op</p></td>
+<td class="parameter_description"><p> the <a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType"><span class="type">GumOpType</span></a> operation to be done on file entry
+the source file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>source_file</code></em> :</span></p></td>
-<td>the source file pointer. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>callback</p></td>
+<td class="parameter_description"><p> the callback <a class="link" href="gumd-Gum-File.html#GumFileUpdateCB" title="GumFileUpdateCB ()"><span class="type">GumFileUpdateCB</span></a> to be invoked
+when the source and duplicate files are opened to be handled. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dup_file</code></em> :</span></p></td>
-<td>the duplicate file pointer. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>source_file_path</p></td>
+<td class="parameter_description"><p> the source file path. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data to be passed on to the <em class="parameter"><code>callback</code></em>
+</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em> is set.</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.3.6"></a><h4>Returns</h4>
+<p> TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em>
+is set.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-create-home-dir"></a><h3>gum_file_create_home_dir ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_file_create_home_dir (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *home_dir</code></em>,
- <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code><span class="type">gid_t</span> gid</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> umask</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
-<p>
-Creates the home directory of the user. All the files from the
-<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SKEL-DIR:CAPS" title="GUM_CONFIG_GENERAL_SKEL_DIR"><span class="type">GUM_CONFIG_GENERAL_SKEL_DIR</span></a> are copied (recursively) to the user home
-directory.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-open-db-files"></a><h3>gum_file_open_db_files ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_file_open_db_files (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_file_path</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dup_file_path</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> **source_file</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> **dup_file</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>Opens the source file <em class="parameter"><code>source_file_path</code></em>
+ in read mode. Then creates the
+duplicate file <em class="parameter"><code>dup_file_path</code></em>
+ in write mode and copies source file attributes
+to the duplicate file. Open file handles are set in <em class="parameter"><code>source_file</code></em>
+ and
+<em class="parameter"><code>dup_file</code></em>
+.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.4.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>home_dir</code></em> :</span></p></td>
-<td>path to the user home directory</td>
+<td class="parameter_name"><p>source_file_path</p></td>
+<td class="parameter_description"><p> the path to source file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
-<td>id of the user</td>
+<td class="parameter_name"><p>dup_file_path</p></td>
+<td class="parameter_description"><p> the path to duplicate file, created from
+the source file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>gid</code></em> :</span></p></td>
-<td>group id of the user</td>
+<td class="parameter_name"><p>source_file</p></td>
+<td class="parameter_description"><p> the file pointer created when source file
+is opened in read mode. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>umask</code></em> :</span></p></td>
-<td>the umask to be used for setting the mode of the files/directories</td>
+<td class="parameter_name"><p>dup_file</p></td>
+<td class="parameter_description"><p> the file pointer created when duplicate file is
+opened in write mode. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em> is set.</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.4.6"></a><h4>Returns</h4>
+<p> TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em>
+is set.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-delete-home-dir"></a><h3>gum_file_delete_home_dir ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_file_delete_home_dir (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
-<p>
-Deletes the directory and its sub-directories recursively.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-close-db-files"></a><h3>gum_file_close_db_files ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_file_close_db_files (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_file_path</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dup_file_path</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *source_file</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *dup_file</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>Closes the duplicate file <em class="parameter"><code>dup_file_path</code></em>
+ after flushing all the data. Backup
+of the source file <em class="parameter"><code>source_file_path</code></em>
+ is created and duplicate file is renamed
+to as the source file.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.5.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dir</code></em> :</span></p></td>
-<td>the path to the directory. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>source_file_path</p></td>
+<td class="parameter_description"><p> the path to source file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dup_file_path</p></td>
+<td class="parameter_description"><p> the path to duplicate file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em> is set.</td>
+<td class="parameter_name"><p>source_file</p></td>
+<td class="parameter_description"><p> the source file pointer. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr>
+<tr>
+<td class="parameter_name"><p>dup_file</p></td>
+<td class="parameter_description"><p> the duplicate file pointer. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr>
+<tr>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.5.6"></a><h4>Returns</h4>
+<p> TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em>
+is set.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-find-user-by-gid"></a><h3>gum_file_find_user_by_gid ()</h3>
-<pre class="programlisting">struct <span class="returnvalue">passwd</span> * gum_file_find_user_by_gid (<em class="parameter"><code><span class="type">gid_t</span> primary_gid</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
-<p>
-Gets the passwd structure from the file based on the primary group id.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-getpwnam"></a><h3>gum_file_getpwnam ()</h3>
+<pre class="programlisting">struct <span class="returnvalue">passwd</span> *
+gum_file_getpwnam (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
+<p>Gets the passwd structure from the file based on username.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.6.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>primary_gid</code></em> :</span></p></td>
-<td>primary gid of the user</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
-<td>path to the file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>username</p></td>
+<td class="parameter_description"><p> name of the user. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>passwd structure if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p> path to the file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.6.6"></a><h4>Returns</h4>
+<p> passwd structure if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-getgrgid"></a><h3>gum_file_getgrgid ()</h3>
-<pre class="programlisting">struct <span class="returnvalue">group</span> * gum_file_getgrgid (<em class="parameter"><code><span class="type">gid_t</span> gid</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
-<p>
-Gets the group structure from the file based on the gid.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-getpwuid"></a><h3>gum_file_getpwuid ()</h3>
+<pre class="programlisting">struct <span class="returnvalue">passwd</span> *
+gum_file_getpwuid (<em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
+<p>Gets the passwd structure from the file based on uid.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.7.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>gid</code></em> :</span></p></td>
-<td>id of the group</td>
+<td class="parameter_name"><p>uid</p></td>
+<td class="parameter_description"><p>user id</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
-<td>path to the file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>group structure if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p> path to the file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.7.6"></a><h4>Returns</h4>
+<p> passwd structure if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-getgrnam"></a><h3>gum_file_getgrnam ()</h3>
-<pre class="programlisting">struct <span class="returnvalue">group</span> * gum_file_getgrnam (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *grname</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
-<p>
-Gets the group structure from the file based on the groupname <em class="parameter"><code>grname</code></em>.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-find-user-by-gid"></a><h3>gum_file_find_user_by_gid ()</h3>
+<pre class="programlisting">struct <span class="returnvalue">passwd</span> *
+gum_file_find_user_by_gid (<em class="parameter"><code><span class="type">gid_t</span> primary_gid</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
+<p>Gets the passwd structure from the file based on the primary group id.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.8.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>grname</code></em> :</span></p></td>
-<td>name of the group. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
-<td>path to the file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>primary_gid</p></td>
+<td class="parameter_description"><p>primary gid of the user</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>group structure if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p> path to the file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.8.6"></a><h4>Returns</h4>
+<p> passwd structure if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-getpwnam"></a><h3>gum_file_getpwnam ()</h3>
-<pre class="programlisting">struct <span class="returnvalue">passwd</span> * gum_file_getpwnam (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
-<p>
-Gets the passwd structure from the file based on username.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-getspnam"></a><h3>gum_file_getspnam ()</h3>
+<pre class="programlisting">struct <span class="returnvalue">spwd</span> *
+gum_file_getspnam (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
+<p>Gets the spwd structure from the file based on the username.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.9.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>username</code></em> :</span></p></td>
-<td>name of the user. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
-<td>path to the file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>username</p></td>
+<td class="parameter_description"><p> name of the user. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>passwd structure if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p> path to the file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.9.6"></a><h4>Returns</h4>
+<p> spwd structure if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-getpwuid"></a><h3>gum_file_getpwuid ()</h3>
-<pre class="programlisting">struct <span class="returnvalue">passwd</span> * gum_file_getpwuid (<em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
-<p>
-Gets the passwd structure from the file based on uid.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-getgrnam"></a><h3>gum_file_getgrnam ()</h3>
+<pre class="programlisting">struct <span class="returnvalue">group</span> *
+gum_file_getgrnam (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *grname</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
+<p>Gets the group structure from the file based on the groupname <em class="parameter"><code>grname</code></em>
+.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.10.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
-<td>user id</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
-<td>path to the file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>grname</p></td>
+<td class="parameter_description"><p> name of the group. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>passwd structure if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p> path to the file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.10.6"></a><h4>Returns</h4>
+<p> group structure if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-getsgnam"></a><h3>gum_file_getsgnam ()</h3>
-<pre class="programlisting">struct <span class="returnvalue">sgrp</span> * gum_file_getsgnam (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *grname</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
-<p>
-Gets the sgrp structure from the file based on the groupname <em class="parameter"><code>grname</code></em>.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-getgrgid"></a><h3>gum_file_getgrgid ()</h3>
+<pre class="programlisting">struct <span class="returnvalue">group</span> *
+gum_file_getgrgid (<em class="parameter"><code><span class="type">gid_t</span> gid</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
+<p>Gets the group structure from the file based on the gid.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.11.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>grname</code></em> :</span></p></td>
-<td>name of the group. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>gid</p></td>
+<td class="parameter_description"><p>id of the group</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
-<td>path to the file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>sgrp structure if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p> path to the file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.11.6"></a><h4>Returns</h4>
+<p> group structure if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-getspnam"></a><h3>gum_file_getspnam ()</h3>
-<pre class="programlisting">struct <span class="returnvalue">spwd</span> * gum_file_getspnam (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
-<p>
-Gets the spwd structure from the file based on the username.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-getsgnam"></a><h3>gum_file_getsgnam ()</h3>
+<pre class="programlisting">struct <span class="returnvalue">sgrp</span> *
+gum_file_getsgnam (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *grname</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
+<p>Gets the sgrp structure from the file based on the groupname <em class="parameter"><code>grname</code></em>
+.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.12.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>username</code></em> :</span></p></td>
-<td>name of the user. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
-<td>path to the file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>grname</p></td>
+<td class="parameter_description"><p> name of the group. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>spwd structure if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p> path to the file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.12.6"></a><h4>Returns</h4>
+<p> sgrp structure if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-new-path"></a><h3>gum_file_new_path ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * gum_file_new_path (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
-<p>
-Builds complete file path based on the <em class="parameter"><code>filename</code></em> and <em class="parameter"><code>dir</code></em>.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-new-path"></a><h3>gum_file_new_path ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> *
+gum_file_new_path (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
+<p>Builds complete file path based on the <em class="parameter"><code>filename</code></em>
+ and <em class="parameter"><code>dir</code></em>
+.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.13.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dir</code></em> :</span></p></td>
-<td>directory path. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
-<td>name of the file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dir</p></td>
+<td class="parameter_description"><p> directory path. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p> name of the file. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.13.6"></a><h4>Returns</h4>
+<p> the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-open-db-files"></a><h3>gum_file_open_db_files ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_file_open_db_files (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_file_path</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dup_file_path</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> **source_file</code></em>,
- <em class="parameter"><code><span class="type">FILE</span> **dup_file</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
-<p>
-Opens the source file <em class="parameter"><code>source_file_path</code></em> in read mode. Then creates the
-duplicate file <em class="parameter"><code>dup_file_path</code></em> in write mode and copies source file attributes
-to the duplicate file. Open file handles are set in <em class="parameter"><code>source_file</code></em> and
-<em class="parameter"><code>dup_file</code></em>.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-create-home-dir"></a><h3>gum_file_create_home_dir ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_file_create_home_dir (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *home_dir</code></em>,
+ <em class="parameter"><code><span class="type">uid_t</span> uid</code></em>,
+ <em class="parameter"><code><span class="type">gid_t</span> gid</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> umask</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>Creates the home directory of the user. All the files from the
+<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SKEL-DIR:CAPS" title="GUM_CONFIG_GENERAL_SKEL_DIR"><span class="type">GUM_CONFIG_GENERAL_SKEL_DIR</span></a> are copied (recursively) to the user home
+directory.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.14.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>source_file_path</code></em> :</span></p></td>
-<td>the path to source file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>dup_file_path</code></em> :</span></p></td>
-<td>the path to duplicate file, created from
-the source file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>home_dir</p></td>
+<td class="parameter_description"><p>path to the user home directory</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>source_file</code></em> :</span></p></td>
-<td>the file pointer created when source file
-is opened in read mode. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>uid</p></td>
+<td class="parameter_description"><p>id of the user</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dup_file</code></em> :</span></p></td>
-<td>the file pointer created when duplicate file is
-opened in write mode. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>gid</p></td>
+<td class="parameter_description"><p>group id of the user</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>umask</p></td>
+<td class="parameter_description"><p>the umask to be used for setting the mode of the files/directories</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em> is set.</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.14.6"></a><h4>Returns</h4>
+<p> TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em>
+is set.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-file-update"></a><h3>gum_file_update ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_file_update (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
- <em class="parameter"><code><a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType"><span class="type">GumOpType</span></a> op</code></em>,
- <em class="parameter"><code><a class="link" href="gumd-Gum-File.html#GumFileUpdateCB" title="GumFileUpdateCB ()"><span class="type">GumFileUpdateCB</span></a> callback</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_file_path</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
-<p>
-Opens the files and invokes the callback to do the required operation.
-Finally files are flushed and closed.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-file-delete-home-dir"></a><h3>gum_file_delete_home_dir ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_file_delete_home_dir (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>Deletes the directory and its sub-directories recursively.</p>
+<div class="refsect3">
+<a name="id-1.5.7.8.15.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
-<td>the instance of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>; can be NULL. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
-<td>the <a class="link" href="gumd-Gum-File.html#GumOpType" title="enum GumOpType"><span class="type">GumOpType</span></a> operation to be done on file entry
-the source file. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dir</p></td>
+<td class="parameter_description"><p> the path to the directory. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
-<td>the callback <a class="link" href="gumd-Gum-File.html#GumFileUpdateCB" title="GumFileUpdateCB ()"><span class="type">GumFileUpdateCB</span></a> to be invoked
-when the source and duplicate files are opened to be handled. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.5.7.8.15.6"></a><h4>Returns</h4>
+<p> TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em>
+is set.</p>
+<p></p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-File.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="GumOpType"></a><h3>enum GumOpType</h3>
+<p>This enumeration lists the operations on file entry.</p>
+<div class="refsect3">
+<a name="id-1.5.7.9.2.4"></a><h4>Members</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
+<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>source_file_path</code></em> :</span></p></td>
-<td>the source file path. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="enum_member_name"><p><a name="GUM-OPTYPE-ADD:CAPS"></a>GUM_OPTYPE_ADD</p></td>
+<td class="enum_member_description">
+<p>add an entry</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
-<td>user data to be passed on to the <em class="parameter"><code>callback</code></em>
+<td class="enum_member_name"><p><a name="GUM-OPTYPE-DELETE:CAPS"></a>GUM_OPTYPE_DELETE</p></td>
+<td class="enum_member_description">
+<p>delete an entry</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> which is set in case of an error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="enum_member_name"><p><a name="GUM-OPTYPE-MODIFY:CAPS"></a>GUM_OPTYPE_MODIFY</p></td>
+<td class="enum_member_description">
+<p>modify an entry</p>
</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if successful, FALSE otherwise and <em class="parameter"><code>error</code></em> is set.</td>
+<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
+</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Gum Lock</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Gum Lock</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="gumd-Gum-Validate.html" title="Gum Validate">
<link rel="next" href="gumd-Gum-String-Utils.html" title="Gum String Utils">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-Gum-Validate.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-Gum-String-Utils.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-Gum-Lock.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-Gum-Lock.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-Gum-Lock.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-Gum-Lock.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="gumd-Gum-Validate.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-Gum-String-Utils.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-Gum-Lock"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-Gum-Lock.top_of_page"></a>Gum Lock</span></h2>
<p>Gum Lock — Utility functions for (un)locking user/group database</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-Gum-Lock.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-lock.h>
-
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-Lock.html#gum-lock-pwdf-lock" title="gum_lock_pwdf_lock ()">gum_lock_pwdf_lock</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-Lock.html#gum-lock-pwdf-unlock" title="gum_lock_pwdf_unlock ()">gum_lock_pwdf_unlock</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
+<div class="refsect1">
+<a name="gumd-Gum-Lock.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Lock.html#gum-lock-pwdf-lock" title="gum_lock_pwdf_lock ()">gum_lock_pwdf_lock</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Lock.html#gum-lock-pwdf-unlock" title="gum_lock_pwdf_unlock ()">gum_lock_pwdf_unlock</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-Lock.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
+</pre>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-Lock.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-lock.h>
</pre>
</div>
<div class="refsect1">
<a name="gumd-Gum-Lock.description"></a><h2>Description</h2>
-<p>
-Locking the user/group database is required when modifications are needed to
+<p>Locking the user/group database is required when modifications are needed to
the database e.g. adding and deleting users. Lock can be called multiple
times as it merely increases the lock counter after acquiring the lock for
the first time. Similarly unlock can be called multiple times as it decreases
lock counter until it the count reaches to 0 when the lock is released.
Locking and unlocking the database is disabled for when testing is enabled
-as tests are run on dummy databases.
-</p>
-<p>
-</p>
+as tests are run on dummy databases.</p>
<div class="informalexample"><pre class="programlisting">
//return value must be checked if the lock succeed or not.
gboolean ret = gum_lock_pwdf_lock ();
//return value must be checked if the unlock succeed or not.
ret = gum_lock_pwdf_unlock ();
</pre></div>
-<p>
-</p>
+<p></p>
</div>
<div class="refsect1">
-<a name="gumd-Gum-Lock.details"></a><h2>Details</h2>
+<a name="gumd-Gum-Lock.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
-<a name="gum-lock-pwdf-lock"></a><h3>gum_lock_pwdf_lock ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_lock_pwdf_lock (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
-<p>
-Gets the lock to the user/group database file(s). Lock can be called multiple
+<a name="gum-lock-pwdf-lock"></a><h3>gum_lock_pwdf_lock ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_lock_pwdf_lock (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>Gets the lock to the user/group database file(s). Lock can be called multiple
times as it merely increases the lock counter after acquiring the lock for
the first time. In order to release the lock, unlock needs to be called
the same number of times as that of lock. Locking and unlocking the database
-is disabled for when testing is enabled as tests are run on dummy databases.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if successful, FALSE otherwise.</td>
-</tr></tbody>
-</table></div>
+is disabled for when testing is enabled as tests are run on dummy databases.</p>
+<div class="refsect3">
+<a name="id-1.5.9.7.2.5"></a><h4>Returns</h4>
+<p> TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-lock-pwdf-unlock"></a><h3>gum_lock_pwdf_unlock ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_lock_pwdf_unlock (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
-<p>
-Releases the lock to the user/group database file(s). Unlock can be called
+<a name="gum-lock-pwdf-unlock"></a><h3>gum_lock_pwdf_unlock ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_lock_pwdf_unlock (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>Releases the lock to the user/group database file(s). Unlock can be called
multiple times as it decreases lock counter until it the count reaches to 0
when the lock is released. In order to release the lock, unlock needs to be
called the same number of times as that of lock. Locking and unlocking the
database is disabled for when testing is enabled as tests are run on dummy
-databases.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if successful, FALSE otherwise.</td>
-</tr></tbody>
-</table></div>
+databases.</p>
+<div class="refsect3">
+<a name="id-1.5.9.7.3.5"></a><h4>Returns</h4>
+<p> TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
</div>
</div>
+<div class="refsect1">
+<a name="gumd-Gum-Lock.other_details"></a><h2>Types and Values</h2>
+</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Gum String Utils</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Gum String Utils</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="gumd-Gum-Lock.html" title="Gum Lock">
<link rel="next" href="gumd-Gum-Utils.html" title="Gum Utils">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-Gum-Lock.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-Gum-Utils.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-Gum-String-Utils.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-Gum-String-Utils.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-Gum-String-Utils.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-Gum-String-Utils.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="gumd-Gum-Lock.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-Gum-Utils.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-Gum-String-Utils"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-Gum-String-Utils.top_of_page"></a>Gum String Utils</span></h2>
<p>Gum String Utils — Utility functions for strings handling</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-Gum-String-Utils.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-string-utils.h>
-
-#define <a class="link" href="gumd-Gum-String-Utils.html#GUM-STR-DUP:CAPS" title="GUM_STR_DUP()">GUM_STR_DUP</a> (s,
- d)
-#define <a class="link" href="gumd-Gum-String-Utils.html#GUM-STR-DUPV:CAPS" title="GUM_STR_DUPV()">GUM_STR_DUPV</a> (s,
- d)
-#define <a class="link" href="gumd-Gum-String-Utils.html#GUM-STR-FREE:CAPS" title="GUM_STR_FREE()">GUM_STR_FREE</a> (s)
-#define <a class="link" href="gumd-Gum-String-Utils.html#GUM-STR-FREEV:CAPS" title="GUM_STR_FREEV()">GUM_STR_FREEV</a> (s)
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-append-string" title="gum_string_utils_append_string ()">gum_string_utils_append_string</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **src_strv</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-delete-string" title="gum_string_utils_delete_string ()">gum_string_utils_delete_string</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **src_strv</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-get-string" title="gum_string_utils_get_string ()">gum_string_utils_get_string</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *strings</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *separator</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> str_ind</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-insert-string" title="gum_string_utils_insert_string ()">gum_string_utils_insert_string</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *strings</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *separator</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str_to_insert</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> str_ind</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> total_strings</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-search-string" title="gum_string_utils_search_string ()">gum_string_utils_search_string</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *strings</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *separator</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *search_str</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-search-stringv" title="gum_string_utils_search_stringv ()">gum_string_utils_search_stringv</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **stringv</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *search_str</code></em>);
-</pre>
-</div>
<div class="refsect1">
-<a name="gumd-Gum-String-Utils.description"></a><h2>Description</h2>
-<p>
-String utility functions
-</p>
-</div>
-<div class="refsect1">
-<a name="gumd-Gum-String-Utils.details"></a><h2>Details</h2>
-<div class="refsect2">
-<a name="GUM-STR-DUP:CAPS"></a><h3>GUM_STR_DUP()</h3>
-<pre class="programlisting">#define GUM_STR_DUP(s, d)</pre>
-<p>
-A helper macro that duplicates source string to destination string after
-freeing the destination string first if it is not NULL.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gumd-Gum-String-Utils.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
-<td>the source string</td>
+<td class="define_keyword">#define</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-String-Utils.html#GUM-STR-FREE:CAPS" title="GUM_STR_FREE()">GUM_STR_FREE</a><span class="c_punctuation">()</span>
+</td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
-<td>the destination string</td>
+<td class="define_keyword">#define</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-String-Utils.html#GUM-STR-DUP:CAPS" title="GUM_STR_DUP()">GUM_STR_DUP</a><span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-String-Utils.html#GUM-STR-FREEV:CAPS" title="GUM_STR_FREEV()">GUM_STR_FREEV</a><span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-String-Utils.html#GUM-STR-DUPV:CAPS" title="GUM_STR_DUPV()">GUM_STR_DUPV</a><span class="c_punctuation">()</span>
+</td>
</tr>
-</tbody>
-</table></div>
-</div>
-<hr>
-<div class="refsect2">
-<a name="GUM-STR-DUPV:CAPS"></a><h3>GUM_STR_DUPV()</h3>
-<pre class="programlisting">#define GUM_STR_DUPV(s, d)</pre>
-<p>
-A helper macro that duplicates source string vector to destination string
-vector after freeing the destination string vector first if it is not NULL.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
-<td>the source string vector</td>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-search-string" title="gum_string_utils_search_string ()">gum_string_utils_search_string</a> <span class="c_punctuation">()</span>
+</td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
-<td>the destination string vector</td>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-search-stringv" title="gum_string_utils_search_stringv ()">gum_string_utils_search_stringv</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-get-string" title="gum_string_utils_get_string ()">gum_string_utils_get_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-insert-string" title="gum_string_utils_insert_string ()">gum_string_utils_insert_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-delete-string" title="gum_string_utils_delete_string ()">gum_string_utils_delete_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-String-Utils.html#gum-string-utils-append-string" title="gum_string_utils_append_string ()">gum_string_utils_append_string</a> <span class="c_punctuation">()</span>
+</td>
</tr>
</tbody>
</table></div>
</div>
-<hr>
+<div class="refsect1">
+<a name="gumd-Gum-String-Utils.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
+</pre>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-String-Utils.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-string-utils.h>
+</pre>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-String-Utils.description"></a><h2>Description</h2>
+<p>String utility functions</p>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-String-Utils.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="GUM-STR-FREE:CAPS"></a><h3>GUM_STR_FREE()</h3>
<pre class="programlisting">#define GUM_STR_FREE(s)</pre>
-<p>
-A helper macro that frees the string after checking if it is not NULL.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<p>A helper macro that frees the string after checking if it is not NULL.</p>
+<div class="refsect3">
+<a name="id-1.5.10.7.2.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody><tr>
-<td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
-<td>the string to free</td>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>the string to free</p></td>
+<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="GUM-STR-DUP:CAPS"></a><h3>GUM_STR_DUP()</h3>
+<pre class="programlisting">#define GUM_STR_DUP(s, d)</pre>
+<p>A helper macro that duplicates source string to destination string after
+freeing the destination string first if it is not NULL.</p>
+<div class="refsect3">
+<a name="id-1.5.10.7.3.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>the source string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>d</p></td>
+<td class="parameter_description"><p>the destination string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
<hr>
<div class="refsect2">
<a name="GUM-STR-FREEV:CAPS"></a><h3>GUM_STR_FREEV()</h3>
<pre class="programlisting">#define GUM_STR_FREEV(s)</pre>
-<p>
-A helper macro that frees string vector after checking if it is not NULL.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<p>A helper macro that frees string vector after checking if it is not NULL.</p>
+<div class="refsect3">
+<a name="id-1.5.10.7.4.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody><tr>
-<td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
-<td>the string vector to free</td>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>the string vector to free</p></td>
+<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-string-utils-append-string"></a><h3>gum_string_utils_append_string ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** gum_string_utils_append_string (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **src_strv</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
-<p>
-Appends the string to the end of the strings' vector.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="GUM-STR-DUPV:CAPS"></a><h3>GUM_STR_DUPV()</h3>
+<pre class="programlisting">#define GUM_STR_DUPV(s, d)</pre>
+<p>A helper macro that duplicates source string vector to destination string
+vector after freeing the destination string vector first if it is not NULL.</p>
+<div class="refsect3">
+<a name="id-1.5.10.7.5.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>src_strv</code></em> :</span></p></td>
-<td>vector of strings. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
-<td>string to append. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>the source string vector</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>concatenated string vector if successful, NULL
-otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>d</p></td>
+<td class="parameter_description"><p>the destination string vector</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-string-utils-delete-string"></a><h3>gum_string_utils_delete_string ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** gum_string_utils_delete_string (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **src_strv</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
-<p>
-Deletes the string from the strings' vector.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-string-utils-search-string"></a><h3>gum_string_utils_search_string ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_string_utils_search_string (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *strings</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *separator</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *search_str</code></em>);</pre>
+<p>Finds the 'search string' in the strings.</p>
+<div class="refsect3">
+<a name="id-1.5.10.7.6.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>src_strv</code></em> :</span></p></td>
-<td>vector of strings. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>strings</p></td>
+<td class="parameter_description"><p> concatenated strings in a string placeholder
+separated by a separator. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
-<td>string to delete. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>separator</p></td>
+<td class="parameter_description"><p> separator between strings. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>modified string vector if string found, NULL
-otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>search_str</p></td>
+<td class="parameter_description"><p> string to search. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.10.7.6.6"></a><h4>Returns</h4>
+<p> TRUE if found, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-string-utils-get-string"></a><h3>gum_string_utils_get_string ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gum_string_utils_get_string (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *strings</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *separator</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> str_ind</code></em>);</pre>
-<p>
-Gets the str_ind'th string from the strings.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-string-utils-search-stringv"></a><h3>gum_string_utils_search_stringv ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_string_utils_search_stringv (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **stringv</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *search_str</code></em>);</pre>
+<p>Finds the 'search string' in the string vector.</p>
+<div class="refsect3">
+<a name="id-1.5.10.7.7.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>strings</code></em> :</span></p></td>
-<td>vector of strings. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>stringv</p></td>
+<td class="parameter_description"><p> vector of strings. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
-<td>separator between strings. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>search_str</p></td>
+<td class="parameter_description"><p> string to search. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.5.10.7.7.6"></a><h4>Returns</h4>
+<p> TRUE if found, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-string-utils-get-string"></a><h3>gum_string_utils_get_string ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+gum_string_utils_get_string (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *strings</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *separator</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> str_ind</code></em>);</pre>
+<p>Gets the str_ind'th string from the strings.</p>
+<div class="refsect3">
+<a name="id-1.5.10.7.8.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>strings</p></td>
+<td class="parameter_description"><p> vector of strings. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>str_ind</code></em> :</span></p></td>
-<td>starting from 0, position for the string to fetch</td>
+<td class="parameter_name"><p>separator</p></td>
+<td class="parameter_description"><p> separator between strings. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>string if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>str_ind</p></td>
+<td class="parameter_description"><p>starting from 0, position for the string to fetch</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.10.7.8.6"></a><h4>Returns</h4>
+<p> string if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-string-utils-insert-string"></a><h3>gum_string_utils_insert_string ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gum_string_utils_insert_string (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *strings</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *separator</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str_to_insert</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> str_ind</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> total_strings</code></em>);</pre>
-<p>
-Inserts the string at the desired position and returns the concatenated
-string
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-string-utils-insert-string"></a><h3>gum_string_utils_insert_string ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+gum_string_utils_insert_string (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *strings</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *separator</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str_to_insert</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> str_ind</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> total_strings</code></em>);</pre>
+<p>Inserts the string at the desired position and returns the concatenated
+string</p>
+<div class="refsect3">
+<a name="id-1.5.10.7.9.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>strings</code></em> :</span></p></td>
-<td>vector of strings. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
-<td>separator between strings. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>strings</p></td>
+<td class="parameter_description"><p> vector of strings. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>str_to_insert</code></em> :</span></p></td>
-<td>string to insert. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>separator</p></td>
+<td class="parameter_description"><p> separator between strings. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>str_ind</code></em> :</span></p></td>
-<td>starting from 0, position for the string to insert</td>
+<td class="parameter_name"><p>str_to_insert</p></td>
+<td class="parameter_description"><p> string to insert. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>total_strings</code></em> :</span></p></td>
-<td>total number of strings in the strings vector</td>
+<td class="parameter_name"><p>str_ind</p></td>
+<td class="parameter_description"><p>starting from 0, position for the string to insert</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>concatenated string vector if successful, NULL
-otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>total_strings</p></td>
+<td class="parameter_description"><p>total number of strings in the strings vector</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.10.7.9.6"></a><h4>Returns</h4>
+<p> concatenated string vector if successful, NULL
+otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-string-utils-search-string"></a><h3>gum_string_utils_search_string ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_string_utils_search_string (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *strings</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *separator</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *search_str</code></em>);</pre>
-<p>
-Finds the 'search string' in the strings.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-string-utils-delete-string"></a><h3>gum_string_utils_delete_string ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
+gum_string_utils_delete_string (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **src_strv</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
+<p>Deletes the string from the strings' vector.</p>
+<div class="refsect3">
+<a name="id-1.5.10.7.10.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>strings</code></em> :</span></p></td>
-<td>concatenated strings in a string placeholder
-separated by a separator. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>src_strv</p></td>
+<td class="parameter_description"><p> vector of strings. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>separator</code></em> :</span></p></td>
-<td>separator between strings. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>search_str</code></em> :</span></p></td>
-<td>string to search. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if found, FALSE otherwise.</td>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p> string to delete. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.10.7.10.6"></a><h4>Returns</h4>
+<p> modified string vector if string found, NULL
+otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-string-utils-search-stringv"></a><h3>gum_string_utils_search_stringv ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_string_utils_search_stringv (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **stringv</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *search_str</code></em>);</pre>
-<p>
-Finds the 'search string' in the string vector.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-string-utils-append-string"></a><h3>gum_string_utils_append_string ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
+gum_string_utils_append_string (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **src_strv</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
+<p>Appends the string to the end of the strings' vector.</p>
+<div class="refsect3">
+<a name="id-1.5.10.7.11.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>stringv</code></em> :</span></p></td>
-<td>vector of strings. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>src_strv</p></td>
+<td class="parameter_description"><p> vector of strings. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>search_str</code></em> :</span></p></td>
-<td>string to search. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if found, FALSE otherwise.</td>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p> string to append. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.10.7.11.6"></a><h4>Returns</h4>
+<p> concatenated string vector if successful, NULL
+otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-String-Utils.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Gum Utils</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Gum Utils</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="gumd-Gum-String-Utils.html" title="Gum String Utils">
<link rel="next" href="gumd-User-types.html" title="User types">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-Gum-String-Utils.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-User-types.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-Gum-Utils.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-Gum-Utils.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-Gum-Utils.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-Gum-Utils.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="gumd-Gum-String-Utils.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-User-types.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-Gum-Utils"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-Gum-Utils.top_of_page"></a>Gum Utils</span></h2>
<p>Gum Utils — Utility functions</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-Gum-Utils.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-utils.h>
-
-<span class="returnvalue">void</span> <a class="link" href="gumd-Gum-Utils.html#gum-utils-drop-privileges" title="gum_utils_drop_privileges ()">gum_utils_drop_privileges</a> ();
-<span class="returnvalue">void</span> <a class="link" href="gumd-Gum-Utils.html#gum-utils-gain-privileges" title="gum_utils_gain_privileges ()">gum_utils_gain_privileges</a> ();
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gumd-Gum-Utils.html#gum-utils-generate-nonce" title="gum_utils_generate_nonce ()">gum_utils_generate_nonce</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Data-Checksums.html#GChecksumType"><span class="type">GChecksumType</span></a> algorithm</code></em>);
+<div class="refsect1">
+<a name="gumd-Gum-Utils.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Utils.html#gum-utils-generate-nonce" title="gum_utils_generate_nonce ()">gum_utils_generate_nonce</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Utils.html#gum-utils-drop-privileges" title="gum_utils_drop_privileges ()">gum_utils_drop_privileges</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Utils.html#gum-utils-gain-privileges" title="gum_utils_gain_privileges ()">gum_utils_gain_privileges</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-Utils.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
+</pre>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-Utils.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-utils.h>
</pre>
</div>
<div class="refsect1">
<a name="gumd-Gum-Utils.description"></a><h2>Description</h2>
-<p>
-Utility functions
-</p>
+<p>Utility functions</p>
</div>
<div class="refsect1">
-<a name="gumd-Gum-Utils.details"></a><h2>Details</h2>
+<a name="gumd-Gum-Utils.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
-<a name="gum-utils-drop-privileges"></a><h3>gum_utils_drop_privileges ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> gum_utils_drop_privileges ();</pre>
-<p>
-Drops the privileges for the calling process. Effective uid is to real uid.
+<a name="gum-utils-generate-nonce"></a><h3>gum_utils_generate_nonce ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+gum_utils_generate_nonce (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Data-Checksums.html#GChecksumType"><span class="type">GChecksumType</span></a> algorithm</code></em>);</pre>
+<p>Generates nonce based on hashing algorithm as specified in <em class="parameter"><code>algorithm</code></em>
</p>
+<div class="refsect3">
+<a name="id-1.5.11.7.2.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>algorithm</p></td>
+<td class="parameter_description"><p>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Data-Checksums.html#GChecksumType"><span class="type">GChecksumType</span></a> algorithm</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.5.11.7.2.6"></a><h4>Returns</h4>
+<p> generate nonce if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-utils-gain-privileges"></a><h3>gum_utils_gain_privileges ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> gum_utils_gain_privileges ();</pre>
-<p>
-Gains the privileges for the calling process. Effective uid is to 0.
-</p>
+<a name="gum-utils-drop-privileges"></a><h3>gum_utils_drop_privileges ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+gum_utils_drop_privileges ();</pre>
+<p>Drops the privileges for the calling process. Effective uid is to real uid.</p>
</div>
<hr>
<div class="refsect2">
-<a name="gum-utils-generate-nonce"></a><h3>gum_utils_generate_nonce ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gum_utils_generate_nonce (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Data-Checksums.html#GChecksumType"><span class="type">GChecksumType</span></a> algorithm</code></em>);</pre>
-<p>
-Generates nonce based on hashing algorithm as specified in <em class="parameter"><code>algorithm</code></em>
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>algorithm</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Data-Checksums.html#GChecksumType"><span class="type">GChecksumType</span></a> algorithm</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>generate nonce if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
-</tr>
-</tbody>
-</table></div>
+<a name="gum-utils-gain-privileges"></a><h3>gum_utils_gain_privileges ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+gum_utils_gain_privileges ();</pre>
+<p>Gains the privileges for the calling process. Effective uid is to 0.</p>
</div>
</div>
+<div class="refsect1">
+<a name="gumd-Gum-Utils.other_details"></a><h2>Types and Values</h2>
+</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Gum Validate</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Gum Validate</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="gumd-Gum-File.html" title="Gum File">
<link rel="next" href="gumd-Gum-Lock.html" title="Gum Lock">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-Gum-File.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-Gum-Lock.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-Gum-Validate.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-Gum-Validate.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-Gum-Validate.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-Gum-Validate.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="gumd-Gum-File.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-Gum-Lock.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-Gum-Validate"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-Gum-Validate.top_of_page"></a>Gum Validate</span></h2>
<p>Gum Validate — Utility functions for validating strings</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-Gum-Validate.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-validate.h>
-
-#define <a class="link" href="gumd-Gum-Validate.html#GUM-DB-ENTRY-PATTERN:CAPS" title="GUM_DB_ENTRY_PATTERN">GUM_DB_ENTRY_PATTERN</a>
-#define <a class="link" href="gumd-Gum-Validate.html#GUM-NAME-PATTERN:CAPS" title="GUM_NAME_PATTERN">GUM_NAME_PATTERN</a>
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-Validate.html#gum-validate-db-secret-entry" title="gum_validate_db_secret_entry ()">gum_validate_db_secret_entry</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-Validate.html#gum-validate-db-string-entry" title="gum_validate_db_string_entry ()">gum_validate_db_string_entry</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-Validate.html#gum-validate-db-string-entry-regx" title="gum_validate_db_string_entry_regx ()">gum_validate_db_string_entry_regx</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gumd-Gum-Validate.html#gum-validate-generate-username" title="gum_validate_generate_username ()">gum_validate_generate_username</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-Gum-Validate.html#gum-validate-name" title="gum_validate_name ()">gum_validate_name</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
-</pre>
+<div class="refsect1">
+<a name="gumd-Gum-Validate.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Validate.html#gum-validate-name" title="gum_validate_name ()">gum_validate_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Validate.html#gum-validate-generate-username" title="gum_validate_generate_username ()">gum_validate_generate_username</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Validate.html#gum-validate-db-string-entry-regx" title="gum_validate_db_string_entry_regx ()">gum_validate_db_string_entry_regx</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Validate.html#gum-validate-db-string-entry" title="gum_validate_db_string_entry ()">gum_validate_db_string_entry</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-Gum-Validate.html#gum-validate-db-secret-entry" title="gum_validate_db_secret_entry ()">gum_validate_db_secret_entry</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
</div>
<div class="refsect1">
-<a name="gumd-Gum-Validate.description"></a><h2>Description</h2>
-<p>
-Name/secret validation functions
-</p>
+<a name="gumd-Gum-Validate.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="name">
+<col class="description">
+</colgroup>
+<tbody>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-Gum-Validate.html#GUM-NAME-PATTERN:CAPS" title="GUM_NAME_PATTERN">GUM_NAME_PATTERN</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-Gum-Validate.html#GUM-DB-ENTRY-PATTERN:CAPS" title="GUM_DB_ENTRY_PATTERN">GUM_DB_ENTRY_PATTERN</a></td>
+</tr>
+</tbody>
+</table></div>
</div>
<div class="refsect1">
-<a name="gumd-Gum-Validate.details"></a><h2>Details</h2>
-<div class="refsect2">
-<a name="GUM-DB-ENTRY-PATTERN:CAPS"></a><h3>GUM_DB_ENTRY_PATTERN</h3>
-<pre class="programlisting">#define GUM_DB_ENTRY_PATTERN "^[^\x2C\x3A[:cntrl:]]*$"
+<a name="gumd-Gum-Validate.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
</pre>
-<p>
-A macro that defines the string pattern to be acceptable for entries in the
-user/group database.
-</p>
</div>
-<hr>
-<div class="refsect2">
-<a name="GUM-NAME-PATTERN:CAPS"></a><h3>GUM_NAME_PATTERN</h3>
-<pre class="programlisting">#define GUM_NAME_PATTERN "^[A-Za-z_][A-Za-z0-9_.-]*[A-Za-z0-9_.$-]\\?$"
+<div class="refsect1">
+<a name="gumd-Gum-Validate.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-validate.h>
</pre>
-<p>
-A macro that defines the string pattern to be acceptable for names.
-</p>
</div>
-<hr>
+<div class="refsect1">
+<a name="gumd-Gum-Validate.description"></a><h2>Description</h2>
+<p>Name/secret validation functions</p>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-Validate.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
-<a name="gum-validate-db-secret-entry"></a><h3>gum_validate_db_secret_entry ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_validate_db_secret_entry (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
-<p>
-Validates the string <em class="parameter"><code>str</code></em> to be used as secret in the user/group database.
-No control chars (0x00-0x1F,0x7F) or colon (':' 0x3A) is allowed.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-validate-name"></a><h3>gum_validate_name ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_validate_name (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>Validates the name against the <a class="link" href="gumd-Gum-Validate.html#GUM-NAME-PATTERN:CAPS" title="GUM_NAME_PATTERN"><span class="type">GUM_NAME_PATTERN</span></a> pattern.</p>
+<div class="refsect3">
+<a name="id-1.5.8.8.2.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
-<td>the string to be validated. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to be set in case of error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p> the name string to be validated. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if validation succeeds, FALSE otherwise.</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to be set in case of error. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.8.8.2.6"></a><h4>Returns</h4>
+<p> TRUE if validation succeeds, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-validate-db-string-entry"></a><h3>gum_validate_db_string_entry ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_validate_db_string_entry (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
-<p>
-Validates the string <em class="parameter"><code>str</code></em> to be used in the user/group database. No control
-chars (0x00-0x1F,0x7F), comma (',' 0x2c) or colon (':' 0x3A) is allowed.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-validate-generate-username"></a><h3>gum_validate_generate_username ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+gum_validate_generate_username (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>Generate username based on the string <em class="parameter"><code>str</code></em>
+ and then validate the generated
+user name against <a class="link" href="gumd-Gum-Validate.html#GUM-NAME-PATTERN:CAPS" title="GUM_NAME_PATTERN"><span class="type">GUM_NAME_PATTERN</span></a> pattern.</p>
+<div class="refsect3">
+<a name="id-1.5.8.8.3.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
-<td>the string to be validated. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to be set in case of error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>str</p></td>
+<td class="parameter_description"><p> the string to be validated. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if validation succeeds, FALSE otherwise.</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to be set in case of error. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.8.8.3.6"></a><h4>Returns</h4>
+<p> string if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-validate-db-string-entry-regx"></a><h3>gum_validate_db_string_entry_regx ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_validate_db_string_entry_regx (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
-<p>
-Validates the string <em class="parameter"><code>str</code></em> against the <a class="link" href="gumd-Gum-Validate.html#GUM-DB-ENTRY-PATTERN:CAPS" title="GUM_DB_ENTRY_PATTERN"><span class="type">GUM_DB_ENTRY_PATTERN</span></a> pattern using
-regular expressions.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-validate-db-string-entry-regx"></a><h3>gum_validate_db_string_entry_regx ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_validate_db_string_entry_regx (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>Validates the string <em class="parameter"><code>str</code></em>
+ against the <a class="link" href="gumd-Gum-Validate.html#GUM-DB-ENTRY-PATTERN:CAPS" title="GUM_DB_ENTRY_PATTERN"><span class="type">GUM_DB_ENTRY_PATTERN</span></a> pattern using
+regular expressions.</p>
+<div class="refsect3">
+<a name="id-1.5.8.8.4.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
-<td>the string to be validated. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to be set in case of error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>str</p></td>
+<td class="parameter_description"><p> the string to be validated. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if validation succeeds, FALSE otherwise.</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to be set in case of error. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.8.8.4.6"></a><h4>Returns</h4>
+<p> TRUE if validation succeeds, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-validate-generate-username"></a><h3>gum_validate_generate_username ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gum_validate_generate_username (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
-<p>
-Generate username based on the string <em class="parameter"><code>str</code></em> and then validate the generated
-user name against <a class="link" href="gumd-Gum-Validate.html#GUM-NAME-PATTERN:CAPS" title="GUM_NAME_PATTERN"><span class="type">GUM_NAME_PATTERN</span></a> pattern.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-validate-db-string-entry"></a><h3>gum_validate_db_string_entry ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_validate_db_string_entry (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>Validates the string <em class="parameter"><code>str</code></em>
+ to be used in the user/group database. No control
+chars (0x00-0x1F,0x7F), comma (',' 0x2c) or colon (':' 0x3A) is allowed.</p>
+<div class="refsect3">
+<a name="id-1.5.8.8.5.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
-<td>the string to be validated. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>str</p></td>
+<td class="parameter_description"><p> the string to be validated. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to be set in case of error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>string if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to be set in case of error. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.8.8.5.6"></a><h4>Returns</h4>
+<p> TRUE if validation succeeds, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-validate-name"></a><h3>gum_validate_name ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_validate_name (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
-<p>
-Validates the name against the <a class="link" href="gumd-Gum-Validate.html#GUM-NAME-PATTERN:CAPS" title="GUM_NAME_PATTERN"><span class="type">GUM_NAME_PATTERN</span></a> pattern.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-validate-db-secret-entry"></a><h3>gum_validate_db_secret_entry ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_validate_db_secret_entry (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>Validates the string <em class="parameter"><code>str</code></em>
+ to be used as secret in the user/group database.
+No control chars (0x00-0x1F,0x7F) or colon (':' 0x3A) is allowed.</p>
+<div class="refsect3">
+<a name="id-1.5.8.8.6.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
-<td>the name string to be validated. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>str</p></td>
+<td class="parameter_description"><p> the string to be validated. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
-<td>the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to be set in case of error. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if validation succeeds, FALSE otherwise.</td>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p> the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to be set in case of error. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.8.8.6.6"></a><h4>Returns</h4>
+<p> TRUE if validation succeeds, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="gumd-Gum-Validate.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="GUM-NAME-PATTERN:CAPS"></a><h3>GUM_NAME_PATTERN</h3>
+<pre class="programlisting">#define GUM_NAME_PATTERN "^[A-Za-z_][A-Za-z0-9_.-]*[A-Za-z0-9_.$-]\\?$"
+</pre>
+<p>A macro that defines the string pattern to be acceptable for names.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="GUM-DB-ENTRY-PATTERN:CAPS"></a><h3>GUM_DB_ENTRY_PATTERN</h3>
+<pre class="programlisting">#define GUM_DB_ENTRY_PATTERN "^[^\x2C\x3A[:cntrl:]]*$"
+</pre>
+<p>A macro that defines the string pattern to be acceptable for entries in the
+user/group database.</p>
+</div>
</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>GumDictionary</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: GumDictionary</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="ch02.html" title="Common">
<link rel="next" href="gumd-Gum-Crypt.html" title="Gum Crypt">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="ch02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-Gum-Crypt.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-GumDictionary.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-GumDictionary.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-GumDictionary.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-GumDictionary.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="ch02.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-Gum-Crypt.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-GumDictionary"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<p>GumDictionary — a dictionary container holding string keys and variant
values</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-GumDictionary.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-dictionary.h>
-
-typedef <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary">GumDictionary</a>;
-<a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="returnvalue">GumDictionary</span></a> * <a class="link" href="gumd-GumDictionary.html#gum-dictionary-copy" title="gum_dictionary_copy ()">gum_dictionary_copy</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *other</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="gumd-GumDictionary.html#gum-dictionary-get" title="gum_dictionary_get ()">gum_dictionary_get</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-boolean" title="gum_dictionary_get_boolean ()">gum_dictionary_get_boolean</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *value</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-int32" title="gum_dictionary_get_int32 ()">gum_dictionary_get_int32</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-int64" title="gum_dictionary_get_int64 ()">gum_dictionary_get_int64</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><span class="type">gint64</span> *value</code></em>);
-const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-string" title="gum_dictionary_get_string ()">gum_dictionary_get_string</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-uint32" title="gum_dictionary_get_uint32 ()">gum_dictionary_get_uint32</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *value</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-uint64" title="gum_dictionary_get_uint64 ()">gum_dictionary_get_uint64</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><span class="type">guint64</span> *value</code></em>);
-<a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="returnvalue">GumDictionary</span></a> * <a class="link" href="gumd-GumDictionary.html#gum-dictionary-new" title="gum_dictionary_new ()">gum_dictionary_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
-<a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="returnvalue">GumDictionary</span></a> * <a class="link" href="gumd-GumDictionary.html#gum-dictionary-new-from-variant" title="gum_dictionary_new_from_variant ()">gum_dictionary_new_from_variant</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *variant</code></em>);
-<span class="returnvalue">void</span> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-ref" title="gum_dictionary_ref ()">gum_dictionary_ref</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-remove" title="gum_dictionary_remove ()">gum_dictionary_remove</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-set" title="gum_dictionary_set ()">gum_dictionary_set</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-boolean" title="gum_dictionary_set_boolean ()">gum_dictionary_set_boolean</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> value</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-int32" title="gum_dictionary_set_int32 ()">gum_dictionary_set_int32</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-int64" title="gum_dictionary_set_int64 ()">gum_dictionary_set_int64</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><span class="type">gint64</span> value</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-string" title="gum_dictionary_set_string ()">gum_dictionary_set_string</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-uint32" title="gum_dictionary_set_uint32 ()">gum_dictionary_set_uint32</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><span class="type">guint32</span> value</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-uint64" title="gum_dictionary_set_uint64 ()">gum_dictionary_set_uint64</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><span class="type">guint64</span> value</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="gumd-GumDictionary.html#gum-dictionary-to-variant" title="gum_dictionary_to_variant ()">gum_dictionary_to_variant</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>);
-<span class="returnvalue">void</span> <a class="link" href="gumd-GumDictionary.html#gum-dictionary-unref" title="gum_dictionary_unref ()">gum_dictionary_unref</a> (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>);
-</pre>
-</div>
-<div class="refsect1">
-<a name="gumd-GumDictionary.description"></a><h2>Description</h2>
-<p>
-A <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> is a dictionary data structure that maps string keys to
-<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> values. It's used in multiple places in gum and its public API
-to pass key-value data sets.
-</p>
-<p>
-</p>
-<div class="informalexample"><pre class="programlisting">
- GumDictionary* dict = gum_dictionary_new();
- gum_dictionary_set_string(dict, "name", "John Smith");
- gum_dictionary_set_uint32(dict, "age", 32);
-
- guint32 age;
- gboolean success = gum_dictionary_get_uint32(dict, "age", &age);
- const gchar* name = gum_dictionary_get_string(dict, "name");
- gum_dictionary_unref(dict);
-</pre></div>
-<p>
-</p>
-</div>
<div class="refsect1">
-<a name="gumd-GumDictionary.details"></a><h2>Details</h2>
-<div class="refsect2">
-<a name="GumDictionary"></a><h3>GumDictionary</h3>
-<pre class="programlisting">typedef GHashTable GumDictionary;
-</pre>
-<p>
-<a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> is a typedef for <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a>, which
-means the developers may also use methods associated with that structure.
-</p>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gum-dictionary-copy"></a><h3>gum_dictionary_copy ()</h3>
-<pre class="programlisting"><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="returnvalue">GumDictionary</span></a> * gum_dictionary_copy (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *other</code></em>);</pre>
-<p>
-Creates a copy of the dictionary.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gumd-GumDictionary.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>other</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<span class="returnvalue">GumDictionary</span> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-new" title="gum_dictionary_new ()">gum_dictionary_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> object if the copy was successful,
-NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-ref" title="gum_dictionary_ref ()">gum_dictionary_ref</a> <span class="c_punctuation">()</span>
</td>
</tr>
-</tbody>
-</table></div>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gum-dictionary-get"></a><h3>gum_dictionary_get ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * gum_dictionary_get (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
-<p>
-Retrieves a <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> value from the dictionary. This can be used to retrieve
-a value of an arbitrary type, and then convert it manually to a specific type
-using <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> methods. For most commonly used types, also getters that
-return the specific type directly are provided (<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-string" title="gum_dictionary_get_string ()"><code class="function">gum_dictionary_get_string()</code></a>
-and similar).
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-unref" title="gum_dictionary_unref ()">gum_dictionary_unref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>the key to look up in the dictionary. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<span class="returnvalue">GumDictionary</span> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-copy" title="gum_dictionary_copy ()">gum_dictionary_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>the value; NULL is returned in case of failure (for
-example if the entry corresponding to the supplied key doesn't exist). <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<span class="returnvalue">GumDictionary</span> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-new-from-variant" title="gum_dictionary_new_from_variant ()">gum_dictionary_new_from_variant</a> <span class="c_punctuation">()</span>
</td>
</tr>
-</tbody>
-</table></div>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gum-dictionary-get-boolean"></a><h3>gum_dictionary_get_boolean ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_get_boolean (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *value</code></em>);</pre>
-<p>
-Retrieves a gboolean value.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-to-variant" title="gum_dictionary_to_variant ()">gum_dictionary_to_variant</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to look up. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get" title="gum_dictionary_get ()">gum_dictionary_get</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>points to the location where the value should be set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set" title="gum_dictionary_set ()">gum_dictionary_set</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if the value was retrieved successfully, FALSE otherwise.</td>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-boolean" title="gum_dictionary_get_boolean ()">gum_dictionary_get_boolean</a> <span class="c_punctuation">()</span>
+</td>
</tr>
-</tbody>
-</table></div>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gum-dictionary-get-int32"></a><h3>gum_dictionary_get_int32 ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_get_int32 (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>);</pre>
-<p>
-Retrieves a int32 value.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-boolean" title="gum_dictionary_set_boolean ()">gum_dictionary_set_boolean</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to look up. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-int32" title="gum_dictionary_get_int32 ()">gum_dictionary_get_int32</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>points to the location where the value should be set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-int32" title="gum_dictionary_set_int32 ()">gum_dictionary_set_int32</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if the value was retrieved successfully, FALSE otherwise.</td>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-uint32" title="gum_dictionary_get_uint32 ()">gum_dictionary_get_uint32</a> <span class="c_punctuation">()</span>
+</td>
</tr>
-</tbody>
-</table></div>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gum-dictionary-get-int64"></a><h3>gum_dictionary_get_int64 ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_get_int64 (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><span class="type">gint64</span> *value</code></em>);</pre>
-<p>
-Retrieves a int64 value.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-uint32" title="gum_dictionary_set_uint32 ()">gum_dictionary_set_uint32</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to look up. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-int64" title="gum_dictionary_get_int64 ()">gum_dictionary_get_int64</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>points to the location where the value should be set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-int64" title="gum_dictionary_set_int64 ()">gum_dictionary_set_int64</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if the value was retrieved successfully, FALSE otherwise.</td>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-uint64" title="gum_dictionary_get_uint64 ()">gum_dictionary_get_uint64</a> <span class="c_punctuation">()</span>
+</td>
</tr>
-</tbody>
-</table></div>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gum-dictionary-get-string"></a><h3>gum_dictionary_get_string ()</h3>
-<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gum_dictionary_get_string (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
-<p>
-Retrieves a string value.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-uint64" title="gum_dictionary_set_uint64 ()">gum_dictionary_set_uint64</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to look up. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-string" title="gum_dictionary_get_string ()">gum_dictionary_get_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-set-string" title="gum_dictionary_set_string ()">gum_dictionary_set_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>the value if it was retrieved successfully, NULL
-otherwise. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+<td class="function_type">
+<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="gumd-GumDictionary.html#gum-dictionary-remove" title="gum_dictionary_remove ()">gum_dictionary_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect1">
+<a name="gumd-GumDictionary.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
+</pre>
+</div>
+<div class="refsect1">
+<a name="gumd-GumDictionary.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-dictionary.h>
+</pre>
+</div>
+<div class="refsect1">
+<a name="gumd-GumDictionary.description"></a><h2>Description</h2>
+<p>A <span class="type">GumDictionary</span> is a dictionary data structure that maps string keys to
+<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> values. It's used in multiple places in gum and its public API
+to pass key-value data sets.</p>
+<div class="informalexample"><pre class="programlisting">
+ GumDictionary* dict = gum_dictionary_new();
+ gum_dictionary_set_string(dict, "name", "John Smith");
+ gum_dictionary_set_uint32(dict, "age", 32);
+
+ guint32 age;
+ gboolean success = gum_dictionary_get_uint32(dict, "age", &age);
+ const gchar* name = gum_dictionary_get_string(dict, "name");
+ gum_dictionary_unref(dict);
+</pre></div>
+<p></p>
+</div>
+<div class="refsect1">
+<a name="gumd-GumDictionary.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="gum-dictionary-new"></a><h3>gum_dictionary_new ()</h3>
+<pre class="programlisting"><span class="returnvalue">GumDictionary</span> *
+gum_dictionary_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>Creates a new instance of <span class="type">GumDictionary</span>.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.2.5"></a><h4>Returns</h4>
+<p> <span class="type">GumDictionary</span> object if successful,
+NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-dictionary-ref"></a><h3>gum_dictionary_ref ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+gum_dictionary_ref (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>);</pre>
+<p>Increments the reference count of the dictionary structure.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.3.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-dictionary-unref"></a><h3>gum_dictionary_unref ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+gum_dictionary_unref (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>);</pre>
+<p>Decrements the reference count of the dictionary structure. If the reference
+count reaches zero, the structure is deallocated and shouldn't be used.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.4.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-dictionary-copy"></a><h3>gum_dictionary_copy ()</h3>
+<pre class="programlisting"><span class="returnvalue">GumDictionary</span> *
+gum_dictionary_copy (<em class="parameter"><code><span class="type">GumDictionary</span> *other</code></em>);</pre>
+<p>Creates a copy of the dictionary.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.5.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>other</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.5.6"></a><h4>Returns</h4>
+<p> <span class="type">GumDictionary</span> object if the copy was successful,
+NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-dictionary-new-from-variant"></a><h3>gum_dictionary_new_from_variant ()</h3>
+<pre class="programlisting"><span class="returnvalue">GumDictionary</span> *
+gum_dictionary_new_from_variant (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *variant</code></em>);</pre>
+<p>Converts the <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> to <span class="type">GumDictionary</span>. This is useful for example if
+the dictionary needs to be deserialized, or if it's contained in another
+<span class="type">GumDictionary</span> and has been retrieved using <a class="link" href="gumd-GumDictionary.html#gum-dictionary-get" title="gum_dictionary_get ()"><code class="function">gum_dictionary_get()</code></a>.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.6.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>variant</p></td>
+<td class="parameter_description"><p> instance of <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.6.6"></a><h4>Returns</h4>
+<p> <span class="type">GumDictionary</span> if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-get-uint32"></a><h3>gum_dictionary_get_uint32 ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_get_uint32 (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *value</code></em>);</pre>
-<p>
-Retrieves a uint32 value.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-to-variant"></a><h3>gum_dictionary_to_variant ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
+gum_dictionary_to_variant (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>);</pre>
+<p>Converts the <span class="type">GumDictionary</span> to a <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>. The result can be serialized
+or put into another <span class="type">GumDictionary</span> using <a class="link" href="gumd-GumDictionary.html#gum-dictionary-set" title="gum_dictionary_set ()"><code class="function">gum_dictionary_set()</code></a>.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.7.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.7.6"></a><h4>Returns</h4>
+<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> object if successful, NULL otherwise. </p>
+<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-dictionary-get"></a><h3>gum_dictionary_get ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
+gum_dictionary_get (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
+<p>Retrieves a <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> value from the dictionary. This can be used to retrieve
+a value of an arbitrary type, and then convert it manually to a specific type
+using <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> methods. For most commonly used types, also getters that
+return the specific type directly are provided (<a class="link" href="gumd-GumDictionary.html#gum-dictionary-get-string" title="gum_dictionary_get_string ()"><code class="function">gum_dictionary_get_string()</code></a>
+and similar).</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.8.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to look up. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> the key to look up in the dictionary. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.8.6"></a><h4>Returns</h4>
+<p> the value; NULL is returned in case of failure (for
+example if the entry corresponding to the supplied key doesn't exist). </p>
+<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-dictionary-set"></a><h3>gum_dictionary_set ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_set (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
+<p>Adds or replaces key-value pair in the dictionary. This allows to set a value
+of an arbitrary type: it first needs to be converted to a <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>. For most
+commonly used types also type-specific setters are provided.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.9.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>points to the location where the value should be set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr>
+<tr>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to be set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if the value was retrieved successfully, FALSE otherwise.</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p> value to be set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.9.6"></a><h4>Returns</h4>
+<p> TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-get-uint64"></a><h3>gum_dictionary_get_uint64 ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_get_uint64 (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><span class="type">guint64</span> *value</code></em>);</pre>
-<p>
-Retrieves a uint64 value.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-get-boolean"></a><h3>gum_dictionary_get_boolean ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_get_boolean (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *value</code></em>);</pre>
+<p>Retrieves a gboolean value.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.10.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to look up. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>points to the location where the value should be set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to look up. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if the value was retrieved successfully, FALSE otherwise.</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p> points to the location where the value should be set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
-<hr>
-<div class="refsect2">
-<a name="gum-dictionary-new"></a><h3>gum_dictionary_new ()</h3>
-<pre class="programlisting"><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="returnvalue">GumDictionary</span></a> * gum_dictionary_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
-<p>
-Creates a new instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> object if successful,
-NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
-</tr></tbody>
-</table></div>
+<div class="refsect3">
+<a name="id-1.5.2.7.10.6"></a><h4>Returns</h4>
+<p> TRUE if the value was retrieved successfully, FALSE otherwise.</p>
+<p></p>
+</div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-new-from-variant"></a><h3>gum_dictionary_new_from_variant ()</h3>
-<pre class="programlisting"><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="returnvalue">GumDictionary</span></a> * gum_dictionary_new_from_variant (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *variant</code></em>);</pre>
-<p>
-Converts the <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> to <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. This is useful for example if
-the dictionary needs to be deserialized, or if it's contained in another
-<a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> and has been retrieved using <a class="link" href="gumd-GumDictionary.html#gum-dictionary-get" title="gum_dictionary_get ()"><code class="function">gum_dictionary_get()</code></a>.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-set-boolean"></a><h3>gum_dictionary_set_boolean ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_set_boolean (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> value</code></em>);</pre>
+<p>Sets or replaces a gboolean value in the dictionary.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.11.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
-<td>instance of <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr>
+<tr>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>value to set</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
-<hr>
-<div class="refsect2">
-<a name="gum-dictionary-ref"></a><h3>gum_dictionary_ref ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> gum_dictionary_ref (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>);</pre>
-<p>
-Increments the reference count of the dictionary structure.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr></tbody>
-</table></div>
+<div class="refsect3">
+<a name="id-1.5.2.7.11.6"></a><h4>Returns</h4>
+<p> TRUE if the value was set or replaced successfully, FALSE otherwise.</p>
+<p></p>
+</div>
</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-remove"></a><h3>gum_dictionary_remove ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_remove (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
-<p>
-Removes key-value pair in the dictionary as per key.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-get-int32"></a><h3>gum_dictionary_get_int32 ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_get_int32 (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>);</pre>
+<p>Retrieves a int32 value.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.12.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key which needs to be removed from the dictionary. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to look up. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if successful, FALSE otherwise.</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p> points to the location where the value should be set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.12.6"></a><h4>Returns</h4>
+<p> TRUE if the value was retrieved successfully, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-set"></a><h3>gum_dictionary_set ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_set (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
-<p>
-Adds or replaces key-value pair in the dictionary. This allows to set a value
-of an arbitrary type: it first needs to be converted to a <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>. For most
-commonly used types also type-specific setters are provided.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-set-int32"></a><h3>gum_dictionary_set_int32 ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_set_int32 (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>);</pre>
+<p>Sets or replaces a int32 value in the dictionary.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.13.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to be set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>value to be set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if successful, FALSE otherwise.</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>value to set</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.13.6"></a><h4>Returns</h4>
+<p> TRUE if the value was set or replaced successfully, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-set-boolean"></a><h3>gum_dictionary_set_boolean ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_set_boolean (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> value</code></em>);</pre>
-<p>
-Sets or replaces a gboolean value in the dictionary.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-get-uint32"></a><h3>gum_dictionary_get_uint32 ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_get_uint32 (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *value</code></em>);</pre>
+<p>Retrieves a uint32 value.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.14.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>value to set</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to look up. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if the value was set or replaced successfully, FALSE otherwise.</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p> points to the location where the value should be set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.14.6"></a><h4>Returns</h4>
+<p> TRUE if the value was retrieved successfully, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-set-int32"></a><h3>gum_dictionary_set_int32 ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_set_int32 (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>);</pre>
-<p>
-Sets or replaces a int32 value in the dictionary.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-set-uint32"></a><h3>gum_dictionary_set_uint32 ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_set_uint32 (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><span class="type">guint32</span> value</code></em>);</pre>
+<p>Sets or replaces a uint32 value in the dictionary.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.15.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>value to set</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if the value was set or replaced successfully, FALSE otherwise.</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>value to set</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.15.6"></a><h4>Returns</h4>
+<p> TRUE if the value was set or replaced successfully, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-set-int64"></a><h3>gum_dictionary_set_int64 ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_set_int64 (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><span class="type">gint64</span> value</code></em>);</pre>
-<p>
-Sets or replaces a int64 value in the dictionary.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-get-int64"></a><h3>gum_dictionary_get_int64 ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_get_int64 (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><span class="type">gint64</span> *value</code></em>);</pre>
+<p>Retrieves a int64 value.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.16.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>value to set</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to look up. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if the value was set or replaced successfully, FALSE otherwise.</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p> points to the location where the value should be set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.16.6"></a><h4>Returns</h4>
+<p> TRUE if the value was retrieved successfully, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-set-string"></a><h3>gum_dictionary_set_string ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_set_string (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
-<p>
-Sets or replaces a string value in the dictionary.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-set-int64"></a><h3>gum_dictionary_set_int64 ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_set_int64 (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><span class="type">gint64</span> value</code></em>);</pre>
+<p>Sets or replaces a int64 value in the dictionary.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.17.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>value to set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if the value was set or replaced successfully, FALSE otherwise.</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>value to set</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.17.6"></a><h4>Returns</h4>
+<p> TRUE if the value was set or replaced successfully, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-set-uint32"></a><h3>gum_dictionary_set_uint32 ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_set_uint32 (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><span class="type">guint32</span> value</code></em>);</pre>
-<p>
-Sets or replaces a uint32 value in the dictionary.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-get-uint64"></a><h3>gum_dictionary_get_uint64 ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_get_uint64 (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><span class="type">guint64</span> *value</code></em>);</pre>
+<p>Retrieves a uint64 value.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.18.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>value to set</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to look up. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if the value was set or replaced successfully, FALSE otherwise.</td>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p> points to the location where the value should be set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.18.6"></a><h4>Returns</h4>
+<p> TRUE if the value was retrieved successfully, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-set-uint64"></a><h3>gum_dictionary_set_uint64 ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gum_dictionary_set_uint64 (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>,
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
- <em class="parameter"><code><span class="type">guint64</span> value</code></em>);</pre>
-<p>
-Sets or replaces a uint64 value in the dictionary.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-set-uint64"></a><h3>gum_dictionary_set_uint64 ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_set_uint64 (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code><span class="type">guint64</span> value</code></em>);</pre>
+<p>Sets or replaces a uint64 value in the dictionary.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.19.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
-<td>key to set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr>
+<tr>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>value to set</p></td>
+<td class="parameter_annotations"> </td>
</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.19.6"></a><h4>Returns</h4>
+<p> TRUE if the value was set or replaced successfully, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gum-dictionary-get-string"></a><h3>gum_dictionary_get_string ()</h3>
+<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
+gum_dictionary_get_string (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
+<p>Retrieves a string value.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.20.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
-<td>value to set</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>TRUE if the value was set or replaced successfully, FALSE otherwise.</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to look up. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.20.6"></a><h4>Returns</h4>
+<p> the value if it was retrieved successfully, NULL
+otherwise. </p>
+<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-to-variant"></a><h3>gum_dictionary_to_variant ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * gum_dictionary_to_variant (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>);</pre>
-<p>
-Converts the <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> to a <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>. The result can be serialized
-or put into another <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> using <a class="link" href="gumd-GumDictionary.html#gum-dictionary-set" title="gum_dictionary_set ()"><code class="function">gum_dictionary_set()</code></a>.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="gum-dictionary-set-string"></a><h3>gum_dictionary_set_string ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_set_string (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
+<p>Sets or replaces a string value in the dictionary.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.21.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> object if successful, NULL otherwise. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
-</td>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key to set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr>
+<tr>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p> value to set. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.21.6"></a><h4>Returns</h4>
+<p> TRUE if the value was set or replaced successfully, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
<hr>
<div class="refsect2">
-<a name="gum-dictionary-unref"></a><h3>gum_dictionary_unref ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> gum_dictionary_unref (<em class="parameter"><code><a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a> *dict</code></em>);</pre>
-<p>
-Decrements the reference count of the dictionary structure. If the reference
-count reaches zero, the structure is deallocated and shouldn't be used.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><em class="parameter"><code>dict</code></em> :</span></p></td>
-<td>instance of <a class="link" href="gumd-GumDictionary.html#GumDictionary" title="GumDictionary"><span class="type">GumDictionary</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
-</td>
-</tr></tbody>
+<a name="gum-dictionary-remove"></a><h3>gum_dictionary_remove ()</h3>
+<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
+gum_dictionary_remove (<em class="parameter"><code><span class="type">GumDictionary</span> *dict</code></em>,
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
+<p>Removes key-value pair in the dictionary as per key.</p>
+<div class="refsect3">
+<a name="id-1.5.2.7.22.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>dict</p></td>
+<td class="parameter_description"><p> instance of <span class="type">GumDictionary</span>. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr>
+<tr>
+<td class="parameter_name"><p>key</p></td>
+<td class="parameter_description"><p> key which needs to be removed from the dictionary. </p></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
+</tr>
+</tbody>
</table></div>
</div>
+<div class="refsect3">
+<a name="id-1.5.2.7.22.6"></a><h4>Returns</h4>
+<p> TRUE if successful, FALSE otherwise.</p>
+<p></p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="gumd-GumDictionary.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Logging</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Logging</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="gumd-Gum-Crypt.html" title="Gum Crypt">
<link rel="next" href="gumd-Errors.html" title="Errors">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-Gum-Crypt.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-Errors.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-Logging.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-Logging.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-Logging.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-Logging.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="gumd-Gum-Crypt.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-Errors.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-Logging"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-Logging.top_of_page"></a>Logging</span></h2>
<p>Logging — logging facilities</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-Logging.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include <gum/common/gum-log.h>
-
-#define <a class="link" href="gumd-Logging.html#DBG:CAPS" title="DBG()">DBG</a> (frmt,
- ...)
-#define <a class="link" href="gumd-Logging.html#ERR:CAPS" title="ERR()">ERR</a> (frmt,
- ...)
-#define <a class="link" href="gumd-Logging.html#INFO:CAPS" title="INFO()">INFO</a> (frmt,
- ...)
-#define <a class="link" href="gumd-Logging.html#TRACEBACK:CAPS" title="TRACEBACK">TRACEBACK</a>
-#define <a class="link" href="gumd-Logging.html#WARN:CAPS" title="WARN()">WARN</a> (frmt,
- ...)
+<div class="refsect1">
+<a name="gumd-Logging.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_return">
+<col class="functions_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="gumd-Logging.html#TRACEBACK:CAPS" title="TRACEBACK">TRACEBACK</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name">
+<a class="link" href="gumd-Logging.html#ERR:CAPS" title="ERR()">ERR</a><span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name">
+<a class="link" href="gumd-Logging.html#WARN:CAPS" title="WARN()">WARN</a><span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name">
+<a class="link" href="gumd-Logging.html#INFO:CAPS" title="INFO()">INFO</a><span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name">
+<a class="link" href="gumd-Logging.html#DBG:CAPS" title="DBG()">DBG</a><span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-Logging.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
+</pre>
+</div>
+<div class="refsect1">
+<a name="gumd-Logging.includes"></a><h2>Includes</h2>
+<pre class="synopsis">#include <gum/common/gum-log.h>
</pre>
</div>
<div class="refsect1">
<a name="gumd-Logging.description"></a><h2>Description</h2>
-<p>
-<code class="filename">gum/common/gum-log.h</code> file contains logging macros
-</p>
-<p>
-For example:
-</p>
-<div class="informalexample"><pre class="programlisting"> INFO("Object initialized"); </pre></div>
-<p>
-</p>
+<p><code class="filename">gum/common/gum-log.h</code> file contains logging macros</p>
+<p>For example:</p>
+<div class="informalexample"><pre class="programlisting">
+</pre></div>
</div>
<div class="refsect1">
-<a name="gumd-Logging.details"></a><h2>Details</h2>
+<a name="gumd-Logging.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
-<a name="DBG:CAPS"></a><h3>DBG()</h3>
-<pre class="programlisting">#define DBG(frmt, args...)</pre>
-<p>
-Use this macro to log debug messages. Gum will take care of
-correctly saving them.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="TRACEBACK:CAPS"></a><h3>TRACEBACK</h3>
+<pre class="programlisting">#define TRACEBACK()</pre>
+<p>This macro prints the current function call stack to stderr.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ERR:CAPS"></a><h3>ERR()</h3>
+<pre class="programlisting">#define ERR(frmt, args...)</pre>
+<p>Use this macro to log error messages. Gum will take care of
+correctly saving them.</p>
+<div class="refsect3">
+<a name="id-1.5.4.7.3.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>frmt</code></em> :</span></p></td>
-<td>format string for the message</td>
+<td class="parameter_name"><p>frmt</p></td>
+<td class="parameter_description"><p>format string for the message</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
-<td>arguments for the format string</td>
+<td class="parameter_name"><p>...</p></td>
+<td class="parameter_description"><p>arguments for the format string</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+</div>
<hr>
<div class="refsect2">
-<a name="ERR:CAPS"></a><h3>ERR()</h3>
-<pre class="programlisting">#define ERR(frmt, args...)</pre>
-<p>
-Use this macro to log error messages. Gum will take care of
-correctly saving them.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="WARN:CAPS"></a><h3>WARN()</h3>
+<pre class="programlisting">#define WARN(frmt, args...)</pre>
+<p>Use this macro to log warning messages. Gum will take care of
+correctly saving them.</p>
+<div class="refsect3">
+<a name="id-1.5.4.7.4.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>frmt</code></em> :</span></p></td>
-<td>format string for the message</td>
+<td class="parameter_name"><p>frmt</p></td>
+<td class="parameter_description"><p>format string for the message</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
-<td>arguments for the format string</td>
+<td class="parameter_name"><p>...</p></td>
+<td class="parameter_description"><p>arguments for the format string</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
+</div>
<hr>
<div class="refsect2">
<a name="INFO:CAPS"></a><h3>INFO()</h3>
<pre class="programlisting">#define INFO(frmt, args...)</pre>
-<p>
-Use this macro to log informational messages. Gum will take care of
-correctly saving them.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<p>Use this macro to log informational messages. Gum will take care of
+correctly saving them.</p>
+<div class="refsect3">
+<a name="id-1.5.4.7.5.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>frmt</code></em> :</span></p></td>
-<td>format string for the message</td>
+<td class="parameter_name"><p>frmt</p></td>
+<td class="parameter_description"><p>format string for the message</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
-<td>arguments for the format string</td>
+<td class="parameter_name"><p>...</p></td>
+<td class="parameter_description"><p>arguments for the format string</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
-<hr>
-<div class="refsect2">
-<a name="TRACEBACK:CAPS"></a><h3>TRACEBACK</h3>
-<pre class="programlisting">#define TRACEBACK()</pre>
-<p>
-This macro prints the current function call stack to stderr.
-</p>
</div>
<hr>
<div class="refsect2">
-<a name="WARN:CAPS"></a><h3>WARN()</h3>
-<pre class="programlisting">#define WARN(frmt, args...)</pre>
-<p>
-Use this macro to log warning messages. Gum will take care of
-correctly saving them.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<a name="DBG:CAPS"></a><h3>DBG()</h3>
+<pre class="programlisting">#define DBG(frmt, args...)</pre>
+<p>Use this macro to log debug messages. Gum will take care of
+correctly saving them.</p>
+<div class="refsect3">
+<a name="id-1.5.4.7.6.5"></a><h4>Parameters</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><span class="term"><em class="parameter"><code>frmt</code></em> :</span></p></td>
-<td>format string for the message</td>
+<td class="parameter_name"><p>frmt</p></td>
+<td class="parameter_description"><p>format string for the message</p></td>
+<td class="parameter_annotations"> </td>
</tr>
<tr>
-<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
-<td>arguments for the format string</td>
+<td class="parameter_name"><p>...</p></td>
+<td class="parameter_description"><p>arguments for the format string</p></td>
+<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
+<div class="refsect1">
+<a name="gumd-Logging.other_details"></a><h2>Types and Values</h2>
+</div>
+</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>User types</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: User types</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="ch02.html" title="Common">
<link rel="prev" href="gumd-Gum-Utils.html" title="Gum Utils">
<link rel="next" href="gumd-Group-types.html" title="Group types">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
-<tr valign="middle">
-<td><a accesskey="p" href="gumd-Gum-Utils.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="gumd-Group-types.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#gumd-User-types.synopsis" class="shortcut">Top</a>
- |
- <a href="#gumd-User-types.description" class="shortcut">Description</a>
-</td></tr>
-</table>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
+ <a href="#gumd-User-types.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
+ <a href="#gumd-User-types.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="gumd-Gum-Utils.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="gumd-Group-types.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
<div class="refentry">
<a name="gumd-User-types"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<h2><span class="refentrytitle"><a name="gumd-User-types.top_of_page"></a>User types</span></h2>
<p>User types — user types definition</p>
</td>
-<td valign="top" align="right"></td>
+<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="gumd-User-types.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">enum <a class="link" href="gumd-User-types.html#GumUserType" title="enum GumUserType">GumUserType</a>;
+<div class="refsect1">
+<a name="gumd-User-types.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="150px" class="name">
+<col class="description">
+</colgroup>
+<tbody><tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="gumd-User-types.html#GumUserType" title="enum GumUserType">GumUserType</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="gumd-User-types.object-hierarchy"></a><h2>Object Hierarchy</h2>
+<pre class="screen">
</pre>
</div>
<div class="refsect1">
<a name="gumd-User-types.description"></a><h2>Description</h2>
-<p>
-This file provides various types of users that can be created by the user
-management framework.
-</p>
+<p>This file provides various types of users that can be created by the user
+management framework.</p>
+</div>
+<div class="refsect1">
+<a name="gumd-User-types.functions_details"></a><h2>Functions</h2>
</div>
<div class="refsect1">
-<a name="gumd-User-types.details"></a><h2>Details</h2>
+<a name="gumd-User-types.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GumUserType"></a><h3>enum GumUserType</h3>
-<pre class="programlisting">typedef enum {
- GUM_USERTYPE_NONE = 0,
- GUM_USERTYPE_SYSTEM = 1,
- GUM_USERTYPE_ADMIN = 2,
- GUM_USERTYPE_GUEST = 3,
- GUM_USERTYPE_NORMAL = 4
-} GumUserType;
-</pre>
-<p>
-This enumeration lists users types.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
+<p>This enumeration lists users types.</p>
+<div class="refsect3">
+<a name="id-1.5.12.7.2.4"></a><h4>Members</h4>
+<div class="informaltable"><table width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
<tbody>
<tr>
-<td><p><a name="GUM-USERTYPE-NONE:CAPS"></a><span class="term"><code class="literal">GUM_USERTYPE_NONE</code></span></p></td>
-<td>user type not defined/set
+<td class="enum_member_name"><p><a name="GUM-USERTYPE-NONE:CAPS"></a>GUM_USERTYPE_NONE</p></td>
+<td class="enum_member_description">
+<p>user type not defined/set</p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-USERTYPE-SYSTEM:CAPS"></a><span class="term"><code class="literal">GUM_USERTYPE_SYSTEM</code></span></p></td>
-<td>no home directory will be created for system user.
+<td class="enum_member_name"><p><a name="GUM-USERTYPE-SYSTEM:CAPS"></a>GUM_USERTYPE_SYSTEM</p></td>
+<td class="enum_member_description">
+<p>no home directory will be created for system user.
System user is not able to use login/logout functionality as
its primary usage is limited to system daemons. Uid will be chosen between
-<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS" title="GUM_CONFIG_GENERAL_SYS_UID_MIN"><span class="type">GUM_CONFIG_GENERAL_SYS_UID_MIN</span></a> and <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_SYS_UID_MAX"><span class="type">GUM_CONFIG_GENERAL_SYS_UID_MAX</span></a>
+<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS" title="GUM_CONFIG_GENERAL_SYS_UID_MIN"><span class="type">GUM_CONFIG_GENERAL_SYS_UID_MIN</span></a> and <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_SYS_UID_MAX"><span class="type">GUM_CONFIG_GENERAL_SYS_UID_MAX</span></a></p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-USERTYPE-ADMIN:CAPS"></a><span class="term"><code class="literal">GUM_USERTYPE_ADMIN</code></span></p></td>
-<td>admin user is similar to normal user with the addition
+<td class="enum_member_name"><p><a name="GUM-USERTYPE-ADMIN:CAPS"></a>GUM_USERTYPE_ADMIN</p></td>
+<td class="enum_member_description">
+<p>admin user is similar to normal user with the addition
that it will be assigned to admin user groups at the time of account
creation. Uid will be chosen between <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MIN:CAPS" title="GUM_CONFIG_GENERAL_UID_MIN"><span class="type">GUM_CONFIG_GENERAL_UID_MIN</span></a> and
-<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_UID_MAX"><span class="type">GUM_CONFIG_GENERAL_UID_MAX</span></a>
+<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_UID_MAX"><span class="type">GUM_CONFIG_GENERAL_UID_MAX</span></a></p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-USERTYPE-GUEST:CAPS"></a><span class="term"><code class="literal">GUM_USERTYPE_GUEST</code></span></p></td>
-<td>guest user does not need secret/password to login.
+<td class="enum_member_name"><p><a name="GUM-USERTYPE-GUEST:CAPS"></a>GUM_USERTYPE_GUEST</p></td>
+<td class="enum_member_description">
+<p>guest user does not need secret/password to login.
Guest user home directory is created with login and cleaned up/destroyed
when user logs out. Uid will be chosen between <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MIN:CAPS" title="GUM_CONFIG_GENERAL_UID_MIN"><span class="type">GUM_CONFIG_GENERAL_UID_MIN</span></a>
-and <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_UID_MAX"><span class="type">GUM_CONFIG_GENERAL_UID_MAX</span></a>
+and <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_UID_MAX"><span class="type">GUM_CONFIG_GENERAL_UID_MAX</span></a></p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
<tr>
-<td><p><a name="GUM-USERTYPE-NORMAL:CAPS"></a><span class="term"><code class="literal">GUM_USERTYPE_NORMAL</code></span></p></td>
-<td>normal user with home directory created based on prefix
+<td class="enum_member_name"><p><a name="GUM-USERTYPE-NORMAL:CAPS"></a>GUM_USERTYPE_NORMAL</p></td>
+<td class="enum_member_description">
+<p>normal user with home directory created based on prefix
<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-HOME-DIR-PREF:CAPS" title="GUM_CONFIG_GENERAL_HOME_DIR_PREF"><span class="type">GUM_CONFIG_GENERAL_HOME_DIR_PREF</span></a>. Contents of <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SKEL-DIR:CAPS" title="GUM_CONFIG_GENERAL_SKEL_DIR"><span class="type">GUM_CONFIG_GENERAL_SKEL_DIR</span></a>
are copied to the home directory. Uid will be chosen between
-<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MIN:CAPS" title="GUM_CONFIG_GENERAL_UID_MIN"><span class="type">GUM_CONFIG_GENERAL_UID_MIN</span></a> and <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_UID_MAX"><span class="type">GUM_CONFIG_GENERAL_UID_MAX</span></a>
+<a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MIN:CAPS" title="GUM_CONFIG_GENERAL_UID_MIN"><span class="type">GUM_CONFIG_GENERAL_UID_MIN</span></a> and <a class="link" href="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS" title="GUM_CONFIG_GENERAL_UID_MAX"><span class="type">GUM_CONFIG_GENERAL_UID_MAX</span></a></p>
</td>
+<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
+</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Utils</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Utils</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="index.html" title="gumd API Reference Manual">
<link rel="prev" href="GumGroup.html" title="GumGroup">
<link rel="next" href="ch04.html" title="Appendices">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
-<td><a accesskey="p" href="GumGroup.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td> </td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="ch04.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="GumGroup.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="ch04.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gumd-utils"></a><div class="titlepage"></div>
</p>
</div>
<div class="refsect1">
-<a name="idp7279376"></a><h2>Add User</h2>
+<a name="id-1.7.3"></a><h2>Add User</h2>
<p>
User can be added with flag <strong class="userinput"><code>--add-user</code></strong>:
</p>
</p>
</div>
<div class="refsect1">
-<a name="idp12027552"></a><h2>Delete User</h2>
+<a name="id-1.7.4"></a><h2>Delete User</h2>
<p>
User can be deleted with flag <strong class="userinput"><code>--delete-user</code></strong>:
</p>
</p>
</div>
<div class="refsect1">
-<a name="idp12204352"></a><h2>Update User</h2>
+<a name="id-1.7.5"></a><h2>Update User</h2>
<p>
User can be update with flag <strong class="userinput"><code>--update-user</code></strong>:
</p>
</p>
</div>
<div class="refsect1">
-<a name="idp12209264"></a><h2>Get User</h2>
+<a name="id-1.7.6"></a><h2>Get User</h2>
<p>
User data can be retrieved with flag <strong class="userinput"><code>--get-user</code></strong>:
</p>
</p>
</div>
<div class="refsect1">
-<a name="idp12818160"></a><h2>Get User By Name</h2>
+<a name="id-1.7.7"></a><h2>Get User By Name</h2>
<p>
User data can be retrieved with flag <strong class="userinput"><code>--get-user-by-name</code></strong>:
</p>
</p>
</div>
<div class="refsect1">
-<a name="idp12843584"></a><h2>Add Group</h2>
+<a name="id-1.7.8"></a><h2>Add Group</h2>
<p>
Group can be added with flag <strong class="userinput"><code>--add-group</code></strong>:
</p>
</p>
</div>
<div class="refsect1">
-<a name="idp12848352"></a><h2>Delete Group</h2>
+<a name="id-1.7.9"></a><h2>Delete Group</h2>
<p>
Group can be deleted with flag <strong class="userinput"><code>--delete-group</code></strong>:
</p>
</p>
</div>
<div class="refsect1">
-<a name="idp12852864"></a><h2>Update Group</h2>
+<a name="id-1.7.10"></a><h2>Update Group</h2>
<p>
Group can be updated with flag <strong class="userinput"><code>--udpate-group</code></strong>:
</p>
</p>
</div>
<div class="refsect1">
-<a name="idp12857456"></a><h2>Get Group</h2>
+<a name="id-1.7.11"></a><h2>Get Group</h2>
<p>
Group data can be retrieved with flag <strong class="userinput"><code>--get-group</code></strong>:
</p>
</p>
</div>
<div class="refsect1">
-<a name="idp14177664"></a><h2>Get Group By Name</h2>
+<a name="id-1.7.12"></a><h2>Get Group By Name</h2>
<p>
Group data can be retrieved with flag <strong class="userinput"><code>--get-group-by-name</code></strong>:
</p>
</p>
</div>
<div class="refsect1">
-<a name="idp14182176"></a><h2>Add member To Group</h2>
+<a name="id-1.7.13"></a><h2>Add member To Group</h2>
<p>
New member can be added to a group with flag <strong class="userinput"><code>--add-member</code></strong>:
</p>
</p>
</div>
<div class="refsect1">
-<a name="idp14186784"></a><h2>Delete member From Group</h2>
+<a name="id-1.7.14"></a><h2>Delete member From Group</h2>
<p>
A member can be removed from the group with flag <strong class="userinput"><code>--delete-member</code></strong>:
</p>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
</sub>
</chapters>
<functions>
+ <keyword type="function" name="gum_config_new ()" link="GumConfig.html#gum-config-new"/>
+ <keyword type="function" name="gum_config_get_int ()" link="GumConfig.html#gum-config-get-int"/>
+ <keyword type="function" name="gum_config_set_int ()" link="GumConfig.html#gum-config-set-int"/>
+ <keyword type="function" name="gum_config_get_uint ()" link="GumConfig.html#gum-config-get-uint"/>
+ <keyword type="function" name="gum_config_set_uint ()" link="GumConfig.html#gum-config-set-uint"/>
+ <keyword type="function" name="gum_config_get_string ()" link="GumConfig.html#gum-config-get-string"/>
+ <keyword type="function" name="gum_config_set_string ()" link="GumConfig.html#gum-config-set-string"/>
<keyword type="macro" name="GUM_UMASK" link="GumConfig.html#GUM-UMASK:CAPS"/>
- <keyword type="struct" name="struct GumConfig" link="GumConfig.html#GumConfig-struct"/>
- <keyword type="struct" name="struct GumConfigClass" link="GumConfig.html#GumConfigClass"/>
- <keyword type="function" name="gum_config_get_int ()" link="GumConfig.html#gum-config-get-int"/>
- <keyword type="function" name="gum_config_get_string ()" link="GumConfig.html#gum-config-get-string"/>
- <keyword type="function" name="gum_config_get_uint ()" link="GumConfig.html#gum-config-get-uint"/>
- <keyword type="function" name="gum_config_new ()" link="GumConfig.html#gum-config-new"/>
- <keyword type="function" name="gum_config_set_int ()" link="GumConfig.html#gum-config-set-int"/>
- <keyword type="function" name="gum_config_set_string ()" link="GumConfig.html#gum-config-set-string"/>
- <keyword type="function" name="gum_config_set_uint ()" link="GumConfig.html#gum-config-set-uint"/>
<keyword type="macro" name="GUM_CONFIG_GENERAL" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-DEF-ADMIN-GROUPS:CAPS"/>
<keyword type="macro" name="GUM_CONFIG_GENERAL_DEF_USR_GROUPS" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-DEF-USR-GROUPS:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_ENCRYPT_METHOD" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-ENCRYPT-METHOD:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_GID_MAX" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MAX:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_GID_MIN" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MIN:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-DEF-ADMIN-GROUPS:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_PASSWD_FILE" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASSWD-FILE:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_SHADOW_FILE" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SHADOW-FILE:CAPS"/>
<keyword type="macro" name="GUM_CONFIG_GENERAL_GROUP_FILE" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GROUP-FILE:CAPS"/>
<keyword type="macro" name="GUM_CONFIG_GENERAL_GSHADOW_FILE" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GSHADOW-FILE:CAPS"/>
<keyword type="macro" name="GUM_CONFIG_GENERAL_HOME_DIR_PREF" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-HOME-DIR-PREF:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_PASSWD_FILE" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASSWD-FILE:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_PASS_MAX_DAYS" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MAX-DAYS:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_PASS_MIN_DAYS" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MIN-DAYS:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_PASS_WARN_AGE" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-WARN-AGE:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_SHADOW_FILE" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SHADOW-FILE:CAPS"/>
<keyword type="macro" name="GUM_CONFIG_GENERAL_SHELL" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SHELL:CAPS"/>
<keyword type="macro" name="GUM_CONFIG_GENERAL_SKEL_DIR" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SKEL-DIR:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_SMACK64_NEW_FILES" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-NEW-FILES:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_SMACK64_USER_FILES" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-USER-FILES:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_SYS_GID_MAX" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MAX:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_SYS_GID_MIN" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_SYS_UID_MAX" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_SYS_UID_MIN" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_GENERAL_UID_MAX" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS"/>
<keyword type="macro" name="GUM_CONFIG_GENERAL_UID_MIN" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MIN:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_UID_MAX" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_SYS_UID_MIN" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_SYS_UID_MAX" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_GID_MIN" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MIN:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_GID_MAX" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MAX:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_SYS_GID_MIN" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_SYS_GID_MAX" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MAX:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_PASS_MIN_DAYS" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MIN-DAYS:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_PASS_MAX_DAYS" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MAX-DAYS:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_PASS_WARN_AGE" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-WARN-AGE:CAPS"/>
<keyword type="macro" name="GUM_CONFIG_GENERAL_UMASK" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-UMASK:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_DBUS_DAEMON_TIMEOUT" link="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-DAEMON-TIMEOUT:CAPS"/>
- <keyword type="macro" name="GUM_CONFIG_DBUS_GROUP_TIMEOUT" link="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-GROUP-TIMEOUT:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_ENCRYPT_METHOD" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-ENCRYPT-METHOD:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_SMACK64_NEW_FILES" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-NEW-FILES:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_GENERAL_SMACK64_USER_FILES" link="gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-USER-FILES:CAPS"/>
<keyword type="macro" name="GUM_CONFIG_DBUS_TIMEOUTS" link="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-TIMEOUTS:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_DBUS_DAEMON_TIMEOUT" link="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-DAEMON-TIMEOUT:CAPS"/>
<keyword type="macro" name="GUM_CONFIG_DBUS_USER_TIMEOUT" link="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-USER-TIMEOUT:CAPS"/>
- <keyword type="typedef" name="GumDictionary" link="gumd-GumDictionary.html#GumDictionary"/>
- <keyword type="function" name="gum_dictionary_copy ()" link="gumd-GumDictionary.html#gum-dictionary-copy"/>
- <keyword type="function" name="gum_dictionary_get ()" link="gumd-GumDictionary.html#gum-dictionary-get"/>
- <keyword type="function" name="gum_dictionary_get_boolean ()" link="gumd-GumDictionary.html#gum-dictionary-get-boolean"/>
- <keyword type="function" name="gum_dictionary_get_int32 ()" link="gumd-GumDictionary.html#gum-dictionary-get-int32"/>
- <keyword type="function" name="gum_dictionary_get_int64 ()" link="gumd-GumDictionary.html#gum-dictionary-get-int64"/>
- <keyword type="function" name="gum_dictionary_get_string ()" link="gumd-GumDictionary.html#gum-dictionary-get-string"/>
- <keyword type="function" name="gum_dictionary_get_uint32 ()" link="gumd-GumDictionary.html#gum-dictionary-get-uint32"/>
- <keyword type="function" name="gum_dictionary_get_uint64 ()" link="gumd-GumDictionary.html#gum-dictionary-get-uint64"/>
- <keyword type="function" name="gum_dictionary_new ()" link="gumd-GumDictionary.html#gum-dictionary-new"/>
- <keyword type="function" name="gum_dictionary_new_from_variant ()" link="gumd-GumDictionary.html#gum-dictionary-new-from-variant"/>
- <keyword type="function" name="gum_dictionary_ref ()" link="gumd-GumDictionary.html#gum-dictionary-ref"/>
- <keyword type="function" name="gum_dictionary_remove ()" link="gumd-GumDictionary.html#gum-dictionary-remove"/>
- <keyword type="function" name="gum_dictionary_set ()" link="gumd-GumDictionary.html#gum-dictionary-set"/>
- <keyword type="function" name="gum_dictionary_set_boolean ()" link="gumd-GumDictionary.html#gum-dictionary-set-boolean"/>
- <keyword type="function" name="gum_dictionary_set_int32 ()" link="gumd-GumDictionary.html#gum-dictionary-set-int32"/>
- <keyword type="function" name="gum_dictionary_set_int64 ()" link="gumd-GumDictionary.html#gum-dictionary-set-int64"/>
- <keyword type="function" name="gum_dictionary_set_string ()" link="gumd-GumDictionary.html#gum-dictionary-set-string"/>
- <keyword type="function" name="gum_dictionary_set_uint32 ()" link="gumd-GumDictionary.html#gum-dictionary-set-uint32"/>
- <keyword type="function" name="gum_dictionary_set_uint64 ()" link="gumd-GumDictionary.html#gum-dictionary-set-uint64"/>
- <keyword type="function" name="gum_dictionary_to_variant ()" link="gumd-GumDictionary.html#gum-dictionary-to-variant"/>
- <keyword type="function" name="gum_dictionary_unref ()" link="gumd-GumDictionary.html#gum-dictionary-unref"/>
- <keyword type="function" name="gum_crypt_cmp_secret ()" link="gumd-Gum-Crypt.html#gum-crypt-cmp-secret"/>
- <keyword type="function" name="gum_crypt_encrypt_secret ()" link="gumd-Gum-Crypt.html#gum-crypt-encrypt-secret"/>
- <keyword type="macro" name="DBG()" link="gumd-Logging.html#DBG:CAPS"/>
- <keyword type="macro" name="ERR()" link="gumd-Logging.html#ERR:CAPS"/>
- <keyword type="macro" name="INFO()" link="gumd-Logging.html#INFO:CAPS"/>
+ <keyword type="macro" name="GUM_CONFIG_DBUS_GROUP_TIMEOUT" link="gumd-DBus-configuration.html#GUM-CONFIG-DBUS-GROUP-TIMEOUT:CAPS"/>
+ <keyword type="function" name="gum_dictionary_new ()" link="gumd-GumDictionary.html#gum-dictionary-new"/>
+ <keyword type="function" name="gum_dictionary_ref ()" link="gumd-GumDictionary.html#gum-dictionary-ref"/>
+ <keyword type="function" name="gum_dictionary_unref ()" link="gumd-GumDictionary.html#gum-dictionary-unref"/>
+ <keyword type="function" name="gum_dictionary_copy ()" link="gumd-GumDictionary.html#gum-dictionary-copy"/>
+ <keyword type="function" name="gum_dictionary_new_from_variant ()" link="gumd-GumDictionary.html#gum-dictionary-new-from-variant"/>
+ <keyword type="function" name="gum_dictionary_to_variant ()" link="gumd-GumDictionary.html#gum-dictionary-to-variant"/>
+ <keyword type="function" name="gum_dictionary_get ()" link="gumd-GumDictionary.html#gum-dictionary-get"/>
+ <keyword type="function" name="gum_dictionary_set ()" link="gumd-GumDictionary.html#gum-dictionary-set"/>
+ <keyword type="function" name="gum_dictionary_get_boolean ()" link="gumd-GumDictionary.html#gum-dictionary-get-boolean"/>
+ <keyword type="function" name="gum_dictionary_set_boolean ()" link="gumd-GumDictionary.html#gum-dictionary-set-boolean"/>
+ <keyword type="function" name="gum_dictionary_get_int32 ()" link="gumd-GumDictionary.html#gum-dictionary-get-int32"/>
+ <keyword type="function" name="gum_dictionary_set_int32 ()" link="gumd-GumDictionary.html#gum-dictionary-set-int32"/>
+ <keyword type="function" name="gum_dictionary_get_uint32 ()" link="gumd-GumDictionary.html#gum-dictionary-get-uint32"/>
+ <keyword type="function" name="gum_dictionary_set_uint32 ()" link="gumd-GumDictionary.html#gum-dictionary-set-uint32"/>
+ <keyword type="function" name="gum_dictionary_get_int64 ()" link="gumd-GumDictionary.html#gum-dictionary-get-int64"/>
+ <keyword type="function" name="gum_dictionary_set_int64 ()" link="gumd-GumDictionary.html#gum-dictionary-set-int64"/>
+ <keyword type="function" name="gum_dictionary_get_uint64 ()" link="gumd-GumDictionary.html#gum-dictionary-get-uint64"/>
+ <keyword type="function" name="gum_dictionary_set_uint64 ()" link="gumd-GumDictionary.html#gum-dictionary-set-uint64"/>
+ <keyword type="function" name="gum_dictionary_get_string ()" link="gumd-GumDictionary.html#gum-dictionary-get-string"/>
+ <keyword type="function" name="gum_dictionary_set_string ()" link="gumd-GumDictionary.html#gum-dictionary-set-string"/>
+ <keyword type="function" name="gum_dictionary_remove ()" link="gumd-GumDictionary.html#gum-dictionary-remove"/>
+ <keyword type="function" name="gum_crypt_encrypt_secret ()" link="gumd-Gum-Crypt.html#gum-crypt-encrypt-secret"/>
+ <keyword type="function" name="gum_crypt_cmp_secret ()" link="gumd-Gum-Crypt.html#gum-crypt-cmp-secret"/>
<keyword type="macro" name="TRACEBACK" link="gumd-Logging.html#TRACEBACK:CAPS"/>
+ <keyword type="macro" name="ERR()" link="gumd-Logging.html#ERR:CAPS"/>
<keyword type="macro" name="WARN()" link="gumd-Logging.html#WARN:CAPS"/>
+ <keyword type="macro" name="INFO()" link="gumd-Logging.html#INFO:CAPS"/>
+ <keyword type="macro" name="DBG()" link="gumd-Logging.html#DBG:CAPS"/>
<keyword type="macro" name="GUM_ERROR" link="gumd-Errors.html#GUM-ERROR:CAPS"/>
<keyword type="macro" name="GUM_GET_ERROR_FOR_ID()" link="gumd-Errors.html#GUM-GET-ERROR-FOR-ID:CAPS"/>
- <keyword type="macro" name="GUM_RETURN_WITH_ERROR()" link="gumd-Errors.html#GUM-RETURN-WITH-ERROR:CAPS"/>
<keyword type="macro" name="GUM_SET_ERROR()" link="gumd-Errors.html#GUM-SET-ERROR:CAPS"/>
+ <keyword type="macro" name="GUM_RETURN_WITH_ERROR()" link="gumd-Errors.html#GUM-RETURN-WITH-ERROR:CAPS"/>
+ <keyword type="function" name="gum_error_quark ()" link="gumd-Errors.html#gum-error-quark"/>
+ <keyword type="function" name="gum_error_new_from_variant ()" link="gumd-Errors.html#gum-error-new-from-variant"/>
+ <keyword type="function" name="gum_error_to_variant ()" link="gumd-Errors.html#gum-error-to-variant"/>
<keyword type="enum" name="enum GumError" link="gumd-Errors.html#GumError"/>
- <keyword type="function" name="gum_error_new_from_variant ()" link="gumd-Errors.html#gum-error-new-from-variant"/>
- <keyword type="function" name="gum_error_quark ()" link="gumd-Errors.html#gum-error-quark"/>
- <keyword type="function" name="gum_error_to_variant ()" link="gumd-Errors.html#gum-error-to-variant"/>
- <keyword type="struct" name="struct GumDisposable" link="GumDisposable.html#GumDisposable-struct"/>
- <keyword type="struct" name="struct GumDisposableClass" link="GumDisposable.html#GumDisposableClass"/>
- <keyword type="function" name="gum_disposable_delete_later ()" link="GumDisposable.html#gum-disposable-delete-later"/>
- <keyword type="function" name="gum_disposable_get_auto_dispose ()" link="GumDisposable.html#gum-disposable-get-auto-dispose"/>
- <keyword type="function" name="gum_disposable_set_auto_dispose ()" link="GumDisposable.html#gum-disposable-set-auto-dispose"/>
- <keyword type="function" name="gum_disposable_set_timeout ()" link="GumDisposable.html#gum-disposable-set-timeout"/>
- <keyword type="property" name="The "auto-dispose" property" link="GumDisposable.html#GumDisposable--auto-dispose"/>
- <keyword type="property" name="The "delete-later" property" link="GumDisposable.html#GumDisposable--delete-later"/>
- <keyword type="property" name="The "timeout" property" link="GumDisposable.html#GumDisposable--timeout"/>
- <keyword type="signal" name="The "disposing" signal" link="GumDisposable.html#GumDisposable-disposing"/>
- <keyword type="function" name="GumFileUpdateCB ()" link="gumd-Gum-File.html#GumFileUpdateCB"/>
+ <keyword type="function" name="gum_disposable_set_auto_dispose ()" link="GumDisposable.html#gum-disposable-set-auto-dispose"/>
+ <keyword type="function" name="gum_disposable_get_auto_dispose ()" link="GumDisposable.html#gum-disposable-get-auto-dispose"/>
+ <keyword type="function" name="gum_disposable_set_timeout ()" link="GumDisposable.html#gum-disposable-set-timeout"/>
+ <keyword type="function" name="gum_disposable_delete_later ()" link="GumDisposable.html#gum-disposable-delete-later"/>
+ <keyword type="property" name="The “auto-dispose” property" link="GumDisposable.html#GumDisposable--auto-dispose"/>
+ <keyword type="property" name="The “delete-later” property" link="GumDisposable.html#GumDisposable--delete-later"/>
+ <keyword type="property" name="The “timeout” property" link="GumDisposable.html#GumDisposable--timeout"/>
+ <keyword type="signal" name="The “disposing” signal" link="GumDisposable.html#GumDisposable-disposing"/>
+ <keyword type="function" name="GumFileUpdateCB ()" link="gumd-Gum-File.html#GumFileUpdateCB"/>
+ <keyword type="function" name="gum_file_update ()" link="gumd-Gum-File.html#gum-file-update"/>
+ <keyword type="function" name="gum_file_open_db_files ()" link="gumd-Gum-File.html#gum-file-open-db-files"/>
+ <keyword type="function" name="gum_file_close_db_files ()" link="gumd-Gum-File.html#gum-file-close-db-files"/>
+ <keyword type="function" name="gum_file_getpwnam ()" link="gumd-Gum-File.html#gum-file-getpwnam"/>
+ <keyword type="function" name="gum_file_getpwuid ()" link="gumd-Gum-File.html#gum-file-getpwuid"/>
+ <keyword type="function" name="gum_file_find_user_by_gid ()" link="gumd-Gum-File.html#gum-file-find-user-by-gid"/>
+ <keyword type="function" name="gum_file_getspnam ()" link="gumd-Gum-File.html#gum-file-getspnam"/>
+ <keyword type="function" name="gum_file_getgrnam ()" link="gumd-Gum-File.html#gum-file-getgrnam"/>
+ <keyword type="function" name="gum_file_getgrgid ()" link="gumd-Gum-File.html#gum-file-getgrgid"/>
+ <keyword type="function" name="gum_file_getsgnam ()" link="gumd-Gum-File.html#gum-file-getsgnam"/>
+ <keyword type="function" name="gum_file_new_path ()" link="gumd-Gum-File.html#gum-file-new-path"/>
+ <keyword type="function" name="gum_file_create_home_dir ()" link="gumd-Gum-File.html#gum-file-create-home-dir"/>
+ <keyword type="function" name="gum_file_delete_home_dir ()" link="gumd-Gum-File.html#gum-file-delete-home-dir"/>
<keyword type="enum" name="enum GumOpType" link="gumd-Gum-File.html#GumOpType"/>
- <keyword type="function" name="gum_file_close_db_files ()" link="gumd-Gum-File.html#gum-file-close-db-files"/>
- <keyword type="function" name="gum_file_create_home_dir ()" link="gumd-Gum-File.html#gum-file-create-home-dir"/>
- <keyword type="function" name="gum_file_delete_home_dir ()" link="gumd-Gum-File.html#gum-file-delete-home-dir"/>
- <keyword type="function" name="gum_file_find_user_by_gid ()" link="gumd-Gum-File.html#gum-file-find-user-by-gid"/>
- <keyword type="function" name="gum_file_getgrgid ()" link="gumd-Gum-File.html#gum-file-getgrgid"/>
- <keyword type="function" name="gum_file_getgrnam ()" link="gumd-Gum-File.html#gum-file-getgrnam"/>
- <keyword type="function" name="gum_file_getpwnam ()" link="gumd-Gum-File.html#gum-file-getpwnam"/>
- <keyword type="function" name="gum_file_getpwuid ()" link="gumd-Gum-File.html#gum-file-getpwuid"/>
- <keyword type="function" name="gum_file_getsgnam ()" link="gumd-Gum-File.html#gum-file-getsgnam"/>
- <keyword type="function" name="gum_file_getspnam ()" link="gumd-Gum-File.html#gum-file-getspnam"/>
- <keyword type="function" name="gum_file_new_path ()" link="gumd-Gum-File.html#gum-file-new-path"/>
- <keyword type="function" name="gum_file_open_db_files ()" link="gumd-Gum-File.html#gum-file-open-db-files"/>
- <keyword type="function" name="gum_file_update ()" link="gumd-Gum-File.html#gum-file-update"/>
- <keyword type="macro" name="GUM_DB_ENTRY_PATTERN" link="gumd-Gum-Validate.html#GUM-DB-ENTRY-PATTERN:CAPS"/>
+ <keyword type="function" name="gum_validate_name ()" link="gumd-Gum-Validate.html#gum-validate-name"/>
+ <keyword type="function" name="gum_validate_generate_username ()" link="gumd-Gum-Validate.html#gum-validate-generate-username"/>
+ <keyword type="function" name="gum_validate_db_string_entry_regx ()" link="gumd-Gum-Validate.html#gum-validate-db-string-entry-regx"/>
+ <keyword type="function" name="gum_validate_db_string_entry ()" link="gumd-Gum-Validate.html#gum-validate-db-string-entry"/>
+ <keyword type="function" name="gum_validate_db_secret_entry ()" link="gumd-Gum-Validate.html#gum-validate-db-secret-entry"/>
<keyword type="macro" name="GUM_NAME_PATTERN" link="gumd-Gum-Validate.html#GUM-NAME-PATTERN:CAPS"/>
- <keyword type="function" name="gum_validate_db_secret_entry ()" link="gumd-Gum-Validate.html#gum-validate-db-secret-entry"/>
- <keyword type="function" name="gum_validate_db_string_entry ()" link="gumd-Gum-Validate.html#gum-validate-db-string-entry"/>
- <keyword type="function" name="gum_validate_db_string_entry_regx ()" link="gumd-Gum-Validate.html#gum-validate-db-string-entry-regx"/>
- <keyword type="function" name="gum_validate_generate_username ()" link="gumd-Gum-Validate.html#gum-validate-generate-username"/>
- <keyword type="function" name="gum_validate_name ()" link="gumd-Gum-Validate.html#gum-validate-name"/>
- <keyword type="function" name="gum_lock_pwdf_lock ()" link="gumd-Gum-Lock.html#gum-lock-pwdf-lock"/>
- <keyword type="function" name="gum_lock_pwdf_unlock ()" link="gumd-Gum-Lock.html#gum-lock-pwdf-unlock"/>
- <keyword type="macro" name="GUM_STR_DUP()" link="gumd-Gum-String-Utils.html#GUM-STR-DUP:CAPS"/>
- <keyword type="macro" name="GUM_STR_DUPV()" link="gumd-Gum-String-Utils.html#GUM-STR-DUPV:CAPS"/>
+ <keyword type="macro" name="GUM_DB_ENTRY_PATTERN" link="gumd-Gum-Validate.html#GUM-DB-ENTRY-PATTERN:CAPS"/>
+ <keyword type="function" name="gum_lock_pwdf_lock ()" link="gumd-Gum-Lock.html#gum-lock-pwdf-lock"/>
+ <keyword type="function" name="gum_lock_pwdf_unlock ()" link="gumd-Gum-Lock.html#gum-lock-pwdf-unlock"/>
<keyword type="macro" name="GUM_STR_FREE()" link="gumd-Gum-String-Utils.html#GUM-STR-FREE:CAPS"/>
+ <keyword type="macro" name="GUM_STR_DUP()" link="gumd-Gum-String-Utils.html#GUM-STR-DUP:CAPS"/>
<keyword type="macro" name="GUM_STR_FREEV()" link="gumd-Gum-String-Utils.html#GUM-STR-FREEV:CAPS"/>
- <keyword type="function" name="gum_string_utils_append_string ()" link="gumd-Gum-String-Utils.html#gum-string-utils-append-string"/>
- <keyword type="function" name="gum_string_utils_delete_string ()" link="gumd-Gum-String-Utils.html#gum-string-utils-delete-string"/>
- <keyword type="function" name="gum_string_utils_get_string ()" link="gumd-Gum-String-Utils.html#gum-string-utils-get-string"/>
- <keyword type="function" name="gum_string_utils_insert_string ()" link="gumd-Gum-String-Utils.html#gum-string-utils-insert-string"/>
- <keyword type="function" name="gum_string_utils_search_string ()" link="gumd-Gum-String-Utils.html#gum-string-utils-search-string"/>
- <keyword type="function" name="gum_string_utils_search_stringv ()" link="gumd-Gum-String-Utils.html#gum-string-utils-search-stringv"/>
- <keyword type="function" name="gum_utils_drop_privileges ()" link="gumd-Gum-Utils.html#gum-utils-drop-privileges"/>
- <keyword type="function" name="gum_utils_gain_privileges ()" link="gumd-Gum-Utils.html#gum-utils-gain-privileges"/>
- <keyword type="function" name="gum_utils_generate_nonce ()" link="gumd-Gum-Utils.html#gum-utils-generate-nonce"/>
+ <keyword type="macro" name="GUM_STR_DUPV()" link="gumd-Gum-String-Utils.html#GUM-STR-DUPV:CAPS"/>
+ <keyword type="function" name="gum_string_utils_search_string ()" link="gumd-Gum-String-Utils.html#gum-string-utils-search-string"/>
+ <keyword type="function" name="gum_string_utils_search_stringv ()" link="gumd-Gum-String-Utils.html#gum-string-utils-search-stringv"/>
+ <keyword type="function" name="gum_string_utils_get_string ()" link="gumd-Gum-String-Utils.html#gum-string-utils-get-string"/>
+ <keyword type="function" name="gum_string_utils_insert_string ()" link="gumd-Gum-String-Utils.html#gum-string-utils-insert-string"/>
+ <keyword type="function" name="gum_string_utils_delete_string ()" link="gumd-Gum-String-Utils.html#gum-string-utils-delete-string"/>
+ <keyword type="function" name="gum_string_utils_append_string ()" link="gumd-Gum-String-Utils.html#gum-string-utils-append-string"/>
+ <keyword type="function" name="gum_utils_generate_nonce ()" link="gumd-Gum-Utils.html#gum-utils-generate-nonce"/>
+ <keyword type="function" name="gum_utils_drop_privileges ()" link="gumd-Gum-Utils.html#gum-utils-drop-privileges"/>
+ <keyword type="function" name="gum_utils_gain_privileges ()" link="gumd-Gum-Utils.html#gum-utils-gain-privileges"/>
<keyword type="enum" name="enum GumUserType" link="gumd-User-types.html#GumUserType"/>
<keyword type="enum" name="enum GumGroupType" link="gumd-Group-types.html#GumGroupType"/>
- <keyword type="struct" name="struct GumUser" link="GumUser.html#GumUser-struct"/>
- <keyword type="function" name="GumUserCb ()" link="GumUser.html#GumUserCb"/>
- <keyword type="struct" name="struct GumUserClass" link="GumUser.html#GumUserClass"/>
- <keyword type="function" name="gum_user_add ()" link="GumUser.html#gum-user-add"/>
- <keyword type="function" name="gum_user_add_sync ()" link="GumUser.html#gum-user-add-sync"/>
- <keyword type="function" name="gum_user_create ()" link="GumUser.html#gum-user-create"/>
- <keyword type="function" name="gum_user_create_sync ()" link="GumUser.html#gum-user-create-sync"/>
- <keyword type="function" name="gum_user_delete ()" link="GumUser.html#gum-user-delete"/>
- <keyword type="function" name="gum_user_delete_sync ()" link="GumUser.html#gum-user-delete-sync"/>
- <keyword type="function" name="gum_user_get ()" link="GumUser.html#gum-user-get"/>
- <keyword type="function" name="gum_user_get_by_name ()" link="GumUser.html#gum-user-get-by-name"/>
- <keyword type="function" name="gum_user_get_by_name_sync ()" link="GumUser.html#gum-user-get-by-name-sync"/>
- <keyword type="function" name="gum_user_get_sync ()" link="GumUser.html#gum-user-get-sync"/>
- <keyword type="function" name="gum_user_update ()" link="GumUser.html#gum-user-update"/>
- <keyword type="function" name="gum_user_update_sync ()" link="GumUser.html#gum-user-update-sync"/>
- <keyword type="property" name="The "gid" property" link="GumUser.html#GumUser--gid"/>
- <keyword type="property" name="The "homedir" property" link="GumUser.html#GumUser--homedir"/>
- <keyword type="property" name="The "homephone" property" link="GumUser.html#GumUser--homephone"/>
- <keyword type="property" name="The "nickname" property" link="GumUser.html#GumUser--nickname"/>
- <keyword type="property" name="The "office" property" link="GumUser.html#GumUser--office"/>
- <keyword type="property" name="The "officephone" property" link="GumUser.html#GumUser--officephone"/>
- <keyword type="property" name="The "realname" property" link="GumUser.html#GumUser--realname"/>
- <keyword type="property" name="The "secret" property" link="GumUser.html#GumUser--secret"/>
- <keyword type="property" name="The "shell" property" link="GumUser.html#GumUser--shell"/>
- <keyword type="property" name="The "uid" property" link="GumUser.html#GumUser--uid"/>
- <keyword type="property" name="The "username" property" link="GumUser.html#GumUser--username"/>
- <keyword type="property" name="The "usertype" property" link="GumUser.html#GumUser--usertype"/>
- <keyword type="struct" name="struct GumGroup" link="GumGroup.html#GumGroup-struct"/>
- <keyword type="function" name="GumGroupCb ()" link="GumGroup.html#GumGroupCb"/>
- <keyword type="struct" name="struct GumGroupClass" link="GumGroup.html#GumGroupClass"/>
- <keyword type="function" name="gum_group_add ()" link="GumGroup.html#gum-group-add"/>
- <keyword type="function" name="gum_group_add_member ()" link="GumGroup.html#gum-group-add-member"/>
- <keyword type="function" name="gum_group_add_member_sync ()" link="GumGroup.html#gum-group-add-member-sync"/>
- <keyword type="function" name="gum_group_add_sync ()" link="GumGroup.html#gum-group-add-sync"/>
- <keyword type="function" name="gum_group_create ()" link="GumGroup.html#gum-group-create"/>
- <keyword type="function" name="gum_group_create_sync ()" link="GumGroup.html#gum-group-create-sync"/>
- <keyword type="function" name="gum_group_delete ()" link="GumGroup.html#gum-group-delete"/>
- <keyword type="function" name="gum_group_delete_member ()" link="GumGroup.html#gum-group-delete-member"/>
- <keyword type="function" name="gum_group_delete_member_sync ()" link="GumGroup.html#gum-group-delete-member-sync"/>
- <keyword type="function" name="gum_group_delete_sync ()" link="GumGroup.html#gum-group-delete-sync"/>
- <keyword type="function" name="gum_group_get ()" link="GumGroup.html#gum-group-get"/>
- <keyword type="function" name="gum_group_get_by_name ()" link="GumGroup.html#gum-group-get-by-name"/>
- <keyword type="function" name="gum_group_get_by_name_sync ()" link="GumGroup.html#gum-group-get-by-name-sync"/>
- <keyword type="function" name="gum_group_get_sync ()" link="GumGroup.html#gum-group-get-sync"/>
- <keyword type="function" name="gum_group_update ()" link="GumGroup.html#gum-group-update"/>
- <keyword type="function" name="gum_group_update_sync ()" link="GumGroup.html#gum-group-update-sync"/>
- <keyword type="property" name="The "gid" property" link="GumGroup.html#GumGroup--gid"/>
- <keyword type="property" name="The "groupname" property" link="GumGroup.html#GumGroup--groupname"/>
- <keyword type="property" name="The "grouptype" property" link="GumGroup.html#GumGroup--grouptype"/>
- <keyword type="property" name="The "secret" property" link="GumGroup.html#GumGroup--secret"/>
- <keyword type="constant" name="GUM_ERROR_NONE" link="gumd-Errors.html#GUM-ERROR-NONE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_UNKNOWN" link="gumd-Errors.html#GUM-ERROR-UNKNOWN:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_INTERNAL_SERVER" link="gumd-Errors.html#GUM-ERROR-INTERNAL-SERVER:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_PERMISSION_DENIED" link="gumd-Errors.html#GUM-ERROR-PERMISSION-DENIED:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_ALREADY_EXISTS" link="gumd-Errors.html#GUM-ERROR-USER-ALREADY-EXISTS:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_GROUP_ADD_FAILURE" link="gumd-Errors.html#GUM-ERROR-USER-GROUP-ADD-FAILURE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_UID_NOT_AVAILABLE" link="gumd-Errors.html#GUM-ERROR-USER-UID-NOT-AVAILABLE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_INVALID_USER_TYPE" link="gumd-Errors.html#GUM-ERROR-USER-INVALID-USER-TYPE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_SECRET_ENCRYPT_FAILURE" link="gumd-Errors.html#GUM-ERROR-USER-SECRET-ENCRYPT-FAILURE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_NOT_FOUND" link="gumd-Errors.html#GUM-ERROR-USER-NOT-FOUND:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_INVALID_DATA" link="gumd-Errors.html#GUM-ERROR-USER-INVALID-DATA:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_GROUP_DELETE_FAILURE" link="gumd-Errors.html#GUM-ERROR-USER-GROUP-DELETE-FAILURE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_SELF_DESTRUCTION" link="gumd-Errors.html#GUM-ERROR-USER-SELF-DESTRUCTION:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_SESSION_TERM_FAILURE" link="gumd-Errors.html#GUM-ERROR-USER-SESSION-TERM-FAILURE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_NO_CHANGES" link="gumd-Errors.html#GUM-ERROR-USER-NO-CHANGES:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_LOCK_FAILURE" link="gumd-Errors.html#GUM-ERROR-USER-LOCK-FAILURE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_GROUP_ALREADY_EXISTS" link="gumd-Errors.html#GUM-ERROR-GROUP-ALREADY-EXISTS:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_GROUP_GID_NOT_AVAILABLE" link="gumd-Errors.html#GUM-ERROR-GROUP-GID-NOT-AVAILABLE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_GROUP_INVALID_GROUP_TYPE" link="gumd-Errors.html#GUM-ERROR-GROUP-INVALID-GROUP-TYPE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_GROUP_SECRET_ENCRYPT_FAILURE" link="gumd-Errors.html#GUM-ERROR-GROUP-SECRET-ENCRYPT-FAILURE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_GROUP_NOT_FOUND" link="gumd-Errors.html#GUM-ERROR-GROUP-NOT-FOUND:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_GROUP_USER_ALREADY_A_MEMBER" link="gumd-Errors.html#GUM-ERROR-GROUP-USER-ALREADY-A-MEMBER:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_GROUP_INVALID_DATA" link="gumd-Errors.html#GUM-ERROR-GROUP-INVALID-DATA:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_GROUP_SELF_DESTRUCTION" link="gumd-Errors.html#GUM-ERROR-GROUP-SELF-DESTRUCTION:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_GROUP_HAS_USER" link="gumd-Errors.html#GUM-ERROR-GROUP-HAS-USER:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_GROUP_NO_CHANGES" link="gumd-Errors.html#GUM-ERROR-GROUP-NO-CHANGES:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_DB_ALREADY_LOCKED" link="gumd-Errors.html#GUM-ERROR-DB-ALREADY-LOCKED:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_FILE_OPEN" link="gumd-Errors.html#GUM-ERROR-FILE-OPEN:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_FILE_ATTRIBUTE" link="gumd-Errors.html#GUM-ERROR-FILE-ATTRIBUTE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_FILE_MOVE" link="gumd-Errors.html#GUM-ERROR-FILE-MOVE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_FILE_WRITE" link="gumd-Errors.html#GUM-ERROR-FILE-WRITE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_HOME_DIR_CREATE_FAILURE" link="gumd-Errors.html#GUM-ERROR-HOME-DIR-CREATE-FAILURE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_HOME_DIR_DELETE_FAILURE" link="gumd-Errors.html#GUM-ERROR-HOME-DIR-DELETE-FAILURE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_HOME_DIR_COPY_FAILURE" link="gumd-Errors.html#GUM-ERROR-HOME-DIR-COPY-FAILURE:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_INVALID_NAME" link="gumd-Errors.html#GUM-ERROR-INVALID-NAME:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_INVALID_NICKNAME" link="gumd-Errors.html#GUM-ERROR-INVALID-NICKNAME:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_INVALID_SECRET" link="gumd-Errors.html#GUM-ERROR-INVALID-SECRET:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_INVALID_STR" link="gumd-Errors.html#GUM-ERROR-INVALID-STR:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_INVALID_STR_LEN" link="gumd-Errors.html#GUM-ERROR-INVALID-STR-LEN:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_INVALID_INPUT" link="gumd-Errors.html#GUM-ERROR-INVALID-INPUT:CAPS"/>
- <keyword type="constant" name="GUM_ERROR_USER_ERR" link="gumd-Errors.html#GUM-ERROR-USER-ERR:CAPS"/>
- <keyword type="constant" name="GUM_OPTYPE_ADD" link="gumd-Gum-File.html#GUM-OPTYPE-ADD:CAPS"/>
- <keyword type="constant" name="GUM_OPTYPE_DELETE" link="gumd-Gum-File.html#GUM-OPTYPE-DELETE:CAPS"/>
- <keyword type="constant" name="GUM_OPTYPE_MODIFY" link="gumd-Gum-File.html#GUM-OPTYPE-MODIFY:CAPS"/>
- <keyword type="constant" name="GUM_USERTYPE_NONE" link="gumd-User-types.html#GUM-USERTYPE-NONE:CAPS"/>
- <keyword type="constant" name="GUM_USERTYPE_SYSTEM" link="gumd-User-types.html#GUM-USERTYPE-SYSTEM:CAPS"/>
- <keyword type="constant" name="GUM_USERTYPE_ADMIN" link="gumd-User-types.html#GUM-USERTYPE-ADMIN:CAPS"/>
- <keyword type="constant" name="GUM_USERTYPE_GUEST" link="gumd-User-types.html#GUM-USERTYPE-GUEST:CAPS"/>
- <keyword type="constant" name="GUM_USERTYPE_NORMAL" link="gumd-User-types.html#GUM-USERTYPE-NORMAL:CAPS"/>
- <keyword type="constant" name="GUM_GROUPTYPE_NONE" link="gumd-Group-types.html#GUM-GROUPTYPE-NONE:CAPS"/>
- <keyword type="constant" name="GUM_GROUPTYPE_SYSTEM" link="gumd-Group-types.html#GUM-GROUPTYPE-SYSTEM:CAPS"/>
- <keyword type="constant" name="GUM_GROUPTYPE_USER" link="gumd-Group-types.html#GUM-GROUPTYPE-USER:CAPS"/>
+ <keyword type="function" name="GumUserCb ()" link="GumUser.html#GumUserCb"/>
+ <keyword type="function" name="gum_user_create ()" link="GumUser.html#gum-user-create"/>
+ <keyword type="function" name="gum_user_create_sync ()" link="GumUser.html#gum-user-create-sync"/>
+ <keyword type="function" name="gum_user_get ()" link="GumUser.html#gum-user-get"/>
+ <keyword type="function" name="gum_user_get_sync ()" link="GumUser.html#gum-user-get-sync"/>
+ <keyword type="function" name="gum_user_get_by_name ()" link="GumUser.html#gum-user-get-by-name"/>
+ <keyword type="function" name="gum_user_get_by_name_sync ()" link="GumUser.html#gum-user-get-by-name-sync"/>
+ <keyword type="function" name="gum_user_add ()" link="GumUser.html#gum-user-add"/>
+ <keyword type="function" name="gum_user_add_sync ()" link="GumUser.html#gum-user-add-sync"/>
+ <keyword type="function" name="gum_user_delete ()" link="GumUser.html#gum-user-delete"/>
+ <keyword type="function" name="gum_user_delete_sync ()" link="GumUser.html#gum-user-delete-sync"/>
+ <keyword type="function" name="gum_user_update ()" link="GumUser.html#gum-user-update"/>
+ <keyword type="function" name="gum_user_update_sync ()" link="GumUser.html#gum-user-update-sync"/>
+ <keyword type="property" name="The “gid” property" link="GumUser.html#GumUser--gid"/>
+ <keyword type="property" name="The “homedir” property" link="GumUser.html#GumUser--homedir"/>
+ <keyword type="property" name="The “homephone” property" link="GumUser.html#GumUser--homephone"/>
+ <keyword type="property" name="The “nickname” property" link="GumUser.html#GumUser--nickname"/>
+ <keyword type="property" name="The “office” property" link="GumUser.html#GumUser--office"/>
+ <keyword type="property" name="The “officephone” property" link="GumUser.html#GumUser--officephone"/>
+ <keyword type="property" name="The “realname” property" link="GumUser.html#GumUser--realname"/>
+ <keyword type="property" name="The “secret” property" link="GumUser.html#GumUser--secret"/>
+ <keyword type="property" name="The “shell” property" link="GumUser.html#GumUser--shell"/>
+ <keyword type="property" name="The “uid” property" link="GumUser.html#GumUser--uid"/>
+ <keyword type="property" name="The “username” property" link="GumUser.html#GumUser--username"/>
+ <keyword type="property" name="The “usertype” property" link="GumUser.html#GumUser--usertype"/>
+ <keyword type="function" name="GumGroupCb ()" link="GumGroup.html#GumGroupCb"/>
+ <keyword type="function" name="gum_group_create ()" link="GumGroup.html#gum-group-create"/>
+ <keyword type="function" name="gum_group_create_sync ()" link="GumGroup.html#gum-group-create-sync"/>
+ <keyword type="function" name="gum_group_get ()" link="GumGroup.html#gum-group-get"/>
+ <keyword type="function" name="gum_group_get_sync ()" link="GumGroup.html#gum-group-get-sync"/>
+ <keyword type="function" name="gum_group_get_by_name ()" link="GumGroup.html#gum-group-get-by-name"/>
+ <keyword type="function" name="gum_group_get_by_name_sync ()" link="GumGroup.html#gum-group-get-by-name-sync"/>
+ <keyword type="function" name="gum_group_add ()" link="GumGroup.html#gum-group-add"/>
+ <keyword type="function" name="gum_group_add_sync ()" link="GumGroup.html#gum-group-add-sync"/>
+ <keyword type="function" name="gum_group_delete ()" link="GumGroup.html#gum-group-delete"/>
+ <keyword type="function" name="gum_group_delete_sync ()" link="GumGroup.html#gum-group-delete-sync"/>
+ <keyword type="function" name="gum_group_update ()" link="GumGroup.html#gum-group-update"/>
+ <keyword type="function" name="gum_group_update_sync ()" link="GumGroup.html#gum-group-update-sync"/>
+ <keyword type="function" name="gum_group_add_member ()" link="GumGroup.html#gum-group-add-member"/>
+ <keyword type="function" name="gum_group_add_member_sync ()" link="GumGroup.html#gum-group-add-member-sync"/>
+ <keyword type="function" name="gum_group_delete_member ()" link="GumGroup.html#gum-group-delete-member"/>
+ <keyword type="function" name="gum_group_delete_member_sync ()" link="GumGroup.html#gum-group-delete-member-sync"/>
+ <keyword type="property" name="The “gid” property" link="GumGroup.html#GumGroup--gid"/>
+ <keyword type="property" name="The “groupname” property" link="GumGroup.html#GumGroup--groupname"/>
+ <keyword type="property" name="The “grouptype” property" link="GumGroup.html#GumGroup--grouptype"/>
+ <keyword type="property" name="The “secret” property" link="GumGroup.html#GumGroup--secret"/>
</functions>
</book>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>gumd API Reference Manual</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: gumd API Reference Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="next" href="um-intro.html" title="Introduction">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">gumd API Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">This document discusses the details of user management
- daemon (gumd) and client library (libgum) with version 0.0.2
+ daemon (gumd) and client library (libgum) with version 0.0.3
.
</p></div>
</div>
<hr>
</div>
-<div class="toc"><dl>
+<div class="toc"><dl class="toc">
<dt>
<span class="refentrytitle"><a href="um-intro.html">Introduction</a></span><span class="refpurpose"></span>
</dt>
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<ANCHOR id="extra-configuration-options" href="gumd/um-building.html#extra-configuration-options">
<ANCHOR id="building-packages" href="gumd/um-building.html#building-packages">
<ANCHOR id="GumConfig" href="gumd/GumConfig.html">
-<ANCHOR id="GumConfig.synopsis" href="gumd/GumConfig.html#GumConfig.synopsis">
+<ANCHOR id="GumConfig.functions" href="gumd/GumConfig.html#GumConfig.functions">
+<ANCHOR id="GumConfig.other" href="gumd/GumConfig.html#GumConfig.other">
<ANCHOR id="GumConfig.object-hierarchy" href="gumd/GumConfig.html#GumConfig.object-hierarchy">
+<ANCHOR id="GumConfig.includes" href="gumd/GumConfig.html#GumConfig.includes">
<ANCHOR id="GumConfig.description" href="gumd/GumConfig.html#GumConfig.description">
-<ANCHOR id="GumConfig.details" href="gumd/GumConfig.html#GumConfig.details">
-<ANCHOR id="GUM-UMASK:CAPS" href="gumd/GumConfig.html#GUM-UMASK:CAPS">
-<ANCHOR id="GumConfig-struct" href="gumd/GumConfig.html#GumConfig-struct">
-<ANCHOR id="GumConfigClass" href="gumd/GumConfig.html#GumConfigClass">
-<ANCHOR id="gum-config-get-int" href="gumd/GumConfig.html#gum-config-get-int">
-<ANCHOR id="gum-config-get-string" href="gumd/GumConfig.html#gum-config-get-string">
-<ANCHOR id="gum-config-get-uint" href="gumd/GumConfig.html#gum-config-get-uint">
+<ANCHOR id="GumConfig.functions_details" href="gumd/GumConfig.html#GumConfig.functions_details">
<ANCHOR id="gum-config-new" href="gumd/GumConfig.html#gum-config-new">
+<ANCHOR id="gum-config-get-int" href="gumd/GumConfig.html#gum-config-get-int">
<ANCHOR id="gum-config-set-int" href="gumd/GumConfig.html#gum-config-set-int">
-<ANCHOR id="gum-config-set-string" href="gumd/GumConfig.html#gum-config-set-string">
+<ANCHOR id="gum-config-get-uint" href="gumd/GumConfig.html#gum-config-get-uint">
<ANCHOR id="gum-config-set-uint" href="gumd/GumConfig.html#gum-config-set-uint">
+<ANCHOR id="gum-config-get-string" href="gumd/GumConfig.html#gum-config-get-string">
+<ANCHOR id="gum-config-set-string" href="gumd/GumConfig.html#gum-config-set-string">
+<ANCHOR id="GumConfig.other_details" href="gumd/GumConfig.html#GumConfig.other_details">
+<ANCHOR id="GUM-UMASK:CAPS" href="gumd/GumConfig.html#GUM-UMASK:CAPS">
<ANCHOR id="gumd-General-configuration" href="gumd/gumd-General-configuration.html">
-<ANCHOR id="gumd-General-configuration.synopsis" href="gumd/gumd-General-configuration.html#gumd-General-configuration.synopsis">
+<ANCHOR id="gumd-General-configuration.other" href="gumd/gumd-General-configuration.html#gumd-General-configuration.other">
+<ANCHOR id="gumd-General-configuration.object-hierarchy" href="gumd/gumd-General-configuration.html#gumd-General-configuration.object-hierarchy">
+<ANCHOR id="gumd-General-configuration.includes" href="gumd/gumd-General-configuration.html#gumd-General-configuration.includes">
<ANCHOR id="gumd-General-configuration.description" href="gumd/gumd-General-configuration.html#gumd-General-configuration.description">
-<ANCHOR id="gumd-General-configuration.details" href="gumd/gumd-General-configuration.html#gumd-General-configuration.details">
+<ANCHOR id="gumd-General-configuration.functions_details" href="gumd/gumd-General-configuration.html#gumd-General-configuration.functions_details">
+<ANCHOR id="gumd-General-configuration.other_details" href="gumd/gumd-General-configuration.html#gumd-General-configuration.other_details">
<ANCHOR id="GUM-CONFIG-GENERAL:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-DEF-ADMIN-GROUPS:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-DEF-ADMIN-GROUPS:CAPS">
<ANCHOR id="GUM-CONFIG-GENERAL-DEF-USR-GROUPS:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-DEF-USR-GROUPS:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-ENCRYPT-METHOD:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-ENCRYPT-METHOD:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-GID-MAX:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MAX:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-GID-MIN:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MIN:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-DEF-ADMIN-GROUPS:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-DEF-ADMIN-GROUPS:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-PASSWD-FILE:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASSWD-FILE:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-SHADOW-FILE:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SHADOW-FILE:CAPS">
<ANCHOR id="GUM-CONFIG-GENERAL-GROUP-FILE:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-GROUP-FILE:CAPS">
<ANCHOR id="GUM-CONFIG-GENERAL-GSHADOW-FILE:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-GSHADOW-FILE:CAPS">
<ANCHOR id="GUM-CONFIG-GENERAL-HOME-DIR-PREF:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-HOME-DIR-PREF:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-PASSWD-FILE:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASSWD-FILE:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-PASS-MAX-DAYS:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MAX-DAYS:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-PASS-MIN-DAYS:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MIN-DAYS:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-PASS-WARN-AGE:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-WARN-AGE:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-SHADOW-FILE:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SHADOW-FILE:CAPS">
<ANCHOR id="GUM-CONFIG-GENERAL-SHELL:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SHELL:CAPS">
<ANCHOR id="GUM-CONFIG-GENERAL-SKEL-DIR:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SKEL-DIR:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-SMACK64-NEW-FILES:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-NEW-FILES:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-SMACK64-USER-FILES:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-USER-FILES:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-SYS-GID-MAX:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MAX:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS">
-<ANCHOR id="GUM-CONFIG-GENERAL-UID-MAX:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS">
<ANCHOR id="GUM-CONFIG-GENERAL-UID-MIN:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MIN:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-UID-MAX:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-UID-MAX:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MIN:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-UID-MAX:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-GID-MIN:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MIN:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-GID-MAX:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-GID-MAX:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MIN:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-SYS-GID-MAX:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SYS-GID-MAX:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-PASS-MIN-DAYS:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MIN-DAYS:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-PASS-MAX-DAYS:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-MAX-DAYS:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-PASS-WARN-AGE:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-PASS-WARN-AGE:CAPS">
<ANCHOR id="GUM-CONFIG-GENERAL-UMASK:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-UMASK:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-ENCRYPT-METHOD:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-ENCRYPT-METHOD:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-SMACK64-NEW-FILES:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-NEW-FILES:CAPS">
+<ANCHOR id="GUM-CONFIG-GENERAL-SMACK64-USER-FILES:CAPS" href="gumd/gumd-General-configuration.html#GUM-CONFIG-GENERAL-SMACK64-USER-FILES:CAPS">
<ANCHOR id="gumd-DBus-configuration" href="gumd/gumd-DBus-configuration.html">
-<ANCHOR id="gumd-DBus-configuration.synopsis" href="gumd/gumd-DBus-configuration.html#gumd-DBus-configuration.synopsis">
+<ANCHOR id="gumd-DBus-configuration.other" href="gumd/gumd-DBus-configuration.html#gumd-DBus-configuration.other">
+<ANCHOR id="gumd-DBus-configuration.object-hierarchy" href="gumd/gumd-DBus-configuration.html#gumd-DBus-configuration.object-hierarchy">
+<ANCHOR id="gumd-DBus-configuration.includes" href="gumd/gumd-DBus-configuration.html#gumd-DBus-configuration.includes">
<ANCHOR id="gumd-DBus-configuration.description" href="gumd/gumd-DBus-configuration.html#gumd-DBus-configuration.description">
-<ANCHOR id="gumd-DBus-configuration.details" href="gumd/gumd-DBus-configuration.html#gumd-DBus-configuration.details">
-<ANCHOR id="GUM-CONFIG-DBUS-DAEMON-TIMEOUT:CAPS" href="gumd/gumd-DBus-configuration.html#GUM-CONFIG-DBUS-DAEMON-TIMEOUT:CAPS">
-<ANCHOR id="GUM-CONFIG-DBUS-GROUP-TIMEOUT:CAPS" href="gumd/gumd-DBus-configuration.html#GUM-CONFIG-DBUS-GROUP-TIMEOUT:CAPS">
+<ANCHOR id="gumd-DBus-configuration.functions_details" href="gumd/gumd-DBus-configuration.html#gumd-DBus-configuration.functions_details">
+<ANCHOR id="gumd-DBus-configuration.other_details" href="gumd/gumd-DBus-configuration.html#gumd-DBus-configuration.other_details">
<ANCHOR id="GUM-CONFIG-DBUS-TIMEOUTS:CAPS" href="gumd/gumd-DBus-configuration.html#GUM-CONFIG-DBUS-TIMEOUTS:CAPS">
+<ANCHOR id="GUM-CONFIG-DBUS-DAEMON-TIMEOUT:CAPS" href="gumd/gumd-DBus-configuration.html#GUM-CONFIG-DBUS-DAEMON-TIMEOUT:CAPS">
<ANCHOR id="GUM-CONFIG-DBUS-USER-TIMEOUT:CAPS" href="gumd/gumd-DBus-configuration.html#GUM-CONFIG-DBUS-USER-TIMEOUT:CAPS">
+<ANCHOR id="GUM-CONFIG-DBUS-GROUP-TIMEOUT:CAPS" href="gumd/gumd-DBus-configuration.html#GUM-CONFIG-DBUS-GROUP-TIMEOUT:CAPS">
<ANCHOR id="gumd-GumDictionary" href="gumd/gumd-GumDictionary.html">
-<ANCHOR id="gumd-GumDictionary.synopsis" href="gumd/gumd-GumDictionary.html#gumd-GumDictionary.synopsis">
+<ANCHOR id="gumd-GumDictionary.functions" href="gumd/gumd-GumDictionary.html#gumd-GumDictionary.functions">
+<ANCHOR id="gumd-GumDictionary.object-hierarchy" href="gumd/gumd-GumDictionary.html#gumd-GumDictionary.object-hierarchy">
+<ANCHOR id="gumd-GumDictionary.includes" href="gumd/gumd-GumDictionary.html#gumd-GumDictionary.includes">
<ANCHOR id="gumd-GumDictionary.description" href="gumd/gumd-GumDictionary.html#gumd-GumDictionary.description">
-<ANCHOR id="gumd-GumDictionary.details" href="gumd/gumd-GumDictionary.html#gumd-GumDictionary.details">
-<ANCHOR id="GumDictionary" href="gumd/gumd-GumDictionary.html#GumDictionary">
-<ANCHOR id="gum-dictionary-copy" href="gumd/gumd-GumDictionary.html#gum-dictionary-copy">
-<ANCHOR id="gum-dictionary-get" href="gumd/gumd-GumDictionary.html#gum-dictionary-get">
-<ANCHOR id="gum-dictionary-get-boolean" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-boolean">
-<ANCHOR id="gum-dictionary-get-int32" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-int32">
-<ANCHOR id="gum-dictionary-get-int64" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-int64">
-<ANCHOR id="gum-dictionary-get-string" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-string">
-<ANCHOR id="gum-dictionary-get-uint32" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-uint32">
-<ANCHOR id="gum-dictionary-get-uint64" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-uint64">
+<ANCHOR id="gumd-GumDictionary.functions_details" href="gumd/gumd-GumDictionary.html#gumd-GumDictionary.functions_details">
<ANCHOR id="gum-dictionary-new" href="gumd/gumd-GumDictionary.html#gum-dictionary-new">
-<ANCHOR id="gum-dictionary-new-from-variant" href="gumd/gumd-GumDictionary.html#gum-dictionary-new-from-variant">
<ANCHOR id="gum-dictionary-ref" href="gumd/gumd-GumDictionary.html#gum-dictionary-ref">
-<ANCHOR id="gum-dictionary-remove" href="gumd/gumd-GumDictionary.html#gum-dictionary-remove">
+<ANCHOR id="gum-dictionary-unref" href="gumd/gumd-GumDictionary.html#gum-dictionary-unref">
+<ANCHOR id="gum-dictionary-copy" href="gumd/gumd-GumDictionary.html#gum-dictionary-copy">
+<ANCHOR id="gum-dictionary-new-from-variant" href="gumd/gumd-GumDictionary.html#gum-dictionary-new-from-variant">
+<ANCHOR id="gum-dictionary-to-variant" href="gumd/gumd-GumDictionary.html#gum-dictionary-to-variant">
+<ANCHOR id="gum-dictionary-get" href="gumd/gumd-GumDictionary.html#gum-dictionary-get">
<ANCHOR id="gum-dictionary-set" href="gumd/gumd-GumDictionary.html#gum-dictionary-set">
+<ANCHOR id="gum-dictionary-get-boolean" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-boolean">
<ANCHOR id="gum-dictionary-set-boolean" href="gumd/gumd-GumDictionary.html#gum-dictionary-set-boolean">
+<ANCHOR id="gum-dictionary-get-int32" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-int32">
<ANCHOR id="gum-dictionary-set-int32" href="gumd/gumd-GumDictionary.html#gum-dictionary-set-int32">
-<ANCHOR id="gum-dictionary-set-int64" href="gumd/gumd-GumDictionary.html#gum-dictionary-set-int64">
-<ANCHOR id="gum-dictionary-set-string" href="gumd/gumd-GumDictionary.html#gum-dictionary-set-string">
+<ANCHOR id="gum-dictionary-get-uint32" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-uint32">
<ANCHOR id="gum-dictionary-set-uint32" href="gumd/gumd-GumDictionary.html#gum-dictionary-set-uint32">
+<ANCHOR id="gum-dictionary-get-int64" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-int64">
+<ANCHOR id="gum-dictionary-set-int64" href="gumd/gumd-GumDictionary.html#gum-dictionary-set-int64">
+<ANCHOR id="gum-dictionary-get-uint64" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-uint64">
<ANCHOR id="gum-dictionary-set-uint64" href="gumd/gumd-GumDictionary.html#gum-dictionary-set-uint64">
-<ANCHOR id="gum-dictionary-to-variant" href="gumd/gumd-GumDictionary.html#gum-dictionary-to-variant">
-<ANCHOR id="gum-dictionary-unref" href="gumd/gumd-GumDictionary.html#gum-dictionary-unref">
+<ANCHOR id="gum-dictionary-get-string" href="gumd/gumd-GumDictionary.html#gum-dictionary-get-string">
+<ANCHOR id="gum-dictionary-set-string" href="gumd/gumd-GumDictionary.html#gum-dictionary-set-string">
+<ANCHOR id="gum-dictionary-remove" href="gumd/gumd-GumDictionary.html#gum-dictionary-remove">
+<ANCHOR id="gumd-GumDictionary.other_details" href="gumd/gumd-GumDictionary.html#gumd-GumDictionary.other_details">
<ANCHOR id="gumd-Gum-Crypt" href="gumd/gumd-Gum-Crypt.html">
-<ANCHOR id="gumd-Gum-Crypt.synopsis" href="gumd/gumd-Gum-Crypt.html#gumd-Gum-Crypt.synopsis">
+<ANCHOR id="gumd-Gum-Crypt.functions" href="gumd/gumd-Gum-Crypt.html#gumd-Gum-Crypt.functions">
+<ANCHOR id="gumd-Gum-Crypt.object-hierarchy" href="gumd/gumd-Gum-Crypt.html#gumd-Gum-Crypt.object-hierarchy">
+<ANCHOR id="gumd-Gum-Crypt.includes" href="gumd/gumd-Gum-Crypt.html#gumd-Gum-Crypt.includes">
<ANCHOR id="gumd-Gum-Crypt.description" href="gumd/gumd-Gum-Crypt.html#gumd-Gum-Crypt.description">
-<ANCHOR id="gumd-Gum-Crypt.details" href="gumd/gumd-Gum-Crypt.html#gumd-Gum-Crypt.details">
-<ANCHOR id="gum-crypt-cmp-secret" href="gumd/gumd-Gum-Crypt.html#gum-crypt-cmp-secret">
+<ANCHOR id="gumd-Gum-Crypt.functions_details" href="gumd/gumd-Gum-Crypt.html#gumd-Gum-Crypt.functions_details">
<ANCHOR id="gum-crypt-encrypt-secret" href="gumd/gumd-Gum-Crypt.html#gum-crypt-encrypt-secret">
+<ANCHOR id="gum-crypt-cmp-secret" href="gumd/gumd-Gum-Crypt.html#gum-crypt-cmp-secret">
+<ANCHOR id="gumd-Gum-Crypt.other_details" href="gumd/gumd-Gum-Crypt.html#gumd-Gum-Crypt.other_details">
<ANCHOR id="gumd-Logging" href="gumd/gumd-Logging.html">
-<ANCHOR id="gumd-Logging.synopsis" href="gumd/gumd-Logging.html#gumd-Logging.synopsis">
+<ANCHOR id="gumd-Logging.functions" href="gumd/gumd-Logging.html#gumd-Logging.functions">
+<ANCHOR id="gumd-Logging.object-hierarchy" href="gumd/gumd-Logging.html#gumd-Logging.object-hierarchy">
+<ANCHOR id="gumd-Logging.includes" href="gumd/gumd-Logging.html#gumd-Logging.includes">
<ANCHOR id="gumd-Logging.description" href="gumd/gumd-Logging.html#gumd-Logging.description">
-<ANCHOR id="gumd-Logging.details" href="gumd/gumd-Logging.html#gumd-Logging.details">
-<ANCHOR id="DBG:CAPS" href="gumd/gumd-Logging.html#DBG:CAPS">
-<ANCHOR id="ERR:CAPS" href="gumd/gumd-Logging.html#ERR:CAPS">
-<ANCHOR id="INFO:CAPS" href="gumd/gumd-Logging.html#INFO:CAPS">
+<ANCHOR id="gumd-Logging.functions_details" href="gumd/gumd-Logging.html#gumd-Logging.functions_details">
<ANCHOR id="TRACEBACK:CAPS" href="gumd/gumd-Logging.html#TRACEBACK:CAPS">
+<ANCHOR id="ERR:CAPS" href="gumd/gumd-Logging.html#ERR:CAPS">
<ANCHOR id="WARN:CAPS" href="gumd/gumd-Logging.html#WARN:CAPS">
+<ANCHOR id="INFO:CAPS" href="gumd/gumd-Logging.html#INFO:CAPS">
+<ANCHOR id="DBG:CAPS" href="gumd/gumd-Logging.html#DBG:CAPS">
+<ANCHOR id="gumd-Logging.other_details" href="gumd/gumd-Logging.html#gumd-Logging.other_details">
<ANCHOR id="gumd-Errors" href="gumd/gumd-Errors.html">
-<ANCHOR id="gumd-Errors.synopsis" href="gumd/gumd-Errors.html#gumd-Errors.synopsis">
+<ANCHOR id="gumd-Errors.functions" href="gumd/gumd-Errors.html#gumd-Errors.functions">
+<ANCHOR id="gumd-Errors.other" href="gumd/gumd-Errors.html#gumd-Errors.other">
+<ANCHOR id="gumd-Errors.object-hierarchy" href="gumd/gumd-Errors.html#gumd-Errors.object-hierarchy">
+<ANCHOR id="gumd-Errors.includes" href="gumd/gumd-Errors.html#gumd-Errors.includes">
<ANCHOR id="gumd-Errors.description" href="gumd/gumd-Errors.html#gumd-Errors.description">
-<ANCHOR id="gumd-Errors.details" href="gumd/gumd-Errors.html#gumd-Errors.details">
+<ANCHOR id="gumd-Errors.functions_details" href="gumd/gumd-Errors.html#gumd-Errors.functions_details">
<ANCHOR id="GUM-ERROR:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR:CAPS">
<ANCHOR id="GUM-GET-ERROR-FOR-ID:CAPS" href="gumd/gumd-Errors.html#GUM-GET-ERROR-FOR-ID:CAPS">
-<ANCHOR id="GUM-RETURN-WITH-ERROR:CAPS" href="gumd/gumd-Errors.html#GUM-RETURN-WITH-ERROR:CAPS">
<ANCHOR id="GUM-SET-ERROR:CAPS" href="gumd/gumd-Errors.html#GUM-SET-ERROR:CAPS">
-<ANCHOR id="GumError" href="gumd/gumd-Errors.html#GumError">
-<ANCHOR id="GUM-ERROR-NONE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-NONE:CAPS">
-<ANCHOR id="GUM-ERROR-UNKNOWN:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-UNKNOWN:CAPS">
-<ANCHOR id="GUM-ERROR-INTERNAL-SERVER:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-INTERNAL-SERVER:CAPS">
-<ANCHOR id="GUM-ERROR-PERMISSION-DENIED:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-PERMISSION-DENIED:CAPS">
-<ANCHOR id="GUM-ERROR-USER-ALREADY-EXISTS:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-ALREADY-EXISTS:CAPS">
-<ANCHOR id="GUM-ERROR-USER-GROUP-ADD-FAILURE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-GROUP-ADD-FAILURE:CAPS">
-<ANCHOR id="GUM-ERROR-USER-UID-NOT-AVAILABLE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-UID-NOT-AVAILABLE:CAPS">
-<ANCHOR id="GUM-ERROR-USER-INVALID-USER-TYPE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-INVALID-USER-TYPE:CAPS">
-<ANCHOR id="GUM-ERROR-USER-SECRET-ENCRYPT-FAILURE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-SECRET-ENCRYPT-FAILURE:CAPS">
-<ANCHOR id="GUM-ERROR-USER-NOT-FOUND:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-NOT-FOUND:CAPS">
-<ANCHOR id="GUM-ERROR-USER-INVALID-DATA:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-INVALID-DATA:CAPS">
-<ANCHOR id="GUM-ERROR-USER-GROUP-DELETE-FAILURE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-GROUP-DELETE-FAILURE:CAPS">
-<ANCHOR id="GUM-ERROR-USER-SELF-DESTRUCTION:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-SELF-DESTRUCTION:CAPS">
-<ANCHOR id="GUM-ERROR-USER-SESSION-TERM-FAILURE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-SESSION-TERM-FAILURE:CAPS">
-<ANCHOR id="GUM-ERROR-USER-NO-CHANGES:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-NO-CHANGES:CAPS">
-<ANCHOR id="GUM-ERROR-USER-LOCK-FAILURE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-LOCK-FAILURE:CAPS">
-<ANCHOR id="GUM-ERROR-GROUP-ALREADY-EXISTS:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-GROUP-ALREADY-EXISTS:CAPS">
-<ANCHOR id="GUM-ERROR-GROUP-GID-NOT-AVAILABLE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-GROUP-GID-NOT-AVAILABLE:CAPS">
-<ANCHOR id="GUM-ERROR-GROUP-INVALID-GROUP-TYPE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-GROUP-INVALID-GROUP-TYPE:CAPS">
-<ANCHOR id="GUM-ERROR-GROUP-SECRET-ENCRYPT-FAILURE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-GROUP-SECRET-ENCRYPT-FAILURE:CAPS">
-<ANCHOR id="GUM-ERROR-GROUP-NOT-FOUND:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-GROUP-NOT-FOUND:CAPS">
-<ANCHOR id="GUM-ERROR-GROUP-USER-ALREADY-A-MEMBER:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-GROUP-USER-ALREADY-A-MEMBER:CAPS">
-<ANCHOR id="GUM-ERROR-GROUP-INVALID-DATA:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-GROUP-INVALID-DATA:CAPS">
-<ANCHOR id="GUM-ERROR-GROUP-SELF-DESTRUCTION:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-GROUP-SELF-DESTRUCTION:CAPS">
-<ANCHOR id="GUM-ERROR-GROUP-HAS-USER:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-GROUP-HAS-USER:CAPS">
-<ANCHOR id="GUM-ERROR-GROUP-NO-CHANGES:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-GROUP-NO-CHANGES:CAPS">
-<ANCHOR id="GUM-ERROR-DB-ALREADY-LOCKED:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-DB-ALREADY-LOCKED:CAPS">
-<ANCHOR id="GUM-ERROR-FILE-OPEN:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-FILE-OPEN:CAPS">
-<ANCHOR id="GUM-ERROR-FILE-ATTRIBUTE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-FILE-ATTRIBUTE:CAPS">
-<ANCHOR id="GUM-ERROR-FILE-MOVE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-FILE-MOVE:CAPS">
-<ANCHOR id="GUM-ERROR-FILE-WRITE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-FILE-WRITE:CAPS">
-<ANCHOR id="GUM-ERROR-HOME-DIR-CREATE-FAILURE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-HOME-DIR-CREATE-FAILURE:CAPS">
-<ANCHOR id="GUM-ERROR-HOME-DIR-DELETE-FAILURE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-HOME-DIR-DELETE-FAILURE:CAPS">
-<ANCHOR id="GUM-ERROR-HOME-DIR-COPY-FAILURE:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-HOME-DIR-COPY-FAILURE:CAPS">
-<ANCHOR id="GUM-ERROR-INVALID-NAME:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-INVALID-NAME:CAPS">
-<ANCHOR id="GUM-ERROR-INVALID-NICKNAME:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-INVALID-NICKNAME:CAPS">
-<ANCHOR id="GUM-ERROR-INVALID-SECRET:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-INVALID-SECRET:CAPS">
-<ANCHOR id="GUM-ERROR-INVALID-STR:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-INVALID-STR:CAPS">
-<ANCHOR id="GUM-ERROR-INVALID-STR-LEN:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-INVALID-STR-LEN:CAPS">
-<ANCHOR id="GUM-ERROR-INVALID-INPUT:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-INVALID-INPUT:CAPS">
-<ANCHOR id="GUM-ERROR-USER-ERR:CAPS" href="gumd/gumd-Errors.html#GUM-ERROR-USER-ERR:CAPS">
-<ANCHOR id="gum-error-new-from-variant" href="gumd/gumd-Errors.html#gum-error-new-from-variant">
+<ANCHOR id="GUM-RETURN-WITH-ERROR:CAPS" href="gumd/gumd-Errors.html#GUM-RETURN-WITH-ERROR:CAPS">
<ANCHOR id="gum-error-quark" href="gumd/gumd-Errors.html#gum-error-quark">
+<ANCHOR id="gum-error-new-from-variant" href="gumd/gumd-Errors.html#gum-error-new-from-variant">
<ANCHOR id="gum-error-to-variant" href="gumd/gumd-Errors.html#gum-error-to-variant">
+<ANCHOR id="gumd-Errors.other_details" href="gumd/gumd-Errors.html#gumd-Errors.other_details">
+<ANCHOR id="GumError" href="gumd/gumd-Errors.html#GumError">
<ANCHOR id="GumDisposable" href="gumd/GumDisposable.html">
-<ANCHOR id="GumDisposable.synopsis" href="gumd/GumDisposable.html#GumDisposable.synopsis">
-<ANCHOR id="GumDisposable.object-hierarchy" href="gumd/GumDisposable.html#GumDisposable.object-hierarchy">
+<ANCHOR id="GumDisposable.functions" href="gumd/GumDisposable.html#GumDisposable.functions">
<ANCHOR id="GumDisposable.properties" href="gumd/GumDisposable.html#GumDisposable.properties">
<ANCHOR id="GumDisposable.signals" href="gumd/GumDisposable.html#GumDisposable.signals">
+<ANCHOR id="GumDisposable.object-hierarchy" href="gumd/GumDisposable.html#GumDisposable.object-hierarchy">
+<ANCHOR id="GumDisposable.includes" href="gumd/GumDisposable.html#GumDisposable.includes">
<ANCHOR id="GumDisposable.description" href="gumd/GumDisposable.html#GumDisposable.description">
-<ANCHOR id="GumDisposable.details" href="gumd/GumDisposable.html#GumDisposable.details">
-<ANCHOR id="GumDisposable-struct" href="gumd/GumDisposable.html#GumDisposable-struct">
-<ANCHOR id="GumDisposableClass" href="gumd/GumDisposable.html#GumDisposableClass">
-<ANCHOR id="gum-disposable-delete-later" href="gumd/GumDisposable.html#gum-disposable-delete-later">
-<ANCHOR id="gum-disposable-get-auto-dispose" href="gumd/GumDisposable.html#gum-disposable-get-auto-dispose">
+<ANCHOR id="GumDisposable.functions_details" href="gumd/GumDisposable.html#GumDisposable.functions_details">
<ANCHOR id="gum-disposable-set-auto-dispose" href="gumd/GumDisposable.html#gum-disposable-set-auto-dispose">
+<ANCHOR id="gum-disposable-get-auto-dispose" href="gumd/GumDisposable.html#gum-disposable-get-auto-dispose">
<ANCHOR id="gum-disposable-set-timeout" href="gumd/GumDisposable.html#gum-disposable-set-timeout">
+<ANCHOR id="gum-disposable-delete-later" href="gumd/GumDisposable.html#gum-disposable-delete-later">
+<ANCHOR id="GumDisposable.other_details" href="gumd/GumDisposable.html#GumDisposable.other_details">
<ANCHOR id="GumDisposable.property-details" href="gumd/GumDisposable.html#GumDisposable.property-details">
<ANCHOR id="GumDisposable--auto-dispose" href="gumd/GumDisposable.html#GumDisposable--auto-dispose">
<ANCHOR id="GumDisposable--delete-later" href="gumd/GumDisposable.html#GumDisposable--delete-later">
<ANCHOR id="GumDisposable.signal-details" href="gumd/GumDisposable.html#GumDisposable.signal-details">
<ANCHOR id="GumDisposable-disposing" href="gumd/GumDisposable.html#GumDisposable-disposing">
<ANCHOR id="gumd-Gum-File" href="gumd/gumd-Gum-File.html">
-<ANCHOR id="gumd-Gum-File.synopsis" href="gumd/gumd-Gum-File.html#gumd-Gum-File.synopsis">
+<ANCHOR id="gumd-Gum-File.functions" href="gumd/gumd-Gum-File.html#gumd-Gum-File.functions">
+<ANCHOR id="gumd-Gum-File.other" href="gumd/gumd-Gum-File.html#gumd-Gum-File.other">
+<ANCHOR id="gumd-Gum-File.object-hierarchy" href="gumd/gumd-Gum-File.html#gumd-Gum-File.object-hierarchy">
+<ANCHOR id="gumd-Gum-File.includes" href="gumd/gumd-Gum-File.html#gumd-Gum-File.includes">
<ANCHOR id="gumd-Gum-File.description" href="gumd/gumd-Gum-File.html#gumd-Gum-File.description">
-<ANCHOR id="gumd-Gum-File.details" href="gumd/gumd-Gum-File.html#gumd-Gum-File.details">
+<ANCHOR id="gumd-Gum-File.functions_details" href="gumd/gumd-Gum-File.html#gumd-Gum-File.functions_details">
<ANCHOR id="GumFileUpdateCB" href="gumd/gumd-Gum-File.html#GumFileUpdateCB">
-<ANCHOR id="GumOpType" href="gumd/gumd-Gum-File.html#GumOpType">
-<ANCHOR id="GUM-OPTYPE-ADD:CAPS" href="gumd/gumd-Gum-File.html#GUM-OPTYPE-ADD:CAPS">
-<ANCHOR id="GUM-OPTYPE-DELETE:CAPS" href="gumd/gumd-Gum-File.html#GUM-OPTYPE-DELETE:CAPS">
-<ANCHOR id="GUM-OPTYPE-MODIFY:CAPS" href="gumd/gumd-Gum-File.html#GUM-OPTYPE-MODIFY:CAPS">
+<ANCHOR id="gum-file-update" href="gumd/gumd-Gum-File.html#gum-file-update">
+<ANCHOR id="gum-file-open-db-files" href="gumd/gumd-Gum-File.html#gum-file-open-db-files">
<ANCHOR id="gum-file-close-db-files" href="gumd/gumd-Gum-File.html#gum-file-close-db-files">
-<ANCHOR id="gum-file-create-home-dir" href="gumd/gumd-Gum-File.html#gum-file-create-home-dir">
-<ANCHOR id="gum-file-delete-home-dir" href="gumd/gumd-Gum-File.html#gum-file-delete-home-dir">
-<ANCHOR id="gum-file-find-user-by-gid" href="gumd/gumd-Gum-File.html#gum-file-find-user-by-gid">
-<ANCHOR id="gum-file-getgrgid" href="gumd/gumd-Gum-File.html#gum-file-getgrgid">
-<ANCHOR id="gum-file-getgrnam" href="gumd/gumd-Gum-File.html#gum-file-getgrnam">
<ANCHOR id="gum-file-getpwnam" href="gumd/gumd-Gum-File.html#gum-file-getpwnam">
<ANCHOR id="gum-file-getpwuid" href="gumd/gumd-Gum-File.html#gum-file-getpwuid">
-<ANCHOR id="gum-file-getsgnam" href="gumd/gumd-Gum-File.html#gum-file-getsgnam">
+<ANCHOR id="gum-file-find-user-by-gid" href="gumd/gumd-Gum-File.html#gum-file-find-user-by-gid">
<ANCHOR id="gum-file-getspnam" href="gumd/gumd-Gum-File.html#gum-file-getspnam">
+<ANCHOR id="gum-file-getgrnam" href="gumd/gumd-Gum-File.html#gum-file-getgrnam">
+<ANCHOR id="gum-file-getgrgid" href="gumd/gumd-Gum-File.html#gum-file-getgrgid">
+<ANCHOR id="gum-file-getsgnam" href="gumd/gumd-Gum-File.html#gum-file-getsgnam">
<ANCHOR id="gum-file-new-path" href="gumd/gumd-Gum-File.html#gum-file-new-path">
-<ANCHOR id="gum-file-open-db-files" href="gumd/gumd-Gum-File.html#gum-file-open-db-files">
-<ANCHOR id="gum-file-update" href="gumd/gumd-Gum-File.html#gum-file-update">
+<ANCHOR id="gum-file-create-home-dir" href="gumd/gumd-Gum-File.html#gum-file-create-home-dir">
+<ANCHOR id="gum-file-delete-home-dir" href="gumd/gumd-Gum-File.html#gum-file-delete-home-dir">
+<ANCHOR id="gumd-Gum-File.other_details" href="gumd/gumd-Gum-File.html#gumd-Gum-File.other_details">
+<ANCHOR id="GumOpType" href="gumd/gumd-Gum-File.html#GumOpType">
<ANCHOR id="gumd-Gum-Validate" href="gumd/gumd-Gum-Validate.html">
-<ANCHOR id="gumd-Gum-Validate.synopsis" href="gumd/gumd-Gum-Validate.html#gumd-Gum-Validate.synopsis">
+<ANCHOR id="gumd-Gum-Validate.functions" href="gumd/gumd-Gum-Validate.html#gumd-Gum-Validate.functions">
+<ANCHOR id="gumd-Gum-Validate.other" href="gumd/gumd-Gum-Validate.html#gumd-Gum-Validate.other">
+<ANCHOR id="gumd-Gum-Validate.object-hierarchy" href="gumd/gumd-Gum-Validate.html#gumd-Gum-Validate.object-hierarchy">
+<ANCHOR id="gumd-Gum-Validate.includes" href="gumd/gumd-Gum-Validate.html#gumd-Gum-Validate.includes">
<ANCHOR id="gumd-Gum-Validate.description" href="gumd/gumd-Gum-Validate.html#gumd-Gum-Validate.description">
-<ANCHOR id="gumd-Gum-Validate.details" href="gumd/gumd-Gum-Validate.html#gumd-Gum-Validate.details">
-<ANCHOR id="GUM-DB-ENTRY-PATTERN:CAPS" href="gumd/gumd-Gum-Validate.html#GUM-DB-ENTRY-PATTERN:CAPS">
-<ANCHOR id="GUM-NAME-PATTERN:CAPS" href="gumd/gumd-Gum-Validate.html#GUM-NAME-PATTERN:CAPS">
-<ANCHOR id="gum-validate-db-secret-entry" href="gumd/gumd-Gum-Validate.html#gum-validate-db-secret-entry">
-<ANCHOR id="gum-validate-db-string-entry" href="gumd/gumd-Gum-Validate.html#gum-validate-db-string-entry">
-<ANCHOR id="gum-validate-db-string-entry-regx" href="gumd/gumd-Gum-Validate.html#gum-validate-db-string-entry-regx">
-<ANCHOR id="gum-validate-generate-username" href="gumd/gumd-Gum-Validate.html#gum-validate-generate-username">
+<ANCHOR id="gumd-Gum-Validate.functions_details" href="gumd/gumd-Gum-Validate.html#gumd-Gum-Validate.functions_details">
<ANCHOR id="gum-validate-name" href="gumd/gumd-Gum-Validate.html#gum-validate-name">
+<ANCHOR id="gum-validate-generate-username" href="gumd/gumd-Gum-Validate.html#gum-validate-generate-username">
+<ANCHOR id="gum-validate-db-string-entry-regx" href="gumd/gumd-Gum-Validate.html#gum-validate-db-string-entry-regx">
+<ANCHOR id="gum-validate-db-string-entry" href="gumd/gumd-Gum-Validate.html#gum-validate-db-string-entry">
+<ANCHOR id="gum-validate-db-secret-entry" href="gumd/gumd-Gum-Validate.html#gum-validate-db-secret-entry">
+<ANCHOR id="gumd-Gum-Validate.other_details" href="gumd/gumd-Gum-Validate.html#gumd-Gum-Validate.other_details">
+<ANCHOR id="GUM-NAME-PATTERN:CAPS" href="gumd/gumd-Gum-Validate.html#GUM-NAME-PATTERN:CAPS">
+<ANCHOR id="GUM-DB-ENTRY-PATTERN:CAPS" href="gumd/gumd-Gum-Validate.html#GUM-DB-ENTRY-PATTERN:CAPS">
<ANCHOR id="gumd-Gum-Lock" href="gumd/gumd-Gum-Lock.html">
-<ANCHOR id="gumd-Gum-Lock.synopsis" href="gumd/gumd-Gum-Lock.html#gumd-Gum-Lock.synopsis">
+<ANCHOR id="gumd-Gum-Lock.functions" href="gumd/gumd-Gum-Lock.html#gumd-Gum-Lock.functions">
+<ANCHOR id="gumd-Gum-Lock.object-hierarchy" href="gumd/gumd-Gum-Lock.html#gumd-Gum-Lock.object-hierarchy">
+<ANCHOR id="gumd-Gum-Lock.includes" href="gumd/gumd-Gum-Lock.html#gumd-Gum-Lock.includes">
<ANCHOR id="gumd-Gum-Lock.description" href="gumd/gumd-Gum-Lock.html#gumd-Gum-Lock.description">
-<ANCHOR id="gumd-Gum-Lock.details" href="gumd/gumd-Gum-Lock.html#gumd-Gum-Lock.details">
+<ANCHOR id="gumd-Gum-Lock.functions_details" href="gumd/gumd-Gum-Lock.html#gumd-Gum-Lock.functions_details">
<ANCHOR id="gum-lock-pwdf-lock" href="gumd/gumd-Gum-Lock.html#gum-lock-pwdf-lock">
<ANCHOR id="gum-lock-pwdf-unlock" href="gumd/gumd-Gum-Lock.html#gum-lock-pwdf-unlock">
+<ANCHOR id="gumd-Gum-Lock.other_details" href="gumd/gumd-Gum-Lock.html#gumd-Gum-Lock.other_details">
<ANCHOR id="gumd-Gum-String-Utils" href="gumd/gumd-Gum-String-Utils.html">
-<ANCHOR id="gumd-Gum-String-Utils.synopsis" href="gumd/gumd-Gum-String-Utils.html#gumd-Gum-String-Utils.synopsis">
+<ANCHOR id="gumd-Gum-String-Utils.functions" href="gumd/gumd-Gum-String-Utils.html#gumd-Gum-String-Utils.functions">
+<ANCHOR id="gumd-Gum-String-Utils.object-hierarchy" href="gumd/gumd-Gum-String-Utils.html#gumd-Gum-String-Utils.object-hierarchy">
+<ANCHOR id="gumd-Gum-String-Utils.includes" href="gumd/gumd-Gum-String-Utils.html#gumd-Gum-String-Utils.includes">
<ANCHOR id="gumd-Gum-String-Utils.description" href="gumd/gumd-Gum-String-Utils.html#gumd-Gum-String-Utils.description">
-<ANCHOR id="gumd-Gum-String-Utils.details" href="gumd/gumd-Gum-String-Utils.html#gumd-Gum-String-Utils.details">
-<ANCHOR id="GUM-STR-DUP:CAPS" href="gumd/gumd-Gum-String-Utils.html#GUM-STR-DUP:CAPS">
-<ANCHOR id="GUM-STR-DUPV:CAPS" href="gumd/gumd-Gum-String-Utils.html#GUM-STR-DUPV:CAPS">
+<ANCHOR id="gumd-Gum-String-Utils.functions_details" href="gumd/gumd-Gum-String-Utils.html#gumd-Gum-String-Utils.functions_details">
<ANCHOR id="GUM-STR-FREE:CAPS" href="gumd/gumd-Gum-String-Utils.html#GUM-STR-FREE:CAPS">
+<ANCHOR id="GUM-STR-DUP:CAPS" href="gumd/gumd-Gum-String-Utils.html#GUM-STR-DUP:CAPS">
<ANCHOR id="GUM-STR-FREEV:CAPS" href="gumd/gumd-Gum-String-Utils.html#GUM-STR-FREEV:CAPS">
-<ANCHOR id="gum-string-utils-append-string" href="gumd/gumd-Gum-String-Utils.html#gum-string-utils-append-string">
-<ANCHOR id="gum-string-utils-delete-string" href="gumd/gumd-Gum-String-Utils.html#gum-string-utils-delete-string">
-<ANCHOR id="gum-string-utils-get-string" href="gumd/gumd-Gum-String-Utils.html#gum-string-utils-get-string">
-<ANCHOR id="gum-string-utils-insert-string" href="gumd/gumd-Gum-String-Utils.html#gum-string-utils-insert-string">
+<ANCHOR id="GUM-STR-DUPV:CAPS" href="gumd/gumd-Gum-String-Utils.html#GUM-STR-DUPV:CAPS">
<ANCHOR id="gum-string-utils-search-string" href="gumd/gumd-Gum-String-Utils.html#gum-string-utils-search-string">
<ANCHOR id="gum-string-utils-search-stringv" href="gumd/gumd-Gum-String-Utils.html#gum-string-utils-search-stringv">
+<ANCHOR id="gum-string-utils-get-string" href="gumd/gumd-Gum-String-Utils.html#gum-string-utils-get-string">
+<ANCHOR id="gum-string-utils-insert-string" href="gumd/gumd-Gum-String-Utils.html#gum-string-utils-insert-string">
+<ANCHOR id="gum-string-utils-delete-string" href="gumd/gumd-Gum-String-Utils.html#gum-string-utils-delete-string">
+<ANCHOR id="gum-string-utils-append-string" href="gumd/gumd-Gum-String-Utils.html#gum-string-utils-append-string">
+<ANCHOR id="gumd-Gum-String-Utils.other_details" href="gumd/gumd-Gum-String-Utils.html#gumd-Gum-String-Utils.other_details">
<ANCHOR id="gumd-Gum-Utils" href="gumd/gumd-Gum-Utils.html">
-<ANCHOR id="gumd-Gum-Utils.synopsis" href="gumd/gumd-Gum-Utils.html#gumd-Gum-Utils.synopsis">
+<ANCHOR id="gumd-Gum-Utils.functions" href="gumd/gumd-Gum-Utils.html#gumd-Gum-Utils.functions">
+<ANCHOR id="gumd-Gum-Utils.object-hierarchy" href="gumd/gumd-Gum-Utils.html#gumd-Gum-Utils.object-hierarchy">
+<ANCHOR id="gumd-Gum-Utils.includes" href="gumd/gumd-Gum-Utils.html#gumd-Gum-Utils.includes">
<ANCHOR id="gumd-Gum-Utils.description" href="gumd/gumd-Gum-Utils.html#gumd-Gum-Utils.description">
-<ANCHOR id="gumd-Gum-Utils.details" href="gumd/gumd-Gum-Utils.html#gumd-Gum-Utils.details">
+<ANCHOR id="gumd-Gum-Utils.functions_details" href="gumd/gumd-Gum-Utils.html#gumd-Gum-Utils.functions_details">
+<ANCHOR id="gum-utils-generate-nonce" href="gumd/gumd-Gum-Utils.html#gum-utils-generate-nonce">
<ANCHOR id="gum-utils-drop-privileges" href="gumd/gumd-Gum-Utils.html#gum-utils-drop-privileges">
<ANCHOR id="gum-utils-gain-privileges" href="gumd/gumd-Gum-Utils.html#gum-utils-gain-privileges">
-<ANCHOR id="gum-utils-generate-nonce" href="gumd/gumd-Gum-Utils.html#gum-utils-generate-nonce">
+<ANCHOR id="gumd-Gum-Utils.other_details" href="gumd/gumd-Gum-Utils.html#gumd-Gum-Utils.other_details">
<ANCHOR id="gumd-User-types" href="gumd/gumd-User-types.html">
-<ANCHOR id="gumd-User-types.synopsis" href="gumd/gumd-User-types.html#gumd-User-types.synopsis">
+<ANCHOR id="gumd-User-types.other" href="gumd/gumd-User-types.html#gumd-User-types.other">
+<ANCHOR id="gumd-User-types.object-hierarchy" href="gumd/gumd-User-types.html#gumd-User-types.object-hierarchy">
<ANCHOR id="gumd-User-types.description" href="gumd/gumd-User-types.html#gumd-User-types.description">
-<ANCHOR id="gumd-User-types.details" href="gumd/gumd-User-types.html#gumd-User-types.details">
+<ANCHOR id="gumd-User-types.functions_details" href="gumd/gumd-User-types.html#gumd-User-types.functions_details">
+<ANCHOR id="gumd-User-types.other_details" href="gumd/gumd-User-types.html#gumd-User-types.other_details">
<ANCHOR id="GumUserType" href="gumd/gumd-User-types.html#GumUserType">
-<ANCHOR id="GUM-USERTYPE-NONE:CAPS" href="gumd/gumd-User-types.html#GUM-USERTYPE-NONE:CAPS">
-<ANCHOR id="GUM-USERTYPE-SYSTEM:CAPS" href="gumd/gumd-User-types.html#GUM-USERTYPE-SYSTEM:CAPS">
-<ANCHOR id="GUM-USERTYPE-ADMIN:CAPS" href="gumd/gumd-User-types.html#GUM-USERTYPE-ADMIN:CAPS">
-<ANCHOR id="GUM-USERTYPE-GUEST:CAPS" href="gumd/gumd-User-types.html#GUM-USERTYPE-GUEST:CAPS">
-<ANCHOR id="GUM-USERTYPE-NORMAL:CAPS" href="gumd/gumd-User-types.html#GUM-USERTYPE-NORMAL:CAPS">
<ANCHOR id="gumd-Group-types" href="gumd/gumd-Group-types.html">
-<ANCHOR id="gumd-Group-types.synopsis" href="gumd/gumd-Group-types.html#gumd-Group-types.synopsis">
+<ANCHOR id="gumd-Group-types.other" href="gumd/gumd-Group-types.html#gumd-Group-types.other">
+<ANCHOR id="gumd-Group-types.object-hierarchy" href="gumd/gumd-Group-types.html#gumd-Group-types.object-hierarchy">
<ANCHOR id="gumd-Group-types.description" href="gumd/gumd-Group-types.html#gumd-Group-types.description">
-<ANCHOR id="gumd-Group-types.details" href="gumd/gumd-Group-types.html#gumd-Group-types.details">
+<ANCHOR id="gumd-Group-types.functions_details" href="gumd/gumd-Group-types.html#gumd-Group-types.functions_details">
+<ANCHOR id="gumd-Group-types.other_details" href="gumd/gumd-Group-types.html#gumd-Group-types.other_details">
<ANCHOR id="GumGroupType" href="gumd/gumd-Group-types.html#GumGroupType">
-<ANCHOR id="GUM-GROUPTYPE-NONE:CAPS" href="gumd/gumd-Group-types.html#GUM-GROUPTYPE-NONE:CAPS">
-<ANCHOR id="GUM-GROUPTYPE-SYSTEM:CAPS" href="gumd/gumd-Group-types.html#GUM-GROUPTYPE-SYSTEM:CAPS">
-<ANCHOR id="GUM-GROUPTYPE-USER:CAPS" href="gumd/gumd-Group-types.html#GUM-GROUPTYPE-USER:CAPS">
<ANCHOR id="GumUser" href="gumd/GumUser.html">
-<ANCHOR id="GumUser.synopsis" href="gumd/GumUser.html#GumUser.synopsis">
-<ANCHOR id="GumUser.object-hierarchy" href="gumd/GumUser.html#GumUser.object-hierarchy">
+<ANCHOR id="GumUser.functions" href="gumd/GumUser.html#GumUser.functions">
<ANCHOR id="GumUser.properties" href="gumd/GumUser.html#GumUser.properties">
+<ANCHOR id="GumUser.object-hierarchy" href="gumd/GumUser.html#GumUser.object-hierarchy">
+<ANCHOR id="GumUser.includes" href="gumd/GumUser.html#GumUser.includes">
<ANCHOR id="GumUser.description" href="gumd/GumUser.html#GumUser.description">
-<ANCHOR id="GumUser.details" href="gumd/GumUser.html#GumUser.details">
-<ANCHOR id="GumUser-struct" href="gumd/GumUser.html#GumUser-struct">
+<ANCHOR id="GumUser.functions_details" href="gumd/GumUser.html#GumUser.functions_details">
<ANCHOR id="GumUserCb" href="gumd/GumUser.html#GumUserCb">
-<ANCHOR id="GumUserClass" href="gumd/GumUser.html#GumUserClass">
-<ANCHOR id="gum-user-add" href="gumd/GumUser.html#gum-user-add">
-<ANCHOR id="gum-user-add-sync" href="gumd/GumUser.html#gum-user-add-sync">
<ANCHOR id="gum-user-create" href="gumd/GumUser.html#gum-user-create">
<ANCHOR id="gum-user-create-sync" href="gumd/GumUser.html#gum-user-create-sync">
-<ANCHOR id="gum-user-delete" href="gumd/GumUser.html#gum-user-delete">
-<ANCHOR id="gum-user-delete-sync" href="gumd/GumUser.html#gum-user-delete-sync">
<ANCHOR id="gum-user-get" href="gumd/GumUser.html#gum-user-get">
+<ANCHOR id="gum-user-get-sync" href="gumd/GumUser.html#gum-user-get-sync">
<ANCHOR id="gum-user-get-by-name" href="gumd/GumUser.html#gum-user-get-by-name">
<ANCHOR id="gum-user-get-by-name-sync" href="gumd/GumUser.html#gum-user-get-by-name-sync">
-<ANCHOR id="gum-user-get-sync" href="gumd/GumUser.html#gum-user-get-sync">
+<ANCHOR id="gum-user-add" href="gumd/GumUser.html#gum-user-add">
+<ANCHOR id="gum-user-add-sync" href="gumd/GumUser.html#gum-user-add-sync">
+<ANCHOR id="gum-user-delete" href="gumd/GumUser.html#gum-user-delete">
+<ANCHOR id="gum-user-delete-sync" href="gumd/GumUser.html#gum-user-delete-sync">
<ANCHOR id="gum-user-update" href="gumd/GumUser.html#gum-user-update">
<ANCHOR id="gum-user-update-sync" href="gumd/GumUser.html#gum-user-update-sync">
+<ANCHOR id="GumUser.other_details" href="gumd/GumUser.html#GumUser.other_details">
<ANCHOR id="GumUser.property-details" href="gumd/GumUser.html#GumUser.property-details">
<ANCHOR id="GumUser--gid" href="gumd/GumUser.html#GumUser--gid">
<ANCHOR id="GumUser--homedir" href="gumd/GumUser.html#GumUser--homedir">
<ANCHOR id="GumUser--username" href="gumd/GumUser.html#GumUser--username">
<ANCHOR id="GumUser--usertype" href="gumd/GumUser.html#GumUser--usertype">
<ANCHOR id="GumGroup" href="gumd/GumGroup.html">
-<ANCHOR id="GumGroup.synopsis" href="gumd/GumGroup.html#GumGroup.synopsis">
-<ANCHOR id="GumGroup.object-hierarchy" href="gumd/GumGroup.html#GumGroup.object-hierarchy">
+<ANCHOR id="GumGroup.functions" href="gumd/GumGroup.html#GumGroup.functions">
<ANCHOR id="GumGroup.properties" href="gumd/GumGroup.html#GumGroup.properties">
+<ANCHOR id="GumGroup.object-hierarchy" href="gumd/GumGroup.html#GumGroup.object-hierarchy">
+<ANCHOR id="GumGroup.includes" href="gumd/GumGroup.html#GumGroup.includes">
<ANCHOR id="GumGroup.description" href="gumd/GumGroup.html#GumGroup.description">
-<ANCHOR id="GumGroup.details" href="gumd/GumGroup.html#GumGroup.details">
-<ANCHOR id="GumGroup-struct" href="gumd/GumGroup.html#GumGroup-struct">
+<ANCHOR id="GumGroup.functions_details" href="gumd/GumGroup.html#GumGroup.functions_details">
<ANCHOR id="GumGroupCb" href="gumd/GumGroup.html#GumGroupCb">
-<ANCHOR id="GumGroupClass" href="gumd/GumGroup.html#GumGroupClass">
-<ANCHOR id="gum-group-add" href="gumd/GumGroup.html#gum-group-add">
-<ANCHOR id="gum-group-add-member" href="gumd/GumGroup.html#gum-group-add-member">
-<ANCHOR id="gum-group-add-member-sync" href="gumd/GumGroup.html#gum-group-add-member-sync">
-<ANCHOR id="gum-group-add-sync" href="gumd/GumGroup.html#gum-group-add-sync">
<ANCHOR id="gum-group-create" href="gumd/GumGroup.html#gum-group-create">
<ANCHOR id="gum-group-create-sync" href="gumd/GumGroup.html#gum-group-create-sync">
-<ANCHOR id="gum-group-delete" href="gumd/GumGroup.html#gum-group-delete">
-<ANCHOR id="gum-group-delete-member" href="gumd/GumGroup.html#gum-group-delete-member">
-<ANCHOR id="gum-group-delete-member-sync" href="gumd/GumGroup.html#gum-group-delete-member-sync">
-<ANCHOR id="gum-group-delete-sync" href="gumd/GumGroup.html#gum-group-delete-sync">
<ANCHOR id="gum-group-get" href="gumd/GumGroup.html#gum-group-get">
+<ANCHOR id="gum-group-get-sync" href="gumd/GumGroup.html#gum-group-get-sync">
<ANCHOR id="gum-group-get-by-name" href="gumd/GumGroup.html#gum-group-get-by-name">
<ANCHOR id="gum-group-get-by-name-sync" href="gumd/GumGroup.html#gum-group-get-by-name-sync">
-<ANCHOR id="gum-group-get-sync" href="gumd/GumGroup.html#gum-group-get-sync">
+<ANCHOR id="gum-group-add" href="gumd/GumGroup.html#gum-group-add">
+<ANCHOR id="gum-group-add-sync" href="gumd/GumGroup.html#gum-group-add-sync">
+<ANCHOR id="gum-group-delete" href="gumd/GumGroup.html#gum-group-delete">
+<ANCHOR id="gum-group-delete-sync" href="gumd/GumGroup.html#gum-group-delete-sync">
<ANCHOR id="gum-group-update" href="gumd/GumGroup.html#gum-group-update">
<ANCHOR id="gum-group-update-sync" href="gumd/GumGroup.html#gum-group-update-sync">
+<ANCHOR id="gum-group-add-member" href="gumd/GumGroup.html#gum-group-add-member">
+<ANCHOR id="gum-group-add-member-sync" href="gumd/GumGroup.html#gum-group-add-member-sync">
+<ANCHOR id="gum-group-delete-member" href="gumd/GumGroup.html#gum-group-delete-member">
+<ANCHOR id="gum-group-delete-member-sync" href="gumd/GumGroup.html#gum-group-delete-member-sync">
+<ANCHOR id="GumGroup.other_details" href="gumd/GumGroup.html#GumGroup.other_details">
<ANCHOR id="GumGroup.property-details" href="gumd/GumGroup.html#GumGroup.property-details">
<ANCHOR id="GumGroup--gid" href="gumd/GumGroup.html#GumGroup--gid">
<ANCHOR id="GumGroup--groupname" href="gumd/GumGroup.html#GumGroup--groupname">
+body
+{
+ font-family: cantarell, sans-serif;
+}
.synopsis, .classsynopsis
{
/* tango:aluminium 1/2 */
background: #eeeeec;
- border: solid 1px #d3d7cf;
+ background: rgba(238, 238, 236, 0.5);
+ border: solid 1px rgb(238, 238, 236);
padding: 0.5em;
}
.programlisting
{
/* tango:sky blue 0/1 */
+ /* fallback for no rgba support */
background: #e6f3ff;
border: solid 1px #729fcf;
+ background: rgba(114, 159, 207, 0.1);
+ border: solid 1px rgba(114, 159, 207, 0.2);
padding: 0.5em;
}
.variablelist
{
position: relative;
top: 0em ! important;
-
}
/* this is needed so that the local anchors are displayed below the naviagtion */
div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
*/
body
{
- padding-top: 3.2em;
- padding-bottom: 20em;
+ padding-top: 5em;
+ padding-bottom: 500px;
+ max-width: 60em;
+ }
+ p
+ {
+ max-width: 60em;
}
/* style and size the navigation bar */
table.navigation#top
{
position: fixed;
- /* tango:scarlet red 0/1 */
- background: #ffe6e6;
- border: solid 1px #ef2929;
+ background: #e2e2e2;
+ border-bottom: solid 1px #babdb6;
margin-top: 0;
margin-bottom: 0;
top: 0;
}
.navigation a, .navigation a:visited
{
- /* tango:scarlet red 3 */
- color: #a40000;
+ /* tango:sky blue 3 */
+ color: #204a87;
}
.navigation a:hover
{
- /* tango:scarlet red 1 */
- color: #ef2929;
+ /* tango:sky blue 2 */
+ color: #3465a4;
}
td.shortcuts
{
- /* tango:scarlet red 1 */
- color: #ef2929;
+ /* tango:sky blue 2 */
+ color: #3465a4;
font-size: 80%;
white-space: nowrap;
}
+ td.shortcuts .dim
+ {
+ color: #babdb6;
+ }
+}
+@media screen and (min-width: 60em) {
+ /* screen larger than 60em */
+ body { margin: auto; }
+}
+@media screen and (max-width: 60em) {
+ /* screen less than 60em */
+ #nav_hierarchy { display: none; }
+ #nav_interfaces { display: none; }
+ #nav_prerequisites { display: none; }
+ #nav_derived_interfaces { display: none; }
+ #nav_implementations { display: none; }
+ #nav_child_properties { display: none; }
+ #nav_style_properties { display: none; }
+ #nav_index { display: none; }
+ #nav_glossary { display: none; }
+ .gallery_image { display: none; }
+ .property_flags { display: none; }
+ .signal_flags { display: none; }
+ .parameter_annotations { display: none; }
+ .enum_member_annotations { display: none; }
+ .struct_member_annotations { display: none; }
+ .union_member_annotations { display: none; }
+ /* now that a column is hidden, optimize space */
+ col.parameters_name { width: auto; }
+ col.parameters_description { width: auto; }
+ col.struct_members_name { width: auto; }
+ col.struct_members_description { width: auto; }
+ col.enum_members_name { width: auto; }
+ col.enum_members_description { width: auto; }
+ col.union_members_name { width: auto; }
+ col.union_members_description { width: auto; }
}
@media print {
table.navigation {
div.titlepage table.navigation {
visibility: visible;
display: table;
- /* tango:scarlet red 0/1 */
- background: #ffe6e6;
- border: solid 1px #ef2929;
+ background: #e2e2e2;
+ border: solid 1px #babdb6;
margin-top: 0;
margin-bottom: 0;
top: 0;
.navigation .title
{
- font-size: 200%;
+ font-size: 120%;
}
div.gallery-float
color: #729fcf;
}
+div.informaltable table
+{
+ border-collapse: separate;
+ border-spacing: 20px 3px;
+ border: none;
+}
+
+div.informaltable table td, div.informaltable table th
+{
+ vertical-align: top;
+}
+
+.function_type,
+.variable_type,
+.property_type,
+.signal_type,
+.parameter_name,
+.struct_member_name,
+.union_member_name,
+.define_keyword,
+.datatype_keyword,
+.typedef_keyword
+{
+ text-align: right;
+}
+
+/* dim non-primary columns */
+.c_punctuation,
+.function_type,
+.variable_type,
+.property_type,
+.signal_type,
+.define_keyword,
+.datatype_keyword,
+.typedef_keyword,
+.property_flags,
+.signal_flags,
+.parameter_annotations,
+.enum_member_annotations,
+.struct_member_annotations,
+.union_member_annotations
+{
+ color: #888a85;
+}
+
+.function_type a,
+.function_type a:visited,
+.function_type a:hover,
+.property_type a,
+.property_type a:visited,
+.property_type a:hover,
+.signal_type a,
+.signal_type a:visited,
+.signal_type a:hover,
+.signal_flags a,
+.signal_flags a:visited,
+.signal_flags a:hover
+{
+ color: #729fcf;
+}
+
div.table table
{
border-collapse: collapse;
background-color: #d3d7cf;
}
+h4
+{
+ color: #555753;
+}
+
hr
{
- /* tango:aluminium 3 */
- color: #babdb6;
- background: #babdb6;
+ /* tango:aluminium 1 */
+ color: #d3d7cf;
+ background: #d3d7cf;
border: none 0px;
height: 1px;
clear: both;
+ margin: 2.0em 0em 2.0em 0em;
+}
+
+dl.toc dt
+{
+ padding-bottom: 0.25em;
+}
+
+dl.toc > dd > dl > dt
+{
+ padding-top: 0.25em;
+ padding-bottom: 0.25em;
+}
+
+dl.toc > dt
+{
+ padding-top: 1em;
+ padding-bottom: 0.5em;
+ font-weight: bold;
+}
+
+.parameter
+{
+ font-style: normal;
}
.footer
font-size: 80%;
}
+.informalfigure,
+.figure
+{
+ margin: 1em;
+}
+
+.informalexample,
+.example
+{
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
.warning
{
/* tango:orange 0/1 */
background: #ffeed9;
+ background: rgba(252, 175, 62, 0.1);
border-color: #ffb04f;
+ border-color: rgba(252, 175, 62, 0.2);
}
.note
{
/* tango:chameleon 0/0.5 */
background: #d8ffb2;
+ background: rgba(138, 226, 52, 0.1);
border-color: #abf562;
+ border-color: rgba(138, 226, 52, 0.2);
}
-.note, .warning
+div.blockquote
+{
+ border-color: #eeeeec;
+}
+.note, .warning, div.blockquote
{
padding: 0.5em;
border-width: 1px;
border-style: solid;
+ margin: 2em;
}
-.note h3, .warning h3
+.note p, .warning p
{
- margin-top: 0.0em
+ margin: 0;
}
-.note p, .warning p
+
+div.warning h3.title,
+div.note h3.title
{
- margin-bottom: 0.0em
+ display: none;
+}
+
+p + div.section
+{
+ margin-top: 1em;
+}
+
+div.refnamediv,
+div.refsynopsisdiv,
+div.refsect1,
+div.refsect2,
+div.toc,
+div.section
+{
+ margin-bottom: 1em;
}
/* blob links */
font-weight: normal;
}
+.lineart
+{
+ color: #d3d7cf;
+ font-weight: normal;
+}
+
.annotation
{
/* tango:aluminium 5 */
color: #555753;
- font-size: 80%;
+ font-weight: normal;
+}
+
+.structfield
+{
+ font-style: normal;
font-weight: normal;
}
.listing_frame {
/* tango:sky blue 1 */
border: solid 1px #729fcf;
+ border: solid 1px rgba(114, 159, 207, 0.2);
padding: 0px;
}
padding: 0.5em;
}
.listing_lines {
+ /* this just adds visual clutter and
+ takes precious room from small screens */
+ display: none;
+}
+.listing_lines {
/* tango:sky blue 0.5 */
background: #a6c5e3;
+ background: rgba(114, 159, 207, 0.2);
/* tango:aluminium 6 */
color: #2e3436;
}
.listing_code {
/* tango:sky blue 0 */
background: #e6f3ff;
+ background: rgba(114, 159, 207, 0.1);
}
.listing_code .programlisting {
/* override from previous */
border: none 0px;
padding: 0px;
+ background: none;
}
.listing_lines pre, .listing_code pre {
margin: 0px;
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Building and Installation</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Building and Installation</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="index.html" title="gumd API Reference Manual">
<link rel="prev" href="um-intro.html" title="Introduction">
<link rel="next" href="ch01.html" title="Daemon (gumd) configuration">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
-<td><a accesskey="p" href="um-intro.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td> </td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="ch01.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="um-intro.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="ch01.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="um-building"></a><div class="titlepage"></div>
are <span class="command"><strong>pkg-config</strong></span> and
<a class="ulink" href="http://www.gnu.org/software/make" target="_top">GNU make</a>.
</p>
-<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
+<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
<a class="ulink" href="http://www.freedesktop.org/software/pkgconfig/" target="_top">
pkg-config
</a>
<p>
gumd depends on a number of other libraries.
</p>
-<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>
The <a class="ulink" href="https://developer.gnome.org/glib/" target="_top">GLib
library</a> is the development framework that gumd and libgum
Sets the way in which libgum is using DBus to communicate with
gumd. <code class="systemitem">dbus-type</code> can be one of
</p>
-<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>
<code class="systemitem">'p2p'</code> which is the default value.
Gumd will use direct connection over a UNIX domain socket
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Introduction</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<title>gumd API Reference Manual: Introduction</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gumd API Reference Manual">
<link rel="up" href="index.html" title="gumd API Reference Manual">
<link rel="prev" href="index.html" title="gumd API Reference Manual">
<link rel="next" href="um-building.html" title="Building and Installation">
-<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
-<td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td> </td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">gumd API Reference Manual</th>
-<td><a accesskey="n" href="um-building.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="um-building.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="um-intro"></a><div class="titlepage"></div>
<div class="refsect1">
-<a name="idp9146448"></a><h2>What is gumd/libgum?</h2>
+<a name="id-1.2.2"></a><h2>What is gumd/libgum?</h2>
<p>
gumd and libgum together provides a framework for creating, deleting
and modifying user and groups in the system. gumd is a daemon that
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.18</div>
+ Generated by GTK-Doc V1.20</div>
</body>
</html>
\ No newline at end of file
}
/**
- * INFO:
+ * ERR:
* @frmt: format string for the message
* @...: arguments for the format string
*
- * Use this macro to log informational messages. Gum will take care of
+ * Use this macro to log error messages. Gum will take care of
* correctly saving them.
*/
-#define INFO(frmt, args...) g_message("%f %s:%d %s " frmt , \
+#define ERR(frmt, args...) g_critical("%f %s:%d %s " frmt , \
g_get_monotonic_time()*1.0e-6, __FILE__, __LINE__, \
__PRETTY_FUNCTION__, ##args)
/**
- * ERR:
+ * WARN:
* @frmt: format string for the message
* @...: arguments for the format string
*
- * Use this macro to log error messages. Gum will take care of
+ * Use this macro to log warning messages. Gum will take care of
* correctly saving them.
*/
-#define ERR(frmt, args...) g_critical("%f %s:%d %s " frmt , \
+#define WARN(frmt, args...) g_warning("%f %s:%d %s " frmt , \
g_get_monotonic_time()*1.0e-6, __FILE__, __LINE__, \
__PRETTY_FUNCTION__, ##args)
+#ifdef ENABLE_DEBUG
/**
- * WARN:
+ * INFO:
* @frmt: format string for the message
* @...: arguments for the format string
*
- * Use this macro to log warning messages. Gum will take care of
+ * Use this macro to log informational messages. Gum will take care of
* correctly saving them.
*/
-#define WARN(frmt, args...) g_warning("%f %s:%d %s " frmt , \
+#define INFO(frmt, args...) g_message("%f %s:%d %s " frmt , \
g_get_monotonic_time()*1.0e-6, __FILE__, __LINE__, \
__PRETTY_FUNCTION__, ##args)
#define DBG(frmt, args...) g_debug("%f %s:%d %s " frmt , \
g_get_monotonic_time()*1.0e-6, __FILE__, __LINE__, \
__PRETTY_FUNCTION__, ##args)
+#else
+# define INFO(frmt, args...)
+# define DBG(frmt, args...)
+#endif
#endif /* __GUM_LOG_H_ */
dnl -*- mode: autoconf -*-
-# serial 1
+# serial 2
dnl Usage:
dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
+ ifelse([$1],[],[gtk_doc_requires="gtk-doc"],[gtk_doc_requires="gtk-doc >= $1"])
+ AC_MSG_CHECKING([for gtk-doc])
+ PKG_CHECK_EXISTS([$gtk_doc_requires],[have_gtk_doc=yes],[have_gtk_doc=no])
+ AC_MSG_RESULT($have_gtk_doc)
+
+ if test "$have_gtk_doc" = "no"; then
+ AC_MSG_WARN([
+ You will not be able to create source packages with 'make dist'
+ because $gtk_doc_requires is not found.])
+ fi
+
dnl check for tools we added during development
- AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
+ dnl Use AC_CHECK_PROG to avoid the check target using an absolute path that
+ dnl may not be writable by the user. Currently, automake requires that the
+ dnl test name must end in '.test'.
+ dnl https://bugzilla.gnome.org/show_bug.cgi?id=701638
+ AC_CHECK_PROG([GTKDOC_CHECK],[gtkdoc-check],[gtkdoc-check.test])
+ AC_PATH_PROG([GTKDOC_CHECK_PATH],[gtkdoc-check])
AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
[use gtk-doc to build documentation [[default=no]]]),,
[enable_gtk_doc=no])
- if test x$enable_gtk_doc = xyes; then
- ifelse([$1],[],
- [PKG_CHECK_EXISTS([gtk-doc],,
- AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
- [PKG_CHECK_EXISTS([gtk-doc >= $1],,
- AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
- dnl don't check for glib if we build glib
- if test "x$PACKAGE_NAME" != "xglib"; then
- dnl don't fail if someone does not have glib
- PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,)
- fi
- fi
-
AC_MSG_CHECKING([whether to build gtk-doc documentation])
AC_MSG_RESULT($enable_gtk_doc)
+ if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
+ AC_MSG_ERROR([
+ You must have $gtk_doc_requires installed to build documentation for
+ $PACKAGE_NAME. Please install gtk-doc or disable building the
+ documentation by adding '--disable-gtk-doc' to '[$]0'.])
+ fi
+
+ dnl don't check for glib if we build glib
+ if test "x$PACKAGE_NAME" != "xglib"; then
+ dnl don't fail if someone does not have glib
+ PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,[:])
+ fi
+
dnl enable/disable output formats
AC_ARG_ENABLE([gtk-doc-html],
AS_HELP_STRING([--enable-gtk-doc-html],
enable_gtk_doc_pdf=no
fi
+ if test -z "$AM_DEFAULT_VERBOSITY"; then
+ AM_DEFAULT_VERBOSITY=1
+ fi
+ AC_SUBST([AM_DEFAULT_VERBOSITY])
+ AM_CONDITIONAL([HAVE_GTK_DOC], [test x$have_gtk_doc = xyes])
AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
rm -rf conftest*
;;
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
LD="${LD-ld} -m elf_i386_fbsd"
;;
x86_64-*linux*)
- LD="${LD-ld} -m elf_i386"
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
+ ;;
+ powerpc64le-*)
+ LD="${LD-ld} -m elf32lppclinux"
;;
- ppc64-*linux*|powerpc64-*linux*)
+ powerpc64-*)
LD="${LD-ld} -m elf32ppclinux"
;;
s390x-*linux*)
x86_64-*linux*)
LD="${LD-ld} -m elf_x86_64"
;;
- ppc*-*linux*|powerpc*-*linux*)
+ powerpcle-*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+ powerpc-*)
LD="${LD-ld} -m elf64ppc"
;;
s390*-*linux*|s390*-*tpf*)
;;
*)
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
- if test -n "$lt_cv_sys_max_cmd_len"; then
+ if test -n "$lt_cv_sys_max_cmd_len" && \
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
else
esac
;;
-gnu*)
- version_type=linux # correct to gnu/linux during the next big refactor
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=no
- hardcode_into_libs=yes
- ;;
-
haiku*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
;;
# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
fi
;;
-gnu*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
haiku*)
lt_cv_deplibs_check_method=pass_all
;;
;;
# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
lt_cv_deplibs_check_method=pass_all
;;
;;
esac
;;
- linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
case $cc_basename in
KCC*)
# KAI C++ Compiler
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;;
- linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
case $cc_basename in
# old Intel for x86_64 which still supported -KPIC.
ecc*)
_LT_TAGVAR(ld_shlibs, $1)=yes
;;
- gnu*)
- ;;
-
haiku*)
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
_LT_TAGVAR(link_all_deplibs, $1)=yes
_LT_TAGVAR(inherit_rpath, $1)=yes
;;
- linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
case $cc_basename in
KCC*)
# Kuck and Associates, Inc. (KAI) C++ Compiler
+++ /dev/null
-#
-# gumd Configuration file.
-#
-
-#
-# This group contains top-level settings.
-#
-[General]
-
-# Comma separate listed of groups, which every user (other than system user)
-# will be added to at the time of user account creation. Default value is:
-# ''
-#DEFAULT_USR_GROUPS=
-
-# Comma separate listed of groups, which admin user will be added to at the
-# time of user account creation. Default value is: ''
-#DEFAULT_ADMIN_GROUPS=
-
-# Path to passwd file which represents user information. Default is
-# /etc/passwd. More information about the file format can be read at the
-# manpages for 'passwd'.
-# Can be overriden in debug builds by setting UM_PASSWD_FILE
-# environment variable.
-#PASSWD_FILE=/etc/passwd
-
-# Path to shadow file which represents user shadowed password information.
-# Default is /etc/shadow. More information about the file format can be read
-# at the manpages for 'shadow'.
-# Can be overriden in debug builds by setting UM_SHADOW_FILE
-# environment variable.
-#SHADOW_FILE=/etc/shadow
-
-# Path to group file which represents group information. Default is /etc/group.
-# More information about the file format can be read at the manpages for
-# 'group'.
-# Can be overriden in debug builds by setting UM_GROUP_FILE
-# environment variable.
-#GROUP_FILE=/etc/group
-
-# Path to group file which represents shadowed group information.
-# Default is /etc/gshadow. More information about the file format can be read
-# at the manpages for 'gshadow'.
-# Can be overriden in debug builds by setting UM_GSHADOW_FILE
-# environment variable.
-#GSHADOW_FILE=/etc/gshadow
-
-# Prefix to be used when creating home directory for the user. For example,
-# with prefix '/home', user 'newu' home directory will be created as
-# '/home/newu'. Default value is '/home'
-# Can be overriden in debug builds by setting UM_HOMEDIR_PREFIX
-# environment variable.
-#HOME_DIR=/home
-
-# Path to user shell executable. Default value is '/bin/bash'
-#SHELL=/bin/bash
-
-# Path to skeleton folder. When new users are created, contents of the skel
-# folder is copied to user home directory. Default value is '/etc/skel'
-# Can be overriden in debug builds by setting UM_SKEL_DIR
-# environment variable.
-#SKEL_DIR=/etc/skel
-
-# Minimum value for the automatic uid selection. Default value is: 2000
-#UID_MIN=2000
-
-# Maximum value for the automatic uid selection. Default value is: 60000
-#UID_MAX=60000
-
-# Minimum value for the automatic uid selection for system user. Default
-# value is: 200
-#SYS_UID_MIN=200
-
-# Maximum value for the automatic uid selection for system user. Default value
-# is: 999
-#SYS_UID_MAX=999
-
-# Minimum value for the automatic gid selection. Default value is: 2000
-#GID_MIN=2000
-
-# Maximum value for the automatic gid selection. Default value is: 60000
-#GID_MAX=60000
-
-# Minimum value for the automatic gid selection for system user. Default value
-# is: 200
-#SYS_GID_MIN=200
-
-# Maximum value for the automatic gid selection for system user. Default value
-# is: 999
-#SYS_GID_MAX=999
-
-# Minimum number of days a password may be used. Default value is: 0
-#PASS_MIN_DAYS=0
-
-# Maximum number of days allowed between password changes. Default value is:
-# 99999
-#PASS_MAX_DAYS=99999
-
-# Number of days warning given before a password expires. Default value is:
-# 7
-#PASS_WARN_AGE=7
-
-# Value used to set the mode of home directories created for new users.
-# Default value is: 022
-#UMASK=022
-
-# Value used to set the encryption algorithm. Default
-# value is: 'SHA512' (other supported options are: 'MD5', 'SHA256', 'DES')
-#ENCRYPT_METHOD=SHA512
-
-# Value used to set the smack label for newly created files and folders.
-SMACK64_NEW_FILES=_
-
-# Value used to set the smack label for User files and folders.
-SMACK64_USER_FILES=User
-
-#
-# D-Bus related settings.
-#
-[ObjectTimeouts]
-
-# Timeout in seconds for the daemon. Daemon will exit after specified idle time.
-# If not set (or set to 0), the daemon will not exit. Has no effect if P2P DBus
-# is in use.
-#DAEMON_TIMEOUT=7
-
-# Timeout in seconds for user dbus objects. If not set (or set to 0), the dbus
-# objects will persist
-#USER_TIMEOUT=5
-
-# Timeout in seconds for group dbus objects. If not set (or set to 0), the dbus
-# objects will persist
-#GROUP_TIMEOUT=5
+++ /dev/null
-* Thu May 22 2014 Imran Zaman <imran.zaman@intel.com>
-- Renamed gum-example as gum-utils to be used as command line utility
-
-* Wed May 21 2014 Imran Zaman <imran.zaman@intel.com>
-- Fixed Bug # TIVI-2988
-- Updated logs
-
-* Tue May 20 2014 Imran Zaman <imran.zaman@intel.com>
-- Fixed bug#TIVI-3170 (fixed smack labels for newly created files and folders
- as reported in https://bugs.tizen.org/jira/browse/TIVI-3170)
-
-* Wed Feb 12 2014 Imran Zaman <imran.zaman@intel.com>
-- Simplified gumd packages for Tizen and SUSE
-- Simplified gumd packages
-- fix uninstalled pkgconfig files
-
-* Fri Feb 07 2014 Patrick McCarty <patrick.mccarty@linux.intel.com> fe07066
-- Move the packaging files into the packaging/ directory, since a symlink with
- the same name does not work with 'gbs build'. (DEVT-148)
-
-* Fri Dec 27 2013 Imran Zaman <imran.zaman@intel.com>
-- Obsoletes gum package as the package is renamed to gumd
-
-* Mon Dec 23 2013 Imran Zaman <imran.zaman@intel.com>
-- added test cases for error and dictionary objects
-- utilized dictionary functions for get/set key-value pairs
-- clean up generated coverage files on make clean
-- enable tests by default if coverage is enabled
-- exclude external and generated dbus files from code coverage calculation
-
-* Fri Dec 20 2013 Imran Zaman <imran.zaman@intel.com>
-- Corrected spec and changes file names
-
-* Fri Dec 20 2013 Imran Zaman <imran.zaman@intel.com>
-- Removed dist spec packaging folder from main source tree
-
-* Fri Dec 20 2013 Imran Zaman <imran.zaman@intel.com>
-- Release 0.0.1 (First release)
-
-* Mon Sep 02 2013 Imran Zaman <imran.zaman@intel.com>
-- Initial RPM packaging
+++ /dev/null
-<manifest>
- <request>
- <domain name="_"/>
- </request>
-</manifest>
+++ /dev/null
-# define used dbus type [p2p, session, system]
-%define dbus_type system
-# enable debug features such as control environment variables
-# WARNING! do not use for production builds as it will break security
-%define debug_build 0
-
-Name: gumd
-Summary: User management daemon and client library
-Version: 0.0.2
-Release: 1
-Group: System/Daemons
-License: LGPL-2.1+
-Source: %{name}-%{version}.tar.gz
-URL: https://github.com/01org/gumd
-Source1001: %{name}.manifest
-Source1002: libgum.manifest
-Source1003: %{name}-tizen.conf
-Obsoletes: gum
-Requires: libgum = %{version}-%{release}
-%if %{dbus_type} != "p2p"
-Requires: dbus-1
-%endif
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-BuildRequires: pkgconfig(systemd)
-BuildRequires: pkgconfig(dbus-1)
-BuildRequires: pkgconfig(gtk-doc)
-BuildRequires: pkgconfig(glib-2.0) >= 2.30
-BuildRequires: pkgconfig(gobject-2.0)
-BuildRequires: pkgconfig(gio-2.0)
-BuildRequires: pkgconfig(gio-unix-2.0)
-BuildRequires: pkgconfig(gmodule-2.0)
-
-
-%description
-%{summary}.
-
-
-%package -n libgum
-Summary: User management client library
-Group: System/Libraries
-
-
-%description -n libgum
-%{summary}.
-
-
-%package -n libgum-devel
-Summary: Development files for user management client library
-Group: Development/Libraries
-Requires: libgum = %{version}-%{release}
-
-
-%description -n libgum-devel
-%{summary}.
-
-
-%package doc
-Summary: Documentation files for %{name}
-Group: Development/Libraries
-Requires: libgum = %{version}-%{release}
-
-
-%description doc
-%{summary}.
-
-
-%prep
-%setup -q -n %{name}-%{version}
-
-
-%build
-%if %{debug_build} == 1
-%configure --enable-dbus-type=%{dbus_type} %{_enable_debug}
-%else
-%configure --enable-dbus-type=%{dbus_type}
-%endif
-
-
-make %{?_smp_mflags}
-
-
-%install
-rm -rf %{buildroot}
-%make_install
-cp -a %{SOURCE1001} %{buildroot}%{_datadir}/%{name}.manifest
-cp -a %{SOURCE1002} %{buildroot}%{_datadir}/libgum.manifest
-cp -a %{SOURCE1003} %{buildroot}%{_sysconfdir}/%{name}.conf
-
-
-%post
-/sbin/ldconfig
-chmod u+s %{_bindir}/%{name}
-getent group gumd > /dev/null || /usr/sbin/groupadd -r gumd
-
-
-%postun -p /sbin/ldconfig
-
-
-%files -n libgum
-%defattr(-,root,root,-)
-%manifest %{_datadir}/libgum.manifest
-%{_libdir}/libgum*.so.*
-%{_bindir}/gum-utils
-
-
-%files -n libgum-devel
-%defattr(-,root,root,-)
-%{_includedir}/gum/*
-%{_libdir}/libgum*.so
-%{_libdir}/pkgconfig/libgum.pc
-%if %{dbus_type} != "p2p"
-%{_datadir}/dbus-1/interfaces/*UserManagement*.xml
-%endif
-
-
-%files
-%defattr(-,root,root,-)
-%manifest %{_datadir}/%{name}.manifest
-%doc AUTHORS COPYING.LIB INSTALL NEWS README
-%{_bindir}/%{name}
-%config(noreplace) %{_sysconfdir}/%{name}.conf
-%if %{dbus_type} == "session"
-%dir %{_datadir}/dbus-1/services
-%{_datadir}/dbus-1/services/*UserManagement*.service
-%else if %{dbus_type} == "system"
-%dir %{_datadir}/dbus-1/system-services
-%{_datadir}/dbus-1/system-services/*UserManagement*.service
-%dir %{_sysconfdir}/dbus-1
-%dir %{_sysconfdir}/dbus-1/system.d
-%config(noreplace) %{_sysconfdir}/dbus-1/system.d/gumd-dbus.conf
-%endif
-
-
-%files doc
-%defattr(-,root,root,-)
-%{_datadir}/gtk-doc/html/gumd/*
+++ /dev/null
-<manifest>
- <request>
- <domain name="_"/>
- </request>
-</manifest>
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@SET_MAKE@
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
build_triplet = @build@
host_triplet = @host@
subdir = src
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
+am__v_at_1 =
SOURCES =
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
-rm -rf .libs _libs
# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-$(RECURSIVE_CLEAN_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(MKDIR_P) "$(distdir)/$$subdir" \
- || exit 1; \
- fi; \
- done
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
- install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am check check-am clean clean-generic clean-libtool \
- ctags ctags-recursive distclean distclean-generic \
- distclean-libtool distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am
+.MAKE: $(am__recursive_targets) install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+ check-am clean clean-generic clean-libtool cscopelist-am ctags \
+ ctags-am distclean distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
+ ps ps-am tags tags-am uninstall uninstall-am
# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
build_triplet = @build@
host_triplet = @host@
subdir = src/common
-DIST_COMMON = $(libgum_common_include_HEADERS) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/build-aux/depcomp \
+ $(libgum_common_include_HEADERS)
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
+am__v_lt_1 =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
DEFAULT_INCLUDES =
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
-am__v_CC_0 = @echo " CC " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
-am__v_CCLD_0 = @echo " CCLD " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
SOURCES = $(libgum_common_la_SOURCES) $(dist_libgum_common_la_SOURCES)
DIST_SOURCES = $(libgum_common_la_SOURCES) \
$(dist_libgum_common_la_SOURCES)
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
HEADERS = $(libgum_common_include_HEADERS)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
+
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
@$(NORMAL_INSTALL)
- test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
list2=; for p in $$list; do \
if test -f $$p; then \
else :; fi; \
done; \
test -z "$$list2" || { \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
}
clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
- dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- test "$$dir" != "$$p" || dir=.; \
- echo "rm -f \"$${dir}/so_locations\""; \
- rm -f "$${dir}/so_locations"; \
- done
+ @list='$(lib_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
libgum-common.la: $(libgum_common_la_OBJECTS) $(libgum_common_la_DEPENDENCIES) $(EXTRA_libgum_common_la_DEPENDENCIES)
$(AM_V_CCLD)$(LINK) -rpath $(libdir) $(libgum_common_la_OBJECTS) $(libgum_common_la_LIBADD) $(LIBS)
-rm -rf .libs _libs
install-libgum_common_includeHEADERS: $(libgum_common_include_HEADERS)
@$(NORMAL_INSTALL)
- test -z "$(libgum_common_includedir)" || $(MKDIR_P) "$(DESTDIR)$(libgum_common_includedir)"
@list='$(libgum_common_include_HEADERS)'; test -n "$(libgum_common_includedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libgum_common_includedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libgum_common_includedir)" || exit 1; \
+ fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
dir='$(DESTDIR)$(libgum_common_includedir)'; $(am__uninstall_files_from_dir)
# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-$(RECURSIVE_CLEAN_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(MKDIR_P) "$(distdir)/$$subdir" \
- || exit 1; \
- fi; \
- done
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
uninstall-am: uninstall-libLTLIBRARIES \
uninstall-libgum_common_includeHEADERS
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
- install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am check check-am clean clean-generic \
- clean-libLTLIBRARIES clean-libtool ctags ctags-recursive \
- distclean distclean-compile distclean-generic \
- distclean-libtool distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-libLTLIBRARIES \
- install-libgum_common_includeHEADERS install-man install-pdf \
- install-pdf-am install-ps install-ps-am install-strip \
- installcheck installcheck-am installdirs installdirs-am \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
- pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
- uninstall-libLTLIBRARIES \
+.MAKE: $(am__recursive_targets) install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+ check-am clean clean-generic clean-libLTLIBRARIES \
+ clean-libtool cscopelist-am ctags ctags-am distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am \
+ install-libLTLIBRARIES install-libgum_common_includeHEADERS \
+ install-man install-pdf install-pdf-am install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES \
uninstall-libgum_common_includeHEADERS
DBUS_BUILT_DOCS = \
gum-dbus-user-doc-gen-org.tizen.SecurityAccounts.gUserManagement.User.xml \
- gum-dbus-user-doc-gen-org.tizen.SecurityAccounts.gUserManagement.UserService.xml \
+ gum-dbus-user-service-doc-gen-org.tizen.SecurityAccounts.gUserManagement.UserService.xml \
gum-dbus-group-doc-gen-org.tizen.SecurityAccounts.gUserManagement.Group.xml \
- gum-dbus-user-doc-gen-org.tizen.SecurityAccounts.gUserManagement.GroupService.xml \
+ gum-dbus-group-service-doc-gen-org.tizen.SecurityAccounts.gUserManagement.GroupService.xml \
$(NULL)
DBUS_INTERFACE_PREFIX="org.tizen.SecurityAccounts.gUserManagement."
libgum_dbus_glue_la_CPPFLAGS = \
$(GUM_COMMON_INCLUDES) \
$(GUM_COMMON_CFLAGS) \
+ $(top_builddir)/src/ \
$(NULL)
libgum_dbus_glue_la_LIBADD = \
$(GUM_COMMON_LIBS) \
$(NULL)
-libgum_dbus_glue_la_SOURCES = \
+nodist_libgum_dbus_glue_la_SOURCES = \
$(DBUS_BUILT_SOURCES) \
$(NULL)
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
build_triplet = @build@
host_triplet = @host@
subdir = src/common/dbus
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/build-aux/depcomp
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
libgum_dbus_glue_la-gum-dbus-group-gen.lo \
libgum_dbus_glue_la-gum-dbus-group-service-gen.lo \
$(am__objects_1)
-am_libgum_dbus_glue_la_OBJECTS = $(am__objects_2) $(am__objects_1)
-libgum_dbus_glue_la_OBJECTS = $(am_libgum_dbus_glue_la_OBJECTS)
+nodist_libgum_dbus_glue_la_OBJECTS = $(am__objects_2) $(am__objects_1)
+libgum_dbus_glue_la_OBJECTS = $(nodist_libgum_dbus_glue_la_OBJECTS)
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
+am__v_lt_1 =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
DEFAULT_INCLUDES =
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
-am__v_CC_0 = @echo " CC " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
-am__v_CCLD_0 = @echo " CCLD " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
-SOURCES = $(libgum_dbus_glue_la_SOURCES)
-DIST_SOURCES = $(libgum_dbus_glue_la_SOURCES)
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = $(nodist_libgum_dbus_glue_la_SOURCES)
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
}
am__installdirs = "$(DESTDIR)$(dbusinterfacesdir)"
DATA = $(dbusinterfaces_DATA)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
DBUS_BUILT_DOCS = \
gum-dbus-user-doc-gen-org.tizen.SecurityAccounts.gUserManagement.User.xml \
- gum-dbus-user-doc-gen-org.tizen.SecurityAccounts.gUserManagement.UserService.xml \
+ gum-dbus-user-service-doc-gen-org.tizen.SecurityAccounts.gUserManagement.UserService.xml \
gum-dbus-group-doc-gen-org.tizen.SecurityAccounts.gUserManagement.Group.xml \
- gum-dbus-user-doc-gen-org.tizen.SecurityAccounts.gUserManagement.GroupService.xml \
+ gum-dbus-group-service-doc-gen-org.tizen.SecurityAccounts.gUserManagement.GroupService.xml \
$(NULL)
DBUS_INTERFACE_PREFIX = "org.tizen.SecurityAccounts.gUserManagement."
libgum_dbus_glue_la_CPPFLAGS = \
$(GUM_COMMON_INCLUDES) \
$(GUM_COMMON_CFLAGS) \
+ $(top_builddir)/src/ \
$(NULL)
libgum_dbus_glue_la_LIBADD = \
$(GUM_COMMON_LIBS) \
$(NULL)
-libgum_dbus_glue_la_SOURCES = \
+nodist_libgum_dbus_glue_la_SOURCES = \
$(DBUS_BUILT_SOURCES) \
$(NULL)
clean-noinstLTLIBRARIES:
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
- @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
- dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- test "$$dir" != "$$p" || dir=.; \
- echo "rm -f \"$${dir}/so_locations\""; \
- rm -f "$${dir}/so_locations"; \
- done
+ @list='$(noinst_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
libgum-dbus-glue.la: $(libgum_dbus_glue_la_OBJECTS) $(libgum_dbus_glue_la_DEPENDENCIES) $(EXTRA_libgum_dbus_glue_la_DEPENDENCIES)
$(AM_V_CCLD)$(LINK) $(libgum_dbus_glue_la_OBJECTS) $(libgum_dbus_glue_la_LIBADD) $(LIBS)
-rm -rf .libs _libs
install-dbusinterfacesDATA: $(dbusinterfaces_DATA)
@$(NORMAL_INSTALL)
- test -z "$(dbusinterfacesdir)" || $(MKDIR_P) "$(DESTDIR)$(dbusinterfacesdir)"
@list='$(dbusinterfaces_DATA)'; test -n "$(dbusinterfacesdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(dbusinterfacesdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(dbusinterfacesdir)" || exit 1; \
+ fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(dbusinterfacesdir)'; $(am__uninstall_files_from_dir)
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
.MAKE: install-am install-strip
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
- clean-libtool clean-local clean-noinstLTLIBRARIES ctags \
- distclean distclean-compile distclean-generic \
- distclean-libtool distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-dbusinterfacesDATA install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
- pdf pdf-am ps ps-am tags uninstall uninstall-am \
- uninstall-dbusinterfacesDATA
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
+ clean-libtool clean-local clean-noinstLTLIBRARIES \
+ cscopelist-am ctags ctags-am distclean distclean-compile \
+ distclean-generic distclean-libtool distclean-tags distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dbusinterfacesDATA \
+ install-dvi install-dvi-am install-exec install-exec-am \
+ install-html install-html-am install-info install-info-am \
+ install-man install-pdf install-pdf-am install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am uninstall-dbusinterfacesDATA
gum-dbus-user-gen.c gum-dbus-user-gen.h : $(INTERFACES_DIR)/org.tizen.SecurityAccounts.gUserManagement.User.xml
gdbus-codegen \
+++ /dev/null
-/*
- * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
- *
- * The license of this code is the same as for the source it was derived from.
- */
-
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include "gum-dbus-group-gen.h"
-
-#include <string.h>
-#ifdef G_OS_UNIX
-# include <gio/gunixfdlist.h>
-#endif
-
-typedef struct
-{
- GDBusArgInfo parent_struct;
- gboolean use_gvariant;
-} _ExtendedGDBusArgInfo;
-
-typedef struct
-{
- GDBusMethodInfo parent_struct;
- const gchar *signal_name;
- gboolean pass_fdlist;
-} _ExtendedGDBusMethodInfo;
-
-typedef struct
-{
- GDBusSignalInfo parent_struct;
- const gchar *signal_name;
-} _ExtendedGDBusSignalInfo;
-
-typedef struct
-{
- GDBusPropertyInfo parent_struct;
- const gchar *hyphen_name;
- gboolean use_gvariant;
-} _ExtendedGDBusPropertyInfo;
-
-typedef struct
-{
- GDBusInterfaceInfo parent_struct;
- const gchar *hyphen_name;
-} _ExtendedGDBusInterfaceInfo;
-
-typedef struct
-{
- const _ExtendedGDBusPropertyInfo *info;
- guint prop_id;
- GValue orig_value; /* the value before the change */
-} ChangedProperty;
-
-static void
-_changed_property_free (ChangedProperty *data)
-{
- g_value_unset (&data->orig_value);
- g_free (data);
-}
-
-static gboolean
-_g_strv_equal0 (gchar **a, gchar **b)
-{
- gboolean ret = FALSE;
- guint n;
- if (a == NULL && b == NULL)
- {
- ret = TRUE;
- goto out;
- }
- if (a == NULL || b == NULL)
- goto out;
- if (g_strv_length (a) != g_strv_length (b))
- goto out;
- for (n = 0; a[n] != NULL; n++)
- if (g_strcmp0 (a[n], b[n]) != 0)
- goto out;
- ret = TRUE;
-out:
- return ret;
-}
-
-static gboolean
-_g_variant_equal0 (GVariant *a, GVariant *b)
-{
- gboolean ret = FALSE;
- if (a == NULL && b == NULL)
- {
- ret = TRUE;
- goto out;
- }
- if (a == NULL || b == NULL)
- goto out;
- ret = g_variant_equal (a, b);
-out:
- return ret;
-}
-
-G_GNUC_UNUSED static gboolean
-_g_value_equal (const GValue *a, const GValue *b)
-{
- gboolean ret = FALSE;
- g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
- switch (G_VALUE_TYPE (a))
- {
- case G_TYPE_BOOLEAN:
- ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
- break;
- case G_TYPE_UCHAR:
- ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
- break;
- case G_TYPE_INT:
- ret = (g_value_get_int (a) == g_value_get_int (b));
- break;
- case G_TYPE_UINT:
- ret = (g_value_get_uint (a) == g_value_get_uint (b));
- break;
- case G_TYPE_INT64:
- ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
- break;
- case G_TYPE_UINT64:
- ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
- break;
- case G_TYPE_DOUBLE:
- {
- /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
- gdouble da = g_value_get_double (a);
- gdouble db = g_value_get_double (b);
- ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
- }
- break;
- case G_TYPE_STRING:
- ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
- break;
- case G_TYPE_VARIANT:
- ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
- break;
- default:
- if (G_VALUE_TYPE (a) == G_TYPE_STRV)
- ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
- else
- g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
- break;
- }
- return ret;
-}
-
-/* ------------------------------------------------------------------------
- * Code for interface org.tizen.SecurityAccounts.gUserManagement.Group
- * ------------------------------------------------------------------------
- */
-
-/**
- * SECTION:GumDbusGroup
- * @title: GumDbusGroup
- * @short_description: Generated C code for the org.tizen.SecurityAccounts.gUserManagement.Group D-Bus interface
- *
- * This section contains code for working with the <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-Group.top_of_page">org.tizen.SecurityAccounts.gUserManagement.Group</link> D-Bus interface in C.
- */
-
-/* ---- Introspection data for org.tizen.SecurityAccounts.gUserManagement.Group ---- */
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_method_info_add_group_IN_ARG_preferred_gid =
-{
- {
- -1,
- "preferred_gid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_method_info_add_group_IN_ARG_pointers[] =
-{
- &_gum_dbus_group_method_info_add_group_IN_ARG_preferred_gid,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_method_info_add_group_OUT_ARG_gid =
-{
- {
- -1,
- "gid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_method_info_add_group_OUT_ARG_pointers[] =
-{
- &_gum_dbus_group_method_info_add_group_OUT_ARG_gid,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_group_method_info_add_group =
-{
- {
- -1,
- "addGroup",
- (GDBusArgInfo **) &_gum_dbus_group_method_info_add_group_IN_ARG_pointers,
- (GDBusArgInfo **) &_gum_dbus_group_method_info_add_group_OUT_ARG_pointers,
- NULL
- },
- "handle-add-group",
- FALSE
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_group_method_info_delete_group =
-{
- {
- -1,
- "deleteGroup",
- NULL,
- NULL,
- NULL
- },
- "handle-delete-group",
- FALSE
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_group_method_info_update_group =
-{
- {
- -1,
- "updateGroup",
- NULL,
- NULL,
- NULL
- },
- "handle-update-group",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_method_info_add_member_IN_ARG_uid =
-{
- {
- -1,
- "uid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_method_info_add_member_IN_ARG_add_as_admin =
-{
- {
- -1,
- "add_as_admin",
- "b",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_method_info_add_member_IN_ARG_pointers[] =
-{
- &_gum_dbus_group_method_info_add_member_IN_ARG_uid,
- &_gum_dbus_group_method_info_add_member_IN_ARG_add_as_admin,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_group_method_info_add_member =
-{
- {
- -1,
- "addMember",
- (GDBusArgInfo **) &_gum_dbus_group_method_info_add_member_IN_ARG_pointers,
- NULL,
- NULL
- },
- "handle-add-member",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_method_info_delete_member_IN_ARG_uid =
-{
- {
- -1,
- "uid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_method_info_delete_member_IN_ARG_pointers[] =
-{
- &_gum_dbus_group_method_info_delete_member_IN_ARG_uid,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_group_method_info_delete_member =
-{
- {
- -1,
- "deleteMember",
- (GDBusArgInfo **) &_gum_dbus_group_method_info_delete_member_IN_ARG_pointers,
- NULL,
- NULL
- },
- "handle-delete-member",
- FALSE
-};
-
-static const _ExtendedGDBusMethodInfo * const _gum_dbus_group_method_info_pointers[] =
-{
- &_gum_dbus_group_method_info_add_group,
- &_gum_dbus_group_method_info_delete_group,
- &_gum_dbus_group_method_info_update_group,
- &_gum_dbus_group_method_info_add_member,
- &_gum_dbus_group_method_info_delete_member,
- NULL
-};
-
-static const _ExtendedGDBusSignalInfo _gum_dbus_group_signal_info_unregistered =
-{
- {
- -1,
- "unregistered",
- NULL,
- NULL
- },
- "unregistered"
-};
-
-static const _ExtendedGDBusSignalInfo * const _gum_dbus_group_signal_info_pointers[] =
-{
- &_gum_dbus_group_signal_info_unregistered,
- NULL
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_group_property_info_grouptype =
-{
- {
- -1,
- "grouptype",
- "q",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "grouptype",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_group_property_info_gid =
-{
- {
- -1,
- "gid",
- "u",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "gid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_group_property_info_groupname =
-{
- {
- -1,
- "groupname",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "groupname",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_group_property_info_secret =
-{
- {
- -1,
- "secret",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "secret",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo * const _gum_dbus_group_property_info_pointers[] =
-{
- &_gum_dbus_group_property_info_grouptype,
- &_gum_dbus_group_property_info_gid,
- &_gum_dbus_group_property_info_groupname,
- &_gum_dbus_group_property_info_secret,
- NULL
-};
-
-static const _ExtendedGDBusInterfaceInfo _gum_dbus_group_interface_info =
-{
- {
- -1,
- "org.tizen.SecurityAccounts.gUserManagement.Group",
- (GDBusMethodInfo **) &_gum_dbus_group_method_info_pointers,
- (GDBusSignalInfo **) &_gum_dbus_group_signal_info_pointers,
- (GDBusPropertyInfo **) &_gum_dbus_group_property_info_pointers,
- NULL
- },
- "group",
-};
-
-
-/**
- * gum_dbus_group_interface_info:
- *
- * Gets a machine-readable description of the <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-Group.top_of_page">org.tizen.SecurityAccounts.gUserManagement.Group</link> D-Bus interface.
- *
- * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
- */
-GDBusInterfaceInfo *
-gum_dbus_group_interface_info (void)
-{
- return (GDBusInterfaceInfo *) &_gum_dbus_group_interface_info;
-}
-
-/**
- * gum_dbus_group_override_properties:
- * @klass: The class structure for a #GObject<!-- -->-derived class.
- * @property_id_begin: The property id to assign to the first overridden property.
- *
- * Overrides all #GObject properties in the #GumDbusGroup interface for a concrete class.
- * The properties are overridden in the order they are defined.
- *
- * Returns: The last property id.
- */
-guint
-gum_dbus_group_override_properties (GObjectClass *klass, guint property_id_begin)
-{
- g_object_class_override_property (klass, property_id_begin++, "grouptype");
- g_object_class_override_property (klass, property_id_begin++, "gid");
- g_object_class_override_property (klass, property_id_begin++, "groupname");
- g_object_class_override_property (klass, property_id_begin++, "secret");
- return property_id_begin - 1;
-}
-
-
-
-/**
- * GumDbusGroup:
- *
- * Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-Group.top_of_page">org.tizen.SecurityAccounts.gUserManagement.Group</link>.
- */
-
-/**
- * GumDbusGroupIface:
- * @parent_iface: The parent interface.
- * @handle_add_group: Handler for the #GumDbusGroup::handle-add-group signal.
- * @handle_add_member: Handler for the #GumDbusGroup::handle-add-member signal.
- * @handle_delete_group: Handler for the #GumDbusGroup::handle-delete-group signal.
- * @handle_delete_member: Handler for the #GumDbusGroup::handle-delete-member signal.
- * @handle_update_group: Handler for the #GumDbusGroup::handle-update-group signal.
- * @get_gid: Getter for the #GumDbusGroup:gid property.
- * @get_groupname: Getter for the #GumDbusGroup:groupname property.
- * @get_grouptype: Getter for the #GumDbusGroup:grouptype property.
- * @get_secret: Getter for the #GumDbusGroup:secret property.
- * @unregistered: Handler for the #GumDbusGroup::unregistered signal.
- *
- * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-Group.top_of_page">org.tizen.SecurityAccounts.gUserManagement.Group</link>.
- */
-
-static void
-gum_dbus_group_default_init (GumDbusGroupIface *iface)
-{
- /* GObject signals for incoming D-Bus method calls: */
- /**
- * GumDbusGroup::handle-add-group:
- * @object: A #GumDbusGroup.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_preferred_gid: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.addGroup">addGroup()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_group_complete_add_group() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-add-group",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupIface, handle_add_group),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
-
- /**
- * GumDbusGroup::handle-delete-group:
- * @object: A #GumDbusGroup.
- * @invocation: A #GDBusMethodInvocation.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.deleteGroup">deleteGroup()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_group_complete_delete_group() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-delete-group",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupIface, handle_delete_group),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 1,
- G_TYPE_DBUS_METHOD_INVOCATION);
-
- /**
- * GumDbusGroup::handle-update-group:
- * @object: A #GumDbusGroup.
- * @invocation: A #GDBusMethodInvocation.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.updateGroup">updateGroup()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_group_complete_update_group() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-update-group",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupIface, handle_update_group),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 1,
- G_TYPE_DBUS_METHOD_INVOCATION);
-
- /**
- * GumDbusGroup::handle-add-member:
- * @object: A #GumDbusGroup.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_uid: Argument passed by remote caller.
- * @arg_add_as_admin: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.addMember">addMember()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_group_complete_add_member() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-add-member",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupIface, handle_add_member),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_BOOLEAN);
-
- /**
- * GumDbusGroup::handle-delete-member:
- * @object: A #GumDbusGroup.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_uid: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.deleteMember">deleteMember()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_group_complete_delete_member() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-delete-member",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupIface, handle_delete_member),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
-
- /* GObject signals for received D-Bus signals: */
- /**
- * GumDbusGroup::unregistered:
- * @object: A #GumDbusGroup.
- *
- * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-Group.unregistered">"unregistered"</link> is received.
- *
- * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- */
- g_signal_new ("unregistered",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupIface, unregistered),
- NULL,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_NONE,
- 0);
-
- /* GObject properties for D-Bus properties: */
- /**
- * GumDbusGroup:grouptype:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.grouptype">"grouptype"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("grouptype", "grouptype", "grouptype", 0, G_MAXUINT16, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusGroup:gid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.gid">"gid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("gid", "gid", "gid", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusGroup:groupname:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.groupname">"groupname"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("groupname", "groupname", "groupname", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusGroup:secret:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.secret">"secret"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("secret", "secret", "secret", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
-}
-
-typedef GumDbusGroupIface GumDbusGroupInterface;
-G_DEFINE_INTERFACE (GumDbusGroup, gum_dbus_group, G_TYPE_OBJECT);
-
-/**
- * gum_dbus_group_get_grouptype: (skip)
- * @object: A #GumDbusGroup.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.grouptype">"grouptype"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint16
-gum_dbus_group_get_grouptype (GumDbusGroup *object)
-{
- return GUM_DBUS_GROUP_GET_IFACE (object)->get_grouptype (object);
-}
-
-/**
- * gum_dbus_group_set_grouptype: (skip)
- * @object: A #GumDbusGroup.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.grouptype">"grouptype"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_group_set_grouptype (GumDbusGroup *object, guint16 value)
-{
- g_object_set (G_OBJECT (object), "grouptype", value, NULL);
-}
-
-/**
- * gum_dbus_group_get_gid: (skip)
- * @object: A #GumDbusGroup.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.gid">"gid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint
-gum_dbus_group_get_gid (GumDbusGroup *object)
-{
- return GUM_DBUS_GROUP_GET_IFACE (object)->get_gid (object);
-}
-
-/**
- * gum_dbus_group_set_gid: (skip)
- * @object: A #GumDbusGroup.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.gid">"gid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-gum_dbus_group_set_gid (GumDbusGroup *object, guint value)
-{
- g_object_set (G_OBJECT (object), "gid", value, NULL);
-}
-
-/**
- * gum_dbus_group_get_groupname: (skip)
- * @object: A #GumDbusGroup.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.groupname">"groupname"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gum_dbus_group_dup_groupname() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-gum_dbus_group_get_groupname (GumDbusGroup *object)
-{
- return GUM_DBUS_GROUP_GET_IFACE (object)->get_groupname (object);
-}
-
-/**
- * gum_dbus_group_dup_groupname: (skip)
- * @object: A #GumDbusGroup.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.groupname">"groupname"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-gum_dbus_group_dup_groupname (GumDbusGroup *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "groupname", &value, NULL);
- return value;
-}
-
-/**
- * gum_dbus_group_set_groupname: (skip)
- * @object: A #GumDbusGroup.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.groupname">"groupname"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_group_set_groupname (GumDbusGroup *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "groupname", value, NULL);
-}
-
-/**
- * gum_dbus_group_get_secret: (skip)
- * @object: A #GumDbusGroup.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.secret">"secret"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gum_dbus_group_dup_secret() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-gum_dbus_group_get_secret (GumDbusGroup *object)
-{
- return GUM_DBUS_GROUP_GET_IFACE (object)->get_secret (object);
-}
-
-/**
- * gum_dbus_group_dup_secret: (skip)
- * @object: A #GumDbusGroup.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.secret">"secret"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-gum_dbus_group_dup_secret (GumDbusGroup *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "secret", &value, NULL);
- return value;
-}
-
-/**
- * gum_dbus_group_set_secret: (skip)
- * @object: A #GumDbusGroup.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-Group.secret">"secret"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_group_set_secret (GumDbusGroup *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "secret", value, NULL);
-}
-
-/**
- * gum_dbus_group_emit_unregistered:
- * @object: A #GumDbusGroup.
- *
- * Emits the <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-Group.unregistered">"unregistered"</link> D-Bus signal.
- */
-void
-gum_dbus_group_emit_unregistered (
- GumDbusGroup *object)
-{
- g_signal_emit_by_name (object, "unregistered");
-}
-
-/**
- * gum_dbus_group_call_add_group:
- * @proxy: A #GumDbusGroupProxy.
- * @arg_preferred_gid: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.addGroup">addGroup()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_call_add_group_finish() to get the result of the operation.
- *
- * See gum_dbus_group_call_add_group_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_group_call_add_group (
- GumDbusGroup *proxy,
- guint arg_preferred_gid,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "addGroup",
- g_variant_new ("(u)",
- arg_preferred_gid),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_group_call_add_group_finish:
- * @proxy: A #GumDbusGroupProxy.
- * @out_gid: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_call_add_group().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_group_call_add_group().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_call_add_group_finish (
- GumDbusGroup *proxy,
- guint *out_gid,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(u)",
- out_gid);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_call_add_group_sync:
- * @proxy: A #GumDbusGroupProxy.
- * @arg_preferred_gid: Argument to pass with the method invocation.
- * @out_gid: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.addGroup">addGroup()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_call_add_group() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_call_add_group_sync (
- GumDbusGroup *proxy,
- guint arg_preferred_gid,
- guint *out_gid,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "addGroup",
- g_variant_new ("(u)",
- arg_preferred_gid),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(u)",
- out_gid);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_call_delete_group:
- * @proxy: A #GumDbusGroupProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.deleteGroup">deleteGroup()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_call_delete_group_finish() to get the result of the operation.
- *
- * See gum_dbus_group_call_delete_group_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_group_call_delete_group (
- GumDbusGroup *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "deleteGroup",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_group_call_delete_group_finish:
- * @proxy: A #GumDbusGroupProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_call_delete_group().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_group_call_delete_group().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_call_delete_group_finish (
- GumDbusGroup *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_call_delete_group_sync:
- * @proxy: A #GumDbusGroupProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.deleteGroup">deleteGroup()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_call_delete_group() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_call_delete_group_sync (
- GumDbusGroup *proxy,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "deleteGroup",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_call_update_group:
- * @proxy: A #GumDbusGroupProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.updateGroup">updateGroup()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_call_update_group_finish() to get the result of the operation.
- *
- * See gum_dbus_group_call_update_group_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_group_call_update_group (
- GumDbusGroup *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "updateGroup",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_group_call_update_group_finish:
- * @proxy: A #GumDbusGroupProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_call_update_group().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_group_call_update_group().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_call_update_group_finish (
- GumDbusGroup *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_call_update_group_sync:
- * @proxy: A #GumDbusGroupProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.updateGroup">updateGroup()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_call_update_group() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_call_update_group_sync (
- GumDbusGroup *proxy,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "updateGroup",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_call_add_member:
- * @proxy: A #GumDbusGroupProxy.
- * @arg_uid: Argument to pass with the method invocation.
- * @arg_add_as_admin: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.addMember">addMember()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_call_add_member_finish() to get the result of the operation.
- *
- * See gum_dbus_group_call_add_member_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_group_call_add_member (
- GumDbusGroup *proxy,
- guint arg_uid,
- gboolean arg_add_as_admin,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "addMember",
- g_variant_new ("(ub)",
- arg_uid,
- arg_add_as_admin),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_group_call_add_member_finish:
- * @proxy: A #GumDbusGroupProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_call_add_member().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_group_call_add_member().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_call_add_member_finish (
- GumDbusGroup *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_call_add_member_sync:
- * @proxy: A #GumDbusGroupProxy.
- * @arg_uid: Argument to pass with the method invocation.
- * @arg_add_as_admin: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.addMember">addMember()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_call_add_member() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_call_add_member_sync (
- GumDbusGroup *proxy,
- guint arg_uid,
- gboolean arg_add_as_admin,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "addMember",
- g_variant_new ("(ub)",
- arg_uid,
- arg_add_as_admin),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_call_delete_member:
- * @proxy: A #GumDbusGroupProxy.
- * @arg_uid: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.deleteMember">deleteMember()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_call_delete_member_finish() to get the result of the operation.
- *
- * See gum_dbus_group_call_delete_member_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_group_call_delete_member (
- GumDbusGroup *proxy,
- guint arg_uid,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "deleteMember",
- g_variant_new ("(u)",
- arg_uid),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_group_call_delete_member_finish:
- * @proxy: A #GumDbusGroupProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_call_delete_member().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_group_call_delete_member().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_call_delete_member_finish (
- GumDbusGroup *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_call_delete_member_sync:
- * @proxy: A #GumDbusGroupProxy.
- * @arg_uid: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.deleteMember">deleteMember()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_call_delete_member() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_call_delete_member_sync (
- GumDbusGroup *proxy,
- guint arg_uid,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "deleteMember",
- g_variant_new ("(u)",
- arg_uid),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_complete_add_group:
- * @object: A #GumDbusGroup.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- * @gid: Parameter to return.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.addGroup">addGroup()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_group_complete_add_group (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation,
- guint gid)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("(u)",
- gid));
-}
-
-/**
- * gum_dbus_group_complete_delete_group:
- * @object: A #GumDbusGroup.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.deleteGroup">deleteGroup()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_group_complete_delete_group (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("()"));
-}
-
-/**
- * gum_dbus_group_complete_update_group:
- * @object: A #GumDbusGroup.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.updateGroup">updateGroup()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_group_complete_update_group (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("()"));
-}
-
-/**
- * gum_dbus_group_complete_add_member:
- * @object: A #GumDbusGroup.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.addMember">addMember()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_group_complete_add_member (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("()"));
-}
-
-/**
- * gum_dbus_group_complete_delete_member:
- * @object: A #GumDbusGroup.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-Group.deleteMember">deleteMember()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_group_complete_delete_member (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("()"));
-}
-
-/* ------------------------------------------------------------------------ */
-
-/**
- * GumDbusGroupProxy:
- *
- * The #GumDbusGroupProxy structure contains only private data and should only be accessed using the provided API.
- */
-
-/**
- * GumDbusGroupProxyClass:
- * @parent_class: The parent class.
- *
- * Class structure for #GumDbusGroupProxy.
- */
-
-struct _GumDbusGroupProxyPrivate
-{
- GData *qdata;
-};
-
-static void gum_dbus_group_proxy_iface_init (GumDbusGroupIface *iface);
-
-G_DEFINE_TYPE_WITH_CODE (GumDbusGroupProxy, gum_dbus_group_proxy, G_TYPE_DBUS_PROXY,
- G_IMPLEMENT_INTERFACE (GUM_DBUS_TYPE_GROUP, gum_dbus_group_proxy_iface_init));
-
-static void
-gum_dbus_group_proxy_finalize (GObject *object)
-{
- GumDbusGroupProxy *proxy = GUM_DBUS_GROUP_PROXY (object);
- g_datalist_clear (&proxy->priv->qdata);
- G_OBJECT_CLASS (gum_dbus_group_proxy_parent_class)->finalize (object);
-}
-
-static void
-gum_dbus_group_proxy_get_property (GObject *object,
- guint prop_id,
- GValue *value,
- GParamSpec *pspec)
-{
- const _ExtendedGDBusPropertyInfo *info;
- GVariant *variant;
- g_assert (prop_id != 0 && prop_id - 1 < 4);
- info = _gum_dbus_group_property_info_pointers[prop_id - 1];
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
- if (info->use_gvariant)
- {
- g_value_set_variant (value, variant);
- }
- else
- {
- if (variant != NULL)
- g_dbus_gvariant_to_gvalue (variant, value);
- }
- if (variant != NULL)
- g_variant_unref (variant);
-}
-
-static void
-gum_dbus_group_proxy_set_property_cb (GDBusProxy *proxy,
- GAsyncResult *res,
- gpointer user_data)
-{
- const _ExtendedGDBusPropertyInfo *info = user_data;
- GError *error;
- error = NULL;
- if (!g_dbus_proxy_call_finish (proxy, res, &error))
- {
- g_warning ("Error setting property `%s' on interface org.tizen.SecurityAccounts.gUserManagement.Group: %s (%s, %d)",
- info->parent_struct.name,
- error->message, g_quark_to_string (error->domain), error->code);
- g_error_free (error);
- }
-}
-
-static void
-gum_dbus_group_proxy_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- const _ExtendedGDBusPropertyInfo *info;
- GVariant *variant;
- g_assert (prop_id != 0 && prop_id - 1 < 4);
- info = _gum_dbus_group_property_info_pointers[prop_id - 1];
- variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
- g_dbus_proxy_call (G_DBUS_PROXY (object),
- "org.freedesktop.DBus.Properties.Set",
- g_variant_new ("(ssv)", "org.tizen.SecurityAccounts.gUserManagement.Group", info->parent_struct.name, variant),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- NULL, (GAsyncReadyCallback) gum_dbus_group_proxy_set_property_cb, (gpointer) info);
- g_variant_unref (variant);
-}
-
-static void
-gum_dbus_group_proxy_g_signal (GDBusProxy *proxy,
- const gchar *sender_name,
- const gchar *signal_name,
- GVariant *parameters)
-{
- _ExtendedGDBusSignalInfo *info;
- GVariantIter iter;
- GVariant *child;
- GValue *paramv;
- guint num_params;
- guint n;
- guint signal_id;
- info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_gum_dbus_group_interface_info, signal_name);
- if (info == NULL)
- return;
- num_params = g_variant_n_children (parameters);
- paramv = g_new0 (GValue, num_params + 1);
- g_value_init (¶mv[0], GUM_DBUS_TYPE_GROUP);
- g_value_set_object (¶mv[0], proxy);
- g_variant_iter_init (&iter, parameters);
- n = 1;
- while ((child = g_variant_iter_next_value (&iter)) != NULL)
- {
- _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
- if (arg_info->use_gvariant)
- {
- g_value_init (¶mv[n], G_TYPE_VARIANT);
- g_value_set_variant (¶mv[n], child);
- n++;
- }
- else
- g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
- g_variant_unref (child);
- }
- signal_id = g_signal_lookup (info->signal_name, GUM_DBUS_TYPE_GROUP);
- g_signal_emitv (paramv, signal_id, 0, NULL);
- for (n = 0; n < num_params + 1; n++)
- g_value_unset (¶mv[n]);
- g_free (paramv);
-}
-
-static void
-gum_dbus_group_proxy_g_properties_changed (GDBusProxy *_proxy,
- GVariant *changed_properties,
- const gchar *const *invalidated_properties)
-{
- GumDbusGroupProxy *proxy = GUM_DBUS_GROUP_PROXY (_proxy);
- guint n;
- const gchar *key;
- GVariantIter *iter;
- _ExtendedGDBusPropertyInfo *info;
- g_variant_get (changed_properties, "a{sv}", &iter);
- while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
- {
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_group_interface_info, key);
- g_datalist_remove_data (&proxy->priv->qdata, key);
- if (info != NULL)
- g_object_notify (G_OBJECT (proxy), info->hyphen_name);
- }
- g_variant_iter_free (iter);
- for (n = 0; invalidated_properties[n] != NULL; n++)
- {
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_group_interface_info, invalidated_properties[n]);
- g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
- if (info != NULL)
- g_object_notify (G_OBJECT (proxy), info->hyphen_name);
- }
-}
-
-static guint16
-gum_dbus_group_proxy_get_grouptype (GumDbusGroup *object)
-{
- GumDbusGroupProxy *proxy = GUM_DBUS_GROUP_PROXY (object);
- GVariant *variant;
- guint16 value = 0;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "grouptype");
- if (variant != NULL)
- {
- value = g_variant_get_uint16 (variant);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static guint
-gum_dbus_group_proxy_get_gid (GumDbusGroup *object)
-{
- GumDbusGroupProxy *proxy = GUM_DBUS_GROUP_PROXY (object);
- GVariant *variant;
- guint value = 0;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "gid");
- if (variant != NULL)
- {
- value = g_variant_get_uint32 (variant);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static const gchar *
-gum_dbus_group_proxy_get_groupname (GumDbusGroup *object)
-{
- GumDbusGroupProxy *proxy = GUM_DBUS_GROUP_PROXY (object);
- GVariant *variant;
- const gchar *value = NULL;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "groupname");
- if (variant != NULL)
- {
- value = g_variant_get_string (variant, NULL);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static const gchar *
-gum_dbus_group_proxy_get_secret (GumDbusGroup *object)
-{
- GumDbusGroupProxy *proxy = GUM_DBUS_GROUP_PROXY (object);
- GVariant *variant;
- const gchar *value = NULL;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "secret");
- if (variant != NULL)
- {
- value = g_variant_get_string (variant, NULL);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static void
-gum_dbus_group_proxy_init (GumDbusGroupProxy *proxy)
-{
- proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, GUM_DBUS_TYPE_GROUP_PROXY, GumDbusGroupProxyPrivate);
- g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), gum_dbus_group_interface_info ());
-}
-
-static void
-gum_dbus_group_proxy_class_init (GumDbusGroupProxyClass *klass)
-{
- GObjectClass *gobject_class;
- GDBusProxyClass *proxy_class;
-
- g_type_class_add_private (klass, sizeof (GumDbusGroupProxyPrivate));
-
- gobject_class = G_OBJECT_CLASS (klass);
- gobject_class->finalize = gum_dbus_group_proxy_finalize;
- gobject_class->get_property = gum_dbus_group_proxy_get_property;
- gobject_class->set_property = gum_dbus_group_proxy_set_property;
-
- proxy_class = G_DBUS_PROXY_CLASS (klass);
- proxy_class->g_signal = gum_dbus_group_proxy_g_signal;
- proxy_class->g_properties_changed = gum_dbus_group_proxy_g_properties_changed;
-
-
- gum_dbus_group_override_properties (gobject_class, 1);
-}
-
-static void
-gum_dbus_group_proxy_iface_init (GumDbusGroupIface *iface)
-{
- iface->get_grouptype = gum_dbus_group_proxy_get_grouptype;
- iface->get_gid = gum_dbus_group_proxy_get_gid;
- iface->get_groupname = gum_dbus_group_proxy_get_groupname;
- iface->get_secret = gum_dbus_group_proxy_get_secret;
-}
-
-/**
- * gum_dbus_group_proxy_new:
- * @connection: A #GDBusConnection.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-Group.top_of_page">org.tizen.SecurityAccounts.gUserManagement.Group</link>. See g_dbus_proxy_new() for more details.
- *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_proxy_new_finish() to get the result of the operation.
- *
- * See gum_dbus_group_proxy_new_sync() for the synchronous, blocking version of this constructor.
- */
-void
-gum_dbus_group_proxy_new (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_async_initable_new_async (GUM_DBUS_TYPE_GROUP_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.Group", NULL);
-}
-
-/**
- * gum_dbus_group_proxy_new_finish:
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_proxy_new().
- * @error: Return location for error or %NULL
- *
- * Finishes an operation started with gum_dbus_group_proxy_new().
- *
- * Returns: (transfer full) (type GumDbusGroupProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusGroup *
-gum_dbus_group_proxy_new_finish (
- GAsyncResult *res,
- GError **error)
-{
- GObject *ret;
- GObject *source_object;
- source_object = g_async_result_get_source_object (res);
- ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
- g_object_unref (source_object);
- if (ret != NULL)
- return GUM_DBUS_GROUP (ret);
- else
- return NULL;
-}
-
-/**
- * gum_dbus_group_proxy_new_sync:
- * @connection: A #GDBusConnection.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL
- *
- * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-Group.top_of_page">org.tizen.SecurityAccounts.gUserManagement.Group</link>. See g_dbus_proxy_new_sync() for more details.
- *
- * The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_proxy_new() for the asynchronous version of this constructor.
- *
- * Returns: (transfer full) (type GumDbusGroupProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusGroup *
-gum_dbus_group_proxy_new_sync (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error)
-{
- GInitable *ret;
- ret = g_initable_new (GUM_DBUS_TYPE_GROUP_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.Group", NULL);
- if (ret != NULL)
- return GUM_DBUS_GROUP (ret);
- else
- return NULL;
-}
-
-
-/**
- * gum_dbus_group_proxy_new_for_bus:
- * @bus_type: A #GBusType.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: A bus name (well-known or unique).
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
- * @user_data: User data to pass to @callback.
- *
- * Like gum_dbus_group_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
- *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_proxy_new_for_bus_finish() to get the result of the operation.
- *
- * See gum_dbus_group_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
- */
-void
-gum_dbus_group_proxy_new_for_bus (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_async_initable_new_async (GUM_DBUS_TYPE_GROUP_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.Group", NULL);
-}
-
-/**
- * gum_dbus_group_proxy_new_for_bus_finish:
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_proxy_new_for_bus().
- * @error: Return location for error or %NULL
- *
- * Finishes an operation started with gum_dbus_group_proxy_new_for_bus().
- *
- * Returns: (transfer full) (type GumDbusGroupProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusGroup *
-gum_dbus_group_proxy_new_for_bus_finish (
- GAsyncResult *res,
- GError **error)
-{
- GObject *ret;
- GObject *source_object;
- source_object = g_async_result_get_source_object (res);
- ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
- g_object_unref (source_object);
- if (ret != NULL)
- return GUM_DBUS_GROUP (ret);
- else
- return NULL;
-}
-
-/**
- * gum_dbus_group_proxy_new_for_bus_sync:
- * @bus_type: A #GBusType.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: A bus name (well-known or unique).
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL
- *
- * Like gum_dbus_group_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
- *
- * The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_proxy_new_for_bus() for the asynchronous version of this constructor.
- *
- * Returns: (transfer full) (type GumDbusGroupProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusGroup *
-gum_dbus_group_proxy_new_for_bus_sync (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error)
-{
- GInitable *ret;
- ret = g_initable_new (GUM_DBUS_TYPE_GROUP_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.Group", NULL);
- if (ret != NULL)
- return GUM_DBUS_GROUP (ret);
- else
- return NULL;
-}
-
-
-/* ------------------------------------------------------------------------ */
-
-/**
- * GumDbusGroupSkeleton:
- *
- * The #GumDbusGroupSkeleton structure contains only private data and should only be accessed using the provided API.
- */
-
-/**
- * GumDbusGroupSkeletonClass:
- * @parent_class: The parent class.
- *
- * Class structure for #GumDbusGroupSkeleton.
- */
-
-struct _GumDbusGroupSkeletonPrivate
-{
- GValue *properties;
- GList *changed_properties;
- GSource *changed_properties_idle_source;
- GMainContext *context;
- GMutex lock;
-};
-
-static void
-_gum_dbus_group_skeleton_handle_method_call (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *method_name,
- GVariant *parameters,
- GDBusMethodInvocation *invocation,
- gpointer user_data)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (user_data);
- _ExtendedGDBusMethodInfo *info;
- GVariantIter iter;
- GVariant *child;
- GValue *paramv;
- guint num_params;
- guint num_extra;
- guint n;
- guint signal_id;
- GValue return_value = G_VALUE_INIT;
- info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
- g_assert (info != NULL);
- num_params = g_variant_n_children (parameters);
- num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
- n = 0;
- g_value_init (¶mv[n], GUM_DBUS_TYPE_GROUP);
- g_value_set_object (¶mv[n++], skeleton);
- g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
- g_value_set_object (¶mv[n++], invocation);
- if (info->pass_fdlist)
- {
-#ifdef G_OS_UNIX
- g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
- g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
-#else
- g_assert_not_reached ();
-#endif
- }
- g_variant_iter_init (&iter, parameters);
- while ((child = g_variant_iter_next_value (&iter)) != NULL)
- {
- _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
- if (arg_info->use_gvariant)
- {
- g_value_init (¶mv[n], G_TYPE_VARIANT);
- g_value_set_variant (¶mv[n], child);
- n++;
- }
- else
- g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
- g_variant_unref (child);
- }
- signal_id = g_signal_lookup (info->signal_name, GUM_DBUS_TYPE_GROUP);
- g_value_init (&return_value, G_TYPE_BOOLEAN);
- g_signal_emitv (paramv, signal_id, 0, &return_value);
- if (!g_value_get_boolean (&return_value))
- g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
- g_value_unset (&return_value);
- for (n = 0; n < num_params + num_extra; n++)
- g_value_unset (¶mv[n]);
- g_free (paramv);
-}
-
-static GVariant *
-_gum_dbus_group_skeleton_handle_get_property (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *property_name,
- GError **error,
- gpointer user_data)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (user_data);
- GValue value = G_VALUE_INIT;
- GParamSpec *pspec;
- _ExtendedGDBusPropertyInfo *info;
- GVariant *ret;
- ret = NULL;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_group_interface_info, property_name);
- g_assert (info != NULL);
- pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
- if (pspec == NULL)
- {
- g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
- }
- else
- {
- g_value_init (&value, pspec->value_type);
- g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
- ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
- g_value_unset (&value);
- }
- return ret;
-}
-
-static gboolean
-_gum_dbus_group_skeleton_handle_set_property (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *property_name,
- GVariant *variant,
- GError **error,
- gpointer user_data)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (user_data);
- GValue value = G_VALUE_INIT;
- GParamSpec *pspec;
- _ExtendedGDBusPropertyInfo *info;
- gboolean ret;
- ret = FALSE;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_group_interface_info, property_name);
- g_assert (info != NULL);
- pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
- if (pspec == NULL)
- {
- g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
- }
- else
- {
- if (info->use_gvariant)
- g_value_set_variant (&value, variant);
- else
- g_dbus_gvariant_to_gvalue (variant, &value);
- g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
- g_value_unset (&value);
- ret = TRUE;
- }
- return ret;
-}
-
-static const GDBusInterfaceVTable _gum_dbus_group_skeleton_vtable =
-{
- _gum_dbus_group_skeleton_handle_method_call,
- _gum_dbus_group_skeleton_handle_get_property,
- _gum_dbus_group_skeleton_handle_set_property
-};
-
-static GDBusInterfaceInfo *
-gum_dbus_group_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton)
-{
- return gum_dbus_group_interface_info ();
-}
-
-static GDBusInterfaceVTable *
-gum_dbus_group_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton)
-{
- return (GDBusInterfaceVTable *) &_gum_dbus_group_skeleton_vtable;
-}
-
-static GVariant *
-gum_dbus_group_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (_skeleton);
-
- GVariantBuilder builder;
- guint n;
- g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
- if (_gum_dbus_group_interface_info.parent_struct.properties == NULL)
- goto out;
- for (n = 0; _gum_dbus_group_interface_info.parent_struct.properties[n] != NULL; n++)
- {
- GDBusPropertyInfo *info = _gum_dbus_group_interface_info.parent_struct.properties[n];
- if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
- {
- GVariant *value;
- value = _gum_dbus_group_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.Group", info->name, NULL, skeleton);
- if (value != NULL)
- {
- g_variant_take_ref (value);
- g_variant_builder_add (&builder, "{sv}", info->name, value);
- g_variant_unref (value);
- }
- }
- }
-out:
- return g_variant_builder_end (&builder);
-}
-
-static gboolean _gum_dbus_group_emit_changed (gpointer user_data);
-
-static void
-gum_dbus_group_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (_skeleton);
- gboolean emit_changed = FALSE;
-
- g_mutex_lock (&skeleton->priv->lock);
- if (skeleton->priv->changed_properties_idle_source != NULL)
- {
- g_source_destroy (skeleton->priv->changed_properties_idle_source);
- skeleton->priv->changed_properties_idle_source = NULL;
- emit_changed = TRUE;
- }
- g_mutex_unlock (&skeleton->priv->lock);
-
- if (emit_changed)
- _gum_dbus_group_emit_changed (skeleton);
-}
-
-static void
-_gum_dbus_group_on_signal_unregistered (
- GumDbusGroup *object)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (object);
-
- GList *connections, *l;
- GVariant *signal_variant;
- connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
-
- signal_variant = g_variant_ref_sink (g_variant_new ("()"));
- for (l = connections; l != NULL; l = l->next)
- {
- GDBusConnection *connection = l->data;
- g_dbus_connection_emit_signal (connection,
- NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.Group", "unregistered",
- signal_variant, NULL);
- }
- g_variant_unref (signal_variant);
- g_list_free_full (connections, g_object_unref);
-}
-
-static void gum_dbus_group_skeleton_iface_init (GumDbusGroupIface *iface);
-G_DEFINE_TYPE_WITH_CODE (GumDbusGroupSkeleton, gum_dbus_group_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
- G_IMPLEMENT_INTERFACE (GUM_DBUS_TYPE_GROUP, gum_dbus_group_skeleton_iface_init));
-
-static void
-gum_dbus_group_skeleton_finalize (GObject *object)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (object);
- guint n;
- for (n = 0; n < 4; n++)
- g_value_unset (&skeleton->priv->properties[n]);
- g_free (skeleton->priv->properties);
- g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
- if (skeleton->priv->changed_properties_idle_source != NULL)
- g_source_destroy (skeleton->priv->changed_properties_idle_source);
- g_main_context_unref (skeleton->priv->context);
- g_mutex_clear (&skeleton->priv->lock);
- G_OBJECT_CLASS (gum_dbus_group_skeleton_parent_class)->finalize (object);
-}
-
-static void
-gum_dbus_group_skeleton_get_property (GObject *object,
- guint prop_id,
- GValue *value,
- GParamSpec *pspec)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (object);
- g_assert (prop_id != 0 && prop_id - 1 < 4);
- g_mutex_lock (&skeleton->priv->lock);
- g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
- g_mutex_unlock (&skeleton->priv->lock);
-}
-
-static gboolean
-_gum_dbus_group_emit_changed (gpointer user_data)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (user_data);
- GList *l;
- GVariantBuilder builder;
- GVariantBuilder invalidated_builder;
- guint num_changes;
-
- g_mutex_lock (&skeleton->priv->lock);
- g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
- g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
- for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
- {
- ChangedProperty *cp = l->data;
- GVariant *variant;
- const GValue *cur_value;
-
- cur_value = &skeleton->priv->properties[cp->prop_id - 1];
- if (!_g_value_equal (cur_value, &cp->orig_value))
- {
- variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
- g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
- g_variant_unref (variant);
- num_changes++;
- }
- }
- if (num_changes > 0)
- {
- GList *connections, *l;
- GVariant *signal_variant;
- signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "org.tizen.SecurityAccounts.gUserManagement.Group",
- &builder, &invalidated_builder));
- connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
- for (l = connections; l != NULL; l = l->next)
- {
- GDBusConnection *connection = l->data;
-
- g_dbus_connection_emit_signal (connection,
- NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
- "org.freedesktop.DBus.Properties",
- "PropertiesChanged",
- signal_variant,
- NULL);
- }
- g_variant_unref (signal_variant);
- g_list_free_full (connections, g_object_unref);
- }
- else
- {
- g_variant_builder_clear (&builder);
- g_variant_builder_clear (&invalidated_builder);
- }
- g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
- skeleton->priv->changed_properties = NULL;
- skeleton->priv->changed_properties_idle_source = NULL;
- g_mutex_unlock (&skeleton->priv->lock);
- return FALSE;
-}
-
-static void
-_gum_dbus_group_schedule_emit_changed (GumDbusGroupSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
-{
- ChangedProperty *cp;
- GList *l;
- cp = NULL;
- for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
- {
- ChangedProperty *i_cp = l->data;
- if (i_cp->info == info)
- {
- cp = i_cp;
- break;
- }
- }
- if (cp == NULL)
- {
- cp = g_new0 (ChangedProperty, 1);
- cp->prop_id = prop_id;
- cp->info = info;
- skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
- g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
- g_value_copy (orig_value, &cp->orig_value);
- }
-}
-
-static void
-gum_dbus_group_skeleton_notify (GObject *object,
- GParamSpec *pspec)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (object);
- g_mutex_lock (&skeleton->priv->lock);
- if (skeleton->priv->changed_properties != NULL &&
- skeleton->priv->changed_properties_idle_source == NULL)
- {
- skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
- g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
- g_source_set_callback (skeleton->priv->changed_properties_idle_source, _gum_dbus_group_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
- g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
- g_source_unref (skeleton->priv->changed_properties_idle_source);
- }
- g_mutex_unlock (&skeleton->priv->lock);
-}
-
-static void
-gum_dbus_group_skeleton_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (object);
- g_assert (prop_id != 0 && prop_id - 1 < 4);
- g_mutex_lock (&skeleton->priv->lock);
- g_object_freeze_notify (object);
- if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
- {
- if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL)
- _gum_dbus_group_schedule_emit_changed (skeleton, _gum_dbus_group_property_info_pointers[prop_id - 1], prop_id, &skeleton->priv->properties[prop_id - 1]);
- g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
- g_object_notify_by_pspec (object, pspec);
- }
- g_mutex_unlock (&skeleton->priv->lock);
- g_object_thaw_notify (object);
-}
-
-static void
-gum_dbus_group_skeleton_init (GumDbusGroupSkeleton *skeleton)
-{
- skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, GUM_DBUS_TYPE_GROUP_SKELETON, GumDbusGroupSkeletonPrivate);
- g_mutex_init (&skeleton->priv->lock);
- skeleton->priv->context = g_main_context_ref_thread_default ();
- skeleton->priv->properties = g_new0 (GValue, 4);
- g_value_init (&skeleton->priv->properties[0], G_TYPE_UINT);
- g_value_init (&skeleton->priv->properties[1], G_TYPE_UINT);
- g_value_init (&skeleton->priv->properties[2], G_TYPE_STRING);
- g_value_init (&skeleton->priv->properties[3], G_TYPE_STRING);
-}
-
-static guint16
-gum_dbus_group_skeleton_get_grouptype (GumDbusGroup *object)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (object);
- guint value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_uint (&(skeleton->priv->properties[0]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static guint
-gum_dbus_group_skeleton_get_gid (GumDbusGroup *object)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (object);
- guint value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_uint (&(skeleton->priv->properties[1]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static const gchar *
-gum_dbus_group_skeleton_get_groupname (GumDbusGroup *object)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (object);
- const gchar *value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_string (&(skeleton->priv->properties[2]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static const gchar *
-gum_dbus_group_skeleton_get_secret (GumDbusGroup *object)
-{
- GumDbusGroupSkeleton *skeleton = GUM_DBUS_GROUP_SKELETON (object);
- const gchar *value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_string (&(skeleton->priv->properties[3]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static void
-gum_dbus_group_skeleton_class_init (GumDbusGroupSkeletonClass *klass)
-{
- GObjectClass *gobject_class;
- GDBusInterfaceSkeletonClass *skeleton_class;
-
- g_type_class_add_private (klass, sizeof (GumDbusGroupSkeletonPrivate));
-
- gobject_class = G_OBJECT_CLASS (klass);
- gobject_class->finalize = gum_dbus_group_skeleton_finalize;
- gobject_class->get_property = gum_dbus_group_skeleton_get_property;
- gobject_class->set_property = gum_dbus_group_skeleton_set_property;
- gobject_class->notify = gum_dbus_group_skeleton_notify;
-
-
- gum_dbus_group_override_properties (gobject_class, 1);
-
- skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
- skeleton_class->get_info = gum_dbus_group_skeleton_dbus_interface_get_info;
- skeleton_class->get_properties = gum_dbus_group_skeleton_dbus_interface_get_properties;
- skeleton_class->flush = gum_dbus_group_skeleton_dbus_interface_flush;
- skeleton_class->get_vtable = gum_dbus_group_skeleton_dbus_interface_get_vtable;
-}
-
-static void
-gum_dbus_group_skeleton_iface_init (GumDbusGroupIface *iface)
-{
- iface->unregistered = _gum_dbus_group_on_signal_unregistered;
- iface->get_grouptype = gum_dbus_group_skeleton_get_grouptype;
- iface->get_gid = gum_dbus_group_skeleton_get_gid;
- iface->get_groupname = gum_dbus_group_skeleton_get_groupname;
- iface->get_secret = gum_dbus_group_skeleton_get_secret;
-}
-
-/**
- * gum_dbus_group_skeleton_new:
- *
- * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-Group.top_of_page">org.tizen.SecurityAccounts.gUserManagement.Group</link>.
- *
- * Returns: (transfer full) (type GumDbusGroupSkeleton): The skeleton object.
- */
-GumDbusGroup *
-gum_dbus_group_skeleton_new (void)
-{
- return GUM_DBUS_GROUP (g_object_new (GUM_DBUS_TYPE_GROUP_SKELETON, NULL));
-}
-
+++ /dev/null
-/*
- * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
- *
- * The license of this code is the same as for the source it was derived from.
- */
-
-#ifndef __GUM_DBUS_GROUP_GEN_H__
-#define __GUM_DBUS_GROUP_GEN_H__
-
-#include <gio/gio.h>
-
-G_BEGIN_DECLS
-
-
-/* ------------------------------------------------------------------------ */
-/* Declarations for org.tizen.SecurityAccounts.gUserManagement.Group */
-
-#define GUM_DBUS_TYPE_GROUP (gum_dbus_group_get_type ())
-#define GUM_DBUS_GROUP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_GROUP, GumDbusGroup))
-#define GUM_DBUS_IS_GROUP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_GROUP))
-#define GUM_DBUS_GROUP_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GUM_DBUS_TYPE_GROUP, GumDbusGroupIface))
-
-struct _GumDbusGroup;
-typedef struct _GumDbusGroup GumDbusGroup;
-typedef struct _GumDbusGroupIface GumDbusGroupIface;
-
-struct _GumDbusGroupIface
-{
- GTypeInterface parent_iface;
-
-
-
- gboolean (*handle_add_group) (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation,
- guint arg_preferred_gid);
-
- gboolean (*handle_add_member) (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation,
- guint arg_uid,
- gboolean arg_add_as_admin);
-
- gboolean (*handle_delete_group) (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation);
-
- gboolean (*handle_delete_member) (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation,
- guint arg_uid);
-
- gboolean (*handle_update_group) (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation);
-
- guint (*get_gid) (GumDbusGroup *object);
-
- const gchar * (*get_groupname) (GumDbusGroup *object);
-
- guint16 (*get_grouptype) (GumDbusGroup *object);
-
- const gchar * (*get_secret) (GumDbusGroup *object);
-
- void (*unregistered) (
- GumDbusGroup *object);
-
-};
-
-GType gum_dbus_group_get_type (void) G_GNUC_CONST;
-
-GDBusInterfaceInfo *gum_dbus_group_interface_info (void);
-guint gum_dbus_group_override_properties (GObjectClass *klass, guint property_id_begin);
-
-
-/* D-Bus method call completion functions: */
-void gum_dbus_group_complete_add_group (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation,
- guint gid);
-
-void gum_dbus_group_complete_delete_group (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation);
-
-void gum_dbus_group_complete_update_group (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation);
-
-void gum_dbus_group_complete_add_member (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation);
-
-void gum_dbus_group_complete_delete_member (
- GumDbusGroup *object,
- GDBusMethodInvocation *invocation);
-
-
-
-/* D-Bus signal emissions functions: */
-void gum_dbus_group_emit_unregistered (
- GumDbusGroup *object);
-
-
-
-/* D-Bus method calls: */
-void gum_dbus_group_call_add_group (
- GumDbusGroup *proxy,
- guint arg_preferred_gid,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_group_call_add_group_finish (
- GumDbusGroup *proxy,
- guint *out_gid,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_group_call_add_group_sync (
- GumDbusGroup *proxy,
- guint arg_preferred_gid,
- guint *out_gid,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_group_call_delete_group (
- GumDbusGroup *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_group_call_delete_group_finish (
- GumDbusGroup *proxy,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_group_call_delete_group_sync (
- GumDbusGroup *proxy,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_group_call_update_group (
- GumDbusGroup *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_group_call_update_group_finish (
- GumDbusGroup *proxy,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_group_call_update_group_sync (
- GumDbusGroup *proxy,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_group_call_add_member (
- GumDbusGroup *proxy,
- guint arg_uid,
- gboolean arg_add_as_admin,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_group_call_add_member_finish (
- GumDbusGroup *proxy,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_group_call_add_member_sync (
- GumDbusGroup *proxy,
- guint arg_uid,
- gboolean arg_add_as_admin,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_group_call_delete_member (
- GumDbusGroup *proxy,
- guint arg_uid,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_group_call_delete_member_finish (
- GumDbusGroup *proxy,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_group_call_delete_member_sync (
- GumDbusGroup *proxy,
- guint arg_uid,
- GCancellable *cancellable,
- GError **error);
-
-
-
-/* D-Bus property accessors: */
-guint16 gum_dbus_group_get_grouptype (GumDbusGroup *object);
-void gum_dbus_group_set_grouptype (GumDbusGroup *object, guint16 value);
-
-guint gum_dbus_group_get_gid (GumDbusGroup *object);
-void gum_dbus_group_set_gid (GumDbusGroup *object, guint value);
-
-const gchar *gum_dbus_group_get_groupname (GumDbusGroup *object);
-gchar *gum_dbus_group_dup_groupname (GumDbusGroup *object);
-void gum_dbus_group_set_groupname (GumDbusGroup *object, const gchar *value);
-
-const gchar *gum_dbus_group_get_secret (GumDbusGroup *object);
-gchar *gum_dbus_group_dup_secret (GumDbusGroup *object);
-void gum_dbus_group_set_secret (GumDbusGroup *object, const gchar *value);
-
-
-/* ---- */
-
-#define GUM_DBUS_TYPE_GROUP_PROXY (gum_dbus_group_proxy_get_type ())
-#define GUM_DBUS_GROUP_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_GROUP_PROXY, GumDbusGroupProxy))
-#define GUM_DBUS_GROUP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GUM_DBUS_TYPE_GROUP_PROXY, GumDbusGroupProxyClass))
-#define GUM_DBUS_GROUP_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUM_DBUS_TYPE_GROUP_PROXY, GumDbusGroupProxyClass))
-#define GUM_DBUS_IS_GROUP_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_GROUP_PROXY))
-#define GUM_DBUS_IS_GROUP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUM_DBUS_TYPE_GROUP_PROXY))
-
-typedef struct _GumDbusGroupProxy GumDbusGroupProxy;
-typedef struct _GumDbusGroupProxyClass GumDbusGroupProxyClass;
-typedef struct _GumDbusGroupProxyPrivate GumDbusGroupProxyPrivate;
-
-struct _GumDbusGroupProxy
-{
- /*< private >*/
- GDBusProxy parent_instance;
- GumDbusGroupProxyPrivate *priv;
-};
-
-struct _GumDbusGroupProxyClass
-{
- GDBusProxyClass parent_class;
-};
-
-GType gum_dbus_group_proxy_get_type (void) G_GNUC_CONST;
-
-void gum_dbus_group_proxy_new (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-GumDbusGroup *gum_dbus_group_proxy_new_finish (
- GAsyncResult *res,
- GError **error);
-GumDbusGroup *gum_dbus_group_proxy_new_sync (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_group_proxy_new_for_bus (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-GumDbusGroup *gum_dbus_group_proxy_new_for_bus_finish (
- GAsyncResult *res,
- GError **error);
-GumDbusGroup *gum_dbus_group_proxy_new_for_bus_sync (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error);
-
-
-/* ---- */
-
-#define GUM_DBUS_TYPE_GROUP_SKELETON (gum_dbus_group_skeleton_get_type ())
-#define GUM_DBUS_GROUP_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_GROUP_SKELETON, GumDbusGroupSkeleton))
-#define GUM_DBUS_GROUP_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GUM_DBUS_TYPE_GROUP_SKELETON, GumDbusGroupSkeletonClass))
-#define GUM_DBUS_GROUP_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUM_DBUS_TYPE_GROUP_SKELETON, GumDbusGroupSkeletonClass))
-#define GUM_DBUS_IS_GROUP_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_GROUP_SKELETON))
-#define GUM_DBUS_IS_GROUP_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUM_DBUS_TYPE_GROUP_SKELETON))
-
-typedef struct _GumDbusGroupSkeleton GumDbusGroupSkeleton;
-typedef struct _GumDbusGroupSkeletonClass GumDbusGroupSkeletonClass;
-typedef struct _GumDbusGroupSkeletonPrivate GumDbusGroupSkeletonPrivate;
-
-struct _GumDbusGroupSkeleton
-{
- /*< private >*/
- GDBusInterfaceSkeleton parent_instance;
- GumDbusGroupSkeletonPrivate *priv;
-};
-
-struct _GumDbusGroupSkeletonClass
-{
- GDBusInterfaceSkeletonClass parent_class;
-};
-
-GType gum_dbus_group_skeleton_get_type (void) G_GNUC_CONST;
-
-GumDbusGroup *gum_dbus_group_skeleton_new (void);
-
-
-G_END_DECLS
-
-#endif /* __GUM_DBUS_GROUP_GEN_H__ */
+++ /dev/null
-/*
- * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
- *
- * The license of this code is the same as for the source it was derived from.
- */
-
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include "gum-dbus-group-service-gen.h"
-
-#include <string.h>
-#ifdef G_OS_UNIX
-# include <gio/gunixfdlist.h>
-#endif
-
-typedef struct
-{
- GDBusArgInfo parent_struct;
- gboolean use_gvariant;
-} _ExtendedGDBusArgInfo;
-
-typedef struct
-{
- GDBusMethodInfo parent_struct;
- const gchar *signal_name;
- gboolean pass_fdlist;
-} _ExtendedGDBusMethodInfo;
-
-typedef struct
-{
- GDBusSignalInfo parent_struct;
- const gchar *signal_name;
-} _ExtendedGDBusSignalInfo;
-
-typedef struct
-{
- GDBusPropertyInfo parent_struct;
- const gchar *hyphen_name;
- gboolean use_gvariant;
-} _ExtendedGDBusPropertyInfo;
-
-typedef struct
-{
- GDBusInterfaceInfo parent_struct;
- const gchar *hyphen_name;
-} _ExtendedGDBusInterfaceInfo;
-
-typedef struct
-{
- const _ExtendedGDBusPropertyInfo *info;
- guint prop_id;
- GValue orig_value; /* the value before the change */
-} ChangedProperty;
-
-static void
-_changed_property_free (ChangedProperty *data)
-{
- g_value_unset (&data->orig_value);
- g_free (data);
-}
-
-static gboolean
-_g_strv_equal0 (gchar **a, gchar **b)
-{
- gboolean ret = FALSE;
- guint n;
- if (a == NULL && b == NULL)
- {
- ret = TRUE;
- goto out;
- }
- if (a == NULL || b == NULL)
- goto out;
- if (g_strv_length (a) != g_strv_length (b))
- goto out;
- for (n = 0; a[n] != NULL; n++)
- if (g_strcmp0 (a[n], b[n]) != 0)
- goto out;
- ret = TRUE;
-out:
- return ret;
-}
-
-static gboolean
-_g_variant_equal0 (GVariant *a, GVariant *b)
-{
- gboolean ret = FALSE;
- if (a == NULL && b == NULL)
- {
- ret = TRUE;
- goto out;
- }
- if (a == NULL || b == NULL)
- goto out;
- ret = g_variant_equal (a, b);
-out:
- return ret;
-}
-
-G_GNUC_UNUSED static gboolean
-_g_value_equal (const GValue *a, const GValue *b)
-{
- gboolean ret = FALSE;
- g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
- switch (G_VALUE_TYPE (a))
- {
- case G_TYPE_BOOLEAN:
- ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
- break;
- case G_TYPE_UCHAR:
- ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
- break;
- case G_TYPE_INT:
- ret = (g_value_get_int (a) == g_value_get_int (b));
- break;
- case G_TYPE_UINT:
- ret = (g_value_get_uint (a) == g_value_get_uint (b));
- break;
- case G_TYPE_INT64:
- ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
- break;
- case G_TYPE_UINT64:
- ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
- break;
- case G_TYPE_DOUBLE:
- {
- /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
- gdouble da = g_value_get_double (a);
- gdouble db = g_value_get_double (b);
- ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
- }
- break;
- case G_TYPE_STRING:
- ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
- break;
- case G_TYPE_VARIANT:
- ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
- break;
- default:
- if (G_VALUE_TYPE (a) == G_TYPE_STRV)
- ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
- else
- g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
- break;
- }
- return ret;
-}
-
-/* ------------------------------------------------------------------------
- * Code for interface org.tizen.SecurityAccounts.gUserManagement.GroupService
- * ------------------------------------------------------------------------
- */
-
-/**
- * SECTION:GumDbusGroupService
- * @title: GumDbusGroupService
- * @short_description: Generated C code for the org.tizen.SecurityAccounts.gUserManagement.GroupService D-Bus interface
- *
- * This section contains code for working with the <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-GroupService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.GroupService</link> D-Bus interface in C.
- */
-
-/* ---- Introspection data for org.tizen.SecurityAccounts.gUserManagement.GroupService ---- */
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_service_method_info_create_new_group_OUT_ARG_objectPath =
-{
- {
- -1,
- "objectPath",
- "o",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_service_method_info_create_new_group_OUT_ARG_pointers[] =
-{
- &_gum_dbus_group_service_method_info_create_new_group_OUT_ARG_objectPath,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_group_service_method_info_create_new_group =
-{
- {
- -1,
- "createNewGroup",
- NULL,
- (GDBusArgInfo **) &_gum_dbus_group_service_method_info_create_new_group_OUT_ARG_pointers,
- NULL
- },
- "handle-create-new-group",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_service_method_info_get_group_IN_ARG_gid =
-{
- {
- -1,
- "gid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_service_method_info_get_group_IN_ARG_pointers[] =
-{
- &_gum_dbus_group_service_method_info_get_group_IN_ARG_gid,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_service_method_info_get_group_OUT_ARG_objectPath =
-{
- {
- -1,
- "objectPath",
- "o",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_service_method_info_get_group_OUT_ARG_pointers[] =
-{
- &_gum_dbus_group_service_method_info_get_group_OUT_ARG_objectPath,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_group_service_method_info_get_group =
-{
- {
- -1,
- "getGroup",
- (GDBusArgInfo **) &_gum_dbus_group_service_method_info_get_group_IN_ARG_pointers,
- (GDBusArgInfo **) &_gum_dbus_group_service_method_info_get_group_OUT_ARG_pointers,
- NULL
- },
- "handle-get-group",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_service_method_info_get_group_by_name_IN_ARG_groupname =
-{
- {
- -1,
- "groupname",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_service_method_info_get_group_by_name_IN_ARG_pointers[] =
-{
- &_gum_dbus_group_service_method_info_get_group_by_name_IN_ARG_groupname,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_service_method_info_get_group_by_name_OUT_ARG_objectPath =
-{
- {
- -1,
- "objectPath",
- "o",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_service_method_info_get_group_by_name_OUT_ARG_pointers[] =
-{
- &_gum_dbus_group_service_method_info_get_group_by_name_OUT_ARG_objectPath,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_group_service_method_info_get_group_by_name =
-{
- {
- -1,
- "getGroupByName",
- (GDBusArgInfo **) &_gum_dbus_group_service_method_info_get_group_by_name_IN_ARG_pointers,
- (GDBusArgInfo **) &_gum_dbus_group_service_method_info_get_group_by_name_OUT_ARG_pointers,
- NULL
- },
- "handle-get-group-by-name",
- FALSE
-};
-
-static const _ExtendedGDBusMethodInfo * const _gum_dbus_group_service_method_info_pointers[] =
-{
- &_gum_dbus_group_service_method_info_create_new_group,
- &_gum_dbus_group_service_method_info_get_group,
- &_gum_dbus_group_service_method_info_get_group_by_name,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_service_signal_info_group_added_ARG_gid =
-{
- {
- -1,
- "gid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_service_signal_info_group_added_ARG_pointers[] =
-{
- &_gum_dbus_group_service_signal_info_group_added_ARG_gid,
- NULL
-};
-
-static const _ExtendedGDBusSignalInfo _gum_dbus_group_service_signal_info_group_added =
-{
- {
- -1,
- "groupAdded",
- (GDBusArgInfo **) &_gum_dbus_group_service_signal_info_group_added_ARG_pointers,
- NULL
- },
- "group-added"
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_service_signal_info_group_deleted_ARG_gid =
-{
- {
- -1,
- "gid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_service_signal_info_group_deleted_ARG_pointers[] =
-{
- &_gum_dbus_group_service_signal_info_group_deleted_ARG_gid,
- NULL
-};
-
-static const _ExtendedGDBusSignalInfo _gum_dbus_group_service_signal_info_group_deleted =
-{
- {
- -1,
- "groupDeleted",
- (GDBusArgInfo **) &_gum_dbus_group_service_signal_info_group_deleted_ARG_pointers,
- NULL
- },
- "group-deleted"
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_group_service_signal_info_group_updated_ARG_gid =
-{
- {
- -1,
- "gid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_group_service_signal_info_group_updated_ARG_pointers[] =
-{
- &_gum_dbus_group_service_signal_info_group_updated_ARG_gid,
- NULL
-};
-
-static const _ExtendedGDBusSignalInfo _gum_dbus_group_service_signal_info_group_updated =
-{
- {
- -1,
- "groupUpdated",
- (GDBusArgInfo **) &_gum_dbus_group_service_signal_info_group_updated_ARG_pointers,
- NULL
- },
- "group-updated"
-};
-
-static const _ExtendedGDBusSignalInfo * const _gum_dbus_group_service_signal_info_pointers[] =
-{
- &_gum_dbus_group_service_signal_info_group_added,
- &_gum_dbus_group_service_signal_info_group_deleted,
- &_gum_dbus_group_service_signal_info_group_updated,
- NULL
-};
-
-static const _ExtendedGDBusInterfaceInfo _gum_dbus_group_service_interface_info =
-{
- {
- -1,
- "org.tizen.SecurityAccounts.gUserManagement.GroupService",
- (GDBusMethodInfo **) &_gum_dbus_group_service_method_info_pointers,
- (GDBusSignalInfo **) &_gum_dbus_group_service_signal_info_pointers,
- NULL,
- NULL
- },
- "group-service",
-};
-
-
-/**
- * gum_dbus_group_service_interface_info:
- *
- * Gets a machine-readable description of the <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-GroupService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.GroupService</link> D-Bus interface.
- *
- * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
- */
-GDBusInterfaceInfo *
-gum_dbus_group_service_interface_info (void)
-{
- return (GDBusInterfaceInfo *) &_gum_dbus_group_service_interface_info;
-}
-
-/**
- * gum_dbus_group_service_override_properties:
- * @klass: The class structure for a #GObject<!-- -->-derived class.
- * @property_id_begin: The property id to assign to the first overridden property.
- *
- * Overrides all #GObject properties in the #GumDbusGroupService interface for a concrete class.
- * The properties are overridden in the order they are defined.
- *
- * Returns: The last property id.
- */
-guint
-gum_dbus_group_service_override_properties (GObjectClass *klass, guint property_id_begin)
-{
- return property_id_begin - 1;
-}
-
-
-
-/**
- * GumDbusGroupService:
- *
- * Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-GroupService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.GroupService</link>.
- */
-
-/**
- * GumDbusGroupServiceIface:
- * @parent_iface: The parent interface.
- * @handle_create_new_group: Handler for the #GumDbusGroupService::handle-create-new-group signal.
- * @handle_get_group: Handler for the #GumDbusGroupService::handle-get-group signal.
- * @handle_get_group_by_name: Handler for the #GumDbusGroupService::handle-get-group-by-name signal.
- * @group_added: Handler for the #GumDbusGroupService::group-added signal.
- * @group_deleted: Handler for the #GumDbusGroupService::group-deleted signal.
- * @group_updated: Handler for the #GumDbusGroupService::group-updated signal.
- *
- * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-GroupService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.GroupService</link>.
- */
-
-static void
-gum_dbus_group_service_default_init (GumDbusGroupServiceIface *iface)
-{
- /* GObject signals for incoming D-Bus method calls: */
- /**
- * GumDbusGroupService::handle-create-new-group:
- * @object: A #GumDbusGroupService.
- * @invocation: A #GDBusMethodInvocation.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.createNewGroup">createNewGroup()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_group_service_complete_create_new_group() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-create-new-group",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupServiceIface, handle_create_new_group),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 1,
- G_TYPE_DBUS_METHOD_INVOCATION);
-
- /**
- * GumDbusGroupService::handle-get-group:
- * @object: A #GumDbusGroupService.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_gid: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.getGroup">getGroup()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_group_service_complete_get_group() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-get-group",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupServiceIface, handle_get_group),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
-
- /**
- * GumDbusGroupService::handle-get-group-by-name:
- * @object: A #GumDbusGroupService.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_groupname: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.getGroupByName">getGroupByName()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_group_service_complete_get_group_by_name() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-get-group-by-name",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupServiceIface, handle_get_group_by_name),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
-
- /* GObject signals for received D-Bus signals: */
- /**
- * GumDbusGroupService::group-added:
- * @object: A #GumDbusGroupService.
- * @arg_gid: Argument.
- *
- * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-GroupService.groupAdded">"groupAdded"</link> is received.
- *
- * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- */
- g_signal_new ("group-added",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupServiceIface, group_added),
- NULL,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_NONE,
- 1, G_TYPE_UINT);
-
- /**
- * GumDbusGroupService::group-deleted:
- * @object: A #GumDbusGroupService.
- * @arg_gid: Argument.
- *
- * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-GroupService.groupDeleted">"groupDeleted"</link> is received.
- *
- * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- */
- g_signal_new ("group-deleted",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupServiceIface, group_deleted),
- NULL,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_NONE,
- 1, G_TYPE_UINT);
-
- /**
- * GumDbusGroupService::group-updated:
- * @object: A #GumDbusGroupService.
- * @arg_gid: Argument.
- *
- * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-GroupService.groupUpdated">"groupUpdated"</link> is received.
- *
- * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- */
- g_signal_new ("group-updated",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusGroupServiceIface, group_updated),
- NULL,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_NONE,
- 1, G_TYPE_UINT);
-
-}
-
-typedef GumDbusGroupServiceIface GumDbusGroupServiceInterface;
-G_DEFINE_INTERFACE (GumDbusGroupService, gum_dbus_group_service, G_TYPE_OBJECT);
-
-/**
- * gum_dbus_group_service_emit_group_added:
- * @object: A #GumDbusGroupService.
- * @arg_gid: Argument to pass with the signal.
- *
- * Emits the <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-GroupService.groupAdded">"groupAdded"</link> D-Bus signal.
- */
-void
-gum_dbus_group_service_emit_group_added (
- GumDbusGroupService *object,
- guint arg_gid)
-{
- g_signal_emit_by_name (object, "group-added", arg_gid);
-}
-
-/**
- * gum_dbus_group_service_emit_group_deleted:
- * @object: A #GumDbusGroupService.
- * @arg_gid: Argument to pass with the signal.
- *
- * Emits the <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-GroupService.groupDeleted">"groupDeleted"</link> D-Bus signal.
- */
-void
-gum_dbus_group_service_emit_group_deleted (
- GumDbusGroupService *object,
- guint arg_gid)
-{
- g_signal_emit_by_name (object, "group-deleted", arg_gid);
-}
-
-/**
- * gum_dbus_group_service_emit_group_updated:
- * @object: A #GumDbusGroupService.
- * @arg_gid: Argument to pass with the signal.
- *
- * Emits the <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-GroupService.groupUpdated">"groupUpdated"</link> D-Bus signal.
- */
-void
-gum_dbus_group_service_emit_group_updated (
- GumDbusGroupService *object,
- guint arg_gid)
-{
- g_signal_emit_by_name (object, "group-updated", arg_gid);
-}
-
-/**
- * gum_dbus_group_service_call_create_new_group:
- * @proxy: A #GumDbusGroupServiceProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.createNewGroup">createNewGroup()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_service_call_create_new_group_finish() to get the result of the operation.
- *
- * See gum_dbus_group_service_call_create_new_group_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_group_service_call_create_new_group (
- GumDbusGroupService *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "createNewGroup",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_group_service_call_create_new_group_finish:
- * @proxy: A #GumDbusGroupServiceProxy.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_service_call_create_new_group().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_group_service_call_create_new_group().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_service_call_create_new_group_finish (
- GumDbusGroupService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_service_call_create_new_group_sync:
- * @proxy: A #GumDbusGroupServiceProxy.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.createNewGroup">createNewGroup()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_service_call_create_new_group() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_service_call_create_new_group_sync (
- GumDbusGroupService *proxy,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "createNewGroup",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_service_call_get_group:
- * @proxy: A #GumDbusGroupServiceProxy.
- * @arg_gid: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.getGroup">getGroup()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_service_call_get_group_finish() to get the result of the operation.
- *
- * See gum_dbus_group_service_call_get_group_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_group_service_call_get_group (
- GumDbusGroupService *proxy,
- guint arg_gid,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "getGroup",
- g_variant_new ("(u)",
- arg_gid),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_group_service_call_get_group_finish:
- * @proxy: A #GumDbusGroupServiceProxy.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_service_call_get_group().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_group_service_call_get_group().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_service_call_get_group_finish (
- GumDbusGroupService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_service_call_get_group_sync:
- * @proxy: A #GumDbusGroupServiceProxy.
- * @arg_gid: Argument to pass with the method invocation.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.getGroup">getGroup()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_service_call_get_group() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_service_call_get_group_sync (
- GumDbusGroupService *proxy,
- guint arg_gid,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "getGroup",
- g_variant_new ("(u)",
- arg_gid),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_service_call_get_group_by_name:
- * @proxy: A #GumDbusGroupServiceProxy.
- * @arg_groupname: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.getGroupByName">getGroupByName()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_service_call_get_group_by_name_finish() to get the result of the operation.
- *
- * See gum_dbus_group_service_call_get_group_by_name_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_group_service_call_get_group_by_name (
- GumDbusGroupService *proxy,
- const gchar *arg_groupname,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "getGroupByName",
- g_variant_new ("(s)",
- arg_groupname),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_group_service_call_get_group_by_name_finish:
- * @proxy: A #GumDbusGroupServiceProxy.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_service_call_get_group_by_name().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_group_service_call_get_group_by_name().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_service_call_get_group_by_name_finish (
- GumDbusGroupService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_service_call_get_group_by_name_sync:
- * @proxy: A #GumDbusGroupServiceProxy.
- * @arg_groupname: Argument to pass with the method invocation.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.getGroupByName">getGroupByName()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_service_call_get_group_by_name() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_group_service_call_get_group_by_name_sync (
- GumDbusGroupService *proxy,
- const gchar *arg_groupname,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "getGroupByName",
- g_variant_new ("(s)",
- arg_groupname),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_group_service_complete_create_new_group:
- * @object: A #GumDbusGroupService.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- * @objectPath: Parameter to return.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.createNewGroup">createNewGroup()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_group_service_complete_create_new_group (
- GumDbusGroupService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("(o)",
- objectPath));
-}
-
-/**
- * gum_dbus_group_service_complete_get_group:
- * @object: A #GumDbusGroupService.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- * @objectPath: Parameter to return.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.getGroup">getGroup()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_group_service_complete_get_group (
- GumDbusGroupService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("(o)",
- objectPath));
-}
-
-/**
- * gum_dbus_group_service_complete_get_group_by_name:
- * @object: A #GumDbusGroupService.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- * @objectPath: Parameter to return.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-GroupService.getGroupByName">getGroupByName()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_group_service_complete_get_group_by_name (
- GumDbusGroupService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("(o)",
- objectPath));
-}
-
-/* ------------------------------------------------------------------------ */
-
-/**
- * GumDbusGroupServiceProxy:
- *
- * The #GumDbusGroupServiceProxy structure contains only private data and should only be accessed using the provided API.
- */
-
-/**
- * GumDbusGroupServiceProxyClass:
- * @parent_class: The parent class.
- *
- * Class structure for #GumDbusGroupServiceProxy.
- */
-
-struct _GumDbusGroupServiceProxyPrivate
-{
- GData *qdata;
-};
-
-static void gum_dbus_group_service_proxy_iface_init (GumDbusGroupServiceIface *iface);
-
-G_DEFINE_TYPE_WITH_CODE (GumDbusGroupServiceProxy, gum_dbus_group_service_proxy, G_TYPE_DBUS_PROXY,
- G_IMPLEMENT_INTERFACE (GUM_DBUS_TYPE_GROUP_SERVICE, gum_dbus_group_service_proxy_iface_init));
-
-static void
-gum_dbus_group_service_proxy_finalize (GObject *object)
-{
- GumDbusGroupServiceProxy *proxy = GUM_DBUS_GROUP_SERVICE_PROXY (object);
- g_datalist_clear (&proxy->priv->qdata);
- G_OBJECT_CLASS (gum_dbus_group_service_proxy_parent_class)->finalize (object);
-}
-
-static void
-gum_dbus_group_service_proxy_get_property (GObject *object,
- guint prop_id,
- GValue *value,
- GParamSpec *pspec)
-{
-}
-
-static void
-gum_dbus_group_service_proxy_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
-{
-}
-
-static void
-gum_dbus_group_service_proxy_g_signal (GDBusProxy *proxy,
- const gchar *sender_name,
- const gchar *signal_name,
- GVariant *parameters)
-{
- _ExtendedGDBusSignalInfo *info;
- GVariantIter iter;
- GVariant *child;
- GValue *paramv;
- guint num_params;
- guint n;
- guint signal_id;
- info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_gum_dbus_group_service_interface_info, signal_name);
- if (info == NULL)
- return;
- num_params = g_variant_n_children (parameters);
- paramv = g_new0 (GValue, num_params + 1);
- g_value_init (¶mv[0], GUM_DBUS_TYPE_GROUP_SERVICE);
- g_value_set_object (¶mv[0], proxy);
- g_variant_iter_init (&iter, parameters);
- n = 1;
- while ((child = g_variant_iter_next_value (&iter)) != NULL)
- {
- _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
- if (arg_info->use_gvariant)
- {
- g_value_init (¶mv[n], G_TYPE_VARIANT);
- g_value_set_variant (¶mv[n], child);
- n++;
- }
- else
- g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
- g_variant_unref (child);
- }
- signal_id = g_signal_lookup (info->signal_name, GUM_DBUS_TYPE_GROUP_SERVICE);
- g_signal_emitv (paramv, signal_id, 0, NULL);
- for (n = 0; n < num_params + 1; n++)
- g_value_unset (¶mv[n]);
- g_free (paramv);
-}
-
-static void
-gum_dbus_group_service_proxy_g_properties_changed (GDBusProxy *_proxy,
- GVariant *changed_properties,
- const gchar *const *invalidated_properties)
-{
- GumDbusGroupServiceProxy *proxy = GUM_DBUS_GROUP_SERVICE_PROXY (_proxy);
- guint n;
- const gchar *key;
- GVariantIter *iter;
- _ExtendedGDBusPropertyInfo *info;
- g_variant_get (changed_properties, "a{sv}", &iter);
- while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
- {
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_group_service_interface_info, key);
- g_datalist_remove_data (&proxy->priv->qdata, key);
- if (info != NULL)
- g_object_notify (G_OBJECT (proxy), info->hyphen_name);
- }
- g_variant_iter_free (iter);
- for (n = 0; invalidated_properties[n] != NULL; n++)
- {
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_group_service_interface_info, invalidated_properties[n]);
- g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
- if (info != NULL)
- g_object_notify (G_OBJECT (proxy), info->hyphen_name);
- }
-}
-
-static void
-gum_dbus_group_service_proxy_init (GumDbusGroupServiceProxy *proxy)
-{
- proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, GUM_DBUS_TYPE_GROUP_SERVICE_PROXY, GumDbusGroupServiceProxyPrivate);
- g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), gum_dbus_group_service_interface_info ());
-}
-
-static void
-gum_dbus_group_service_proxy_class_init (GumDbusGroupServiceProxyClass *klass)
-{
- GObjectClass *gobject_class;
- GDBusProxyClass *proxy_class;
-
- g_type_class_add_private (klass, sizeof (GumDbusGroupServiceProxyPrivate));
-
- gobject_class = G_OBJECT_CLASS (klass);
- gobject_class->finalize = gum_dbus_group_service_proxy_finalize;
- gobject_class->get_property = gum_dbus_group_service_proxy_get_property;
- gobject_class->set_property = gum_dbus_group_service_proxy_set_property;
-
- proxy_class = G_DBUS_PROXY_CLASS (klass);
- proxy_class->g_signal = gum_dbus_group_service_proxy_g_signal;
- proxy_class->g_properties_changed = gum_dbus_group_service_proxy_g_properties_changed;
-
-}
-
-static void
-gum_dbus_group_service_proxy_iface_init (GumDbusGroupServiceIface *iface)
-{
-}
-
-/**
- * gum_dbus_group_service_proxy_new:
- * @connection: A #GDBusConnection.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-GroupService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.GroupService</link>. See g_dbus_proxy_new() for more details.
- *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_service_proxy_new_finish() to get the result of the operation.
- *
- * See gum_dbus_group_service_proxy_new_sync() for the synchronous, blocking version of this constructor.
- */
-void
-gum_dbus_group_service_proxy_new (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_async_initable_new_async (GUM_DBUS_TYPE_GROUP_SERVICE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.GroupService", NULL);
-}
-
-/**
- * gum_dbus_group_service_proxy_new_finish:
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_service_proxy_new().
- * @error: Return location for error or %NULL
- *
- * Finishes an operation started with gum_dbus_group_service_proxy_new().
- *
- * Returns: (transfer full) (type GumDbusGroupServiceProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusGroupService *
-gum_dbus_group_service_proxy_new_finish (
- GAsyncResult *res,
- GError **error)
-{
- GObject *ret;
- GObject *source_object;
- source_object = g_async_result_get_source_object (res);
- ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
- g_object_unref (source_object);
- if (ret != NULL)
- return GUM_DBUS_GROUP_SERVICE (ret);
- else
- return NULL;
-}
-
-/**
- * gum_dbus_group_service_proxy_new_sync:
- * @connection: A #GDBusConnection.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL
- *
- * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-GroupService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.GroupService</link>. See g_dbus_proxy_new_sync() for more details.
- *
- * The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_service_proxy_new() for the asynchronous version of this constructor.
- *
- * Returns: (transfer full) (type GumDbusGroupServiceProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusGroupService *
-gum_dbus_group_service_proxy_new_sync (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error)
-{
- GInitable *ret;
- ret = g_initable_new (GUM_DBUS_TYPE_GROUP_SERVICE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.GroupService", NULL);
- if (ret != NULL)
- return GUM_DBUS_GROUP_SERVICE (ret);
- else
- return NULL;
-}
-
-
-/**
- * gum_dbus_group_service_proxy_new_for_bus:
- * @bus_type: A #GBusType.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: A bus name (well-known or unique).
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
- * @user_data: User data to pass to @callback.
- *
- * Like gum_dbus_group_service_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
- *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_group_service_proxy_new_for_bus_finish() to get the result of the operation.
- *
- * See gum_dbus_group_service_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
- */
-void
-gum_dbus_group_service_proxy_new_for_bus (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_async_initable_new_async (GUM_DBUS_TYPE_GROUP_SERVICE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.GroupService", NULL);
-}
-
-/**
- * gum_dbus_group_service_proxy_new_for_bus_finish:
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_group_service_proxy_new_for_bus().
- * @error: Return location for error or %NULL
- *
- * Finishes an operation started with gum_dbus_group_service_proxy_new_for_bus().
- *
- * Returns: (transfer full) (type GumDbusGroupServiceProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusGroupService *
-gum_dbus_group_service_proxy_new_for_bus_finish (
- GAsyncResult *res,
- GError **error)
-{
- GObject *ret;
- GObject *source_object;
- source_object = g_async_result_get_source_object (res);
- ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
- g_object_unref (source_object);
- if (ret != NULL)
- return GUM_DBUS_GROUP_SERVICE (ret);
- else
- return NULL;
-}
-
-/**
- * gum_dbus_group_service_proxy_new_for_bus_sync:
- * @bus_type: A #GBusType.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: A bus name (well-known or unique).
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL
- *
- * Like gum_dbus_group_service_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
- *
- * The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_group_service_proxy_new_for_bus() for the asynchronous version of this constructor.
- *
- * Returns: (transfer full) (type GumDbusGroupServiceProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusGroupService *
-gum_dbus_group_service_proxy_new_for_bus_sync (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error)
-{
- GInitable *ret;
- ret = g_initable_new (GUM_DBUS_TYPE_GROUP_SERVICE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.GroupService", NULL);
- if (ret != NULL)
- return GUM_DBUS_GROUP_SERVICE (ret);
- else
- return NULL;
-}
-
-
-/* ------------------------------------------------------------------------ */
-
-/**
- * GumDbusGroupServiceSkeleton:
- *
- * The #GumDbusGroupServiceSkeleton structure contains only private data and should only be accessed using the provided API.
- */
-
-/**
- * GumDbusGroupServiceSkeletonClass:
- * @parent_class: The parent class.
- *
- * Class structure for #GumDbusGroupServiceSkeleton.
- */
-
-struct _GumDbusGroupServiceSkeletonPrivate
-{
- GValue *properties;
- GList *changed_properties;
- GSource *changed_properties_idle_source;
- GMainContext *context;
- GMutex lock;
-};
-
-static void
-_gum_dbus_group_service_skeleton_handle_method_call (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *method_name,
- GVariant *parameters,
- GDBusMethodInvocation *invocation,
- gpointer user_data)
-{
- GumDbusGroupServiceSkeleton *skeleton = GUM_DBUS_GROUP_SERVICE_SKELETON (user_data);
- _ExtendedGDBusMethodInfo *info;
- GVariantIter iter;
- GVariant *child;
- GValue *paramv;
- guint num_params;
- guint num_extra;
- guint n;
- guint signal_id;
- GValue return_value = G_VALUE_INIT;
- info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
- g_assert (info != NULL);
- num_params = g_variant_n_children (parameters);
- num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
- n = 0;
- g_value_init (¶mv[n], GUM_DBUS_TYPE_GROUP_SERVICE);
- g_value_set_object (¶mv[n++], skeleton);
- g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
- g_value_set_object (¶mv[n++], invocation);
- if (info->pass_fdlist)
- {
-#ifdef G_OS_UNIX
- g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
- g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
-#else
- g_assert_not_reached ();
-#endif
- }
- g_variant_iter_init (&iter, parameters);
- while ((child = g_variant_iter_next_value (&iter)) != NULL)
- {
- _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
- if (arg_info->use_gvariant)
- {
- g_value_init (¶mv[n], G_TYPE_VARIANT);
- g_value_set_variant (¶mv[n], child);
- n++;
- }
- else
- g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
- g_variant_unref (child);
- }
- signal_id = g_signal_lookup (info->signal_name, GUM_DBUS_TYPE_GROUP_SERVICE);
- g_value_init (&return_value, G_TYPE_BOOLEAN);
- g_signal_emitv (paramv, signal_id, 0, &return_value);
- if (!g_value_get_boolean (&return_value))
- g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
- g_value_unset (&return_value);
- for (n = 0; n < num_params + num_extra; n++)
- g_value_unset (¶mv[n]);
- g_free (paramv);
-}
-
-static GVariant *
-_gum_dbus_group_service_skeleton_handle_get_property (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *property_name,
- GError **error,
- gpointer user_data)
-{
- GumDbusGroupServiceSkeleton *skeleton = GUM_DBUS_GROUP_SERVICE_SKELETON (user_data);
- GValue value = G_VALUE_INIT;
- GParamSpec *pspec;
- _ExtendedGDBusPropertyInfo *info;
- GVariant *ret;
- ret = NULL;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_group_service_interface_info, property_name);
- g_assert (info != NULL);
- pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
- if (pspec == NULL)
- {
- g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
- }
- else
- {
- g_value_init (&value, pspec->value_type);
- g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
- ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
- g_value_unset (&value);
- }
- return ret;
-}
-
-static gboolean
-_gum_dbus_group_service_skeleton_handle_set_property (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *property_name,
- GVariant *variant,
- GError **error,
- gpointer user_data)
-{
- GumDbusGroupServiceSkeleton *skeleton = GUM_DBUS_GROUP_SERVICE_SKELETON (user_data);
- GValue value = G_VALUE_INIT;
- GParamSpec *pspec;
- _ExtendedGDBusPropertyInfo *info;
- gboolean ret;
- ret = FALSE;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_group_service_interface_info, property_name);
- g_assert (info != NULL);
- pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
- if (pspec == NULL)
- {
- g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
- }
- else
- {
- if (info->use_gvariant)
- g_value_set_variant (&value, variant);
- else
- g_dbus_gvariant_to_gvalue (variant, &value);
- g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
- g_value_unset (&value);
- ret = TRUE;
- }
- return ret;
-}
-
-static const GDBusInterfaceVTable _gum_dbus_group_service_skeleton_vtable =
-{
- _gum_dbus_group_service_skeleton_handle_method_call,
- _gum_dbus_group_service_skeleton_handle_get_property,
- _gum_dbus_group_service_skeleton_handle_set_property
-};
-
-static GDBusInterfaceInfo *
-gum_dbus_group_service_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton)
-{
- return gum_dbus_group_service_interface_info ();
-}
-
-static GDBusInterfaceVTable *
-gum_dbus_group_service_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton)
-{
- return (GDBusInterfaceVTable *) &_gum_dbus_group_service_skeleton_vtable;
-}
-
-static GVariant *
-gum_dbus_group_service_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
-{
- GumDbusGroupServiceSkeleton *skeleton = GUM_DBUS_GROUP_SERVICE_SKELETON (_skeleton);
-
- GVariantBuilder builder;
- guint n;
- g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
- if (_gum_dbus_group_service_interface_info.parent_struct.properties == NULL)
- goto out;
- for (n = 0; _gum_dbus_group_service_interface_info.parent_struct.properties[n] != NULL; n++)
- {
- GDBusPropertyInfo *info = _gum_dbus_group_service_interface_info.parent_struct.properties[n];
- if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
- {
- GVariant *value;
- value = _gum_dbus_group_service_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.GroupService", info->name, NULL, skeleton);
- if (value != NULL)
- {
- g_variant_take_ref (value);
- g_variant_builder_add (&builder, "{sv}", info->name, value);
- g_variant_unref (value);
- }
- }
- }
-out:
- return g_variant_builder_end (&builder);
-}
-
-static void
-gum_dbus_group_service_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
-{
-}
-
-static void
-_gum_dbus_group_service_on_signal_group_added (
- GumDbusGroupService *object,
- guint arg_gid)
-{
- GumDbusGroupServiceSkeleton *skeleton = GUM_DBUS_GROUP_SERVICE_SKELETON (object);
-
- GList *connections, *l;
- GVariant *signal_variant;
- connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
-
- signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
- arg_gid));
- for (l = connections; l != NULL; l = l->next)
- {
- GDBusConnection *connection = l->data;
- g_dbus_connection_emit_signal (connection,
- NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.GroupService", "groupAdded",
- signal_variant, NULL);
- }
- g_variant_unref (signal_variant);
- g_list_free_full (connections, g_object_unref);
-}
-
-static void
-_gum_dbus_group_service_on_signal_group_deleted (
- GumDbusGroupService *object,
- guint arg_gid)
-{
- GumDbusGroupServiceSkeleton *skeleton = GUM_DBUS_GROUP_SERVICE_SKELETON (object);
-
- GList *connections, *l;
- GVariant *signal_variant;
- connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
-
- signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
- arg_gid));
- for (l = connections; l != NULL; l = l->next)
- {
- GDBusConnection *connection = l->data;
- g_dbus_connection_emit_signal (connection,
- NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.GroupService", "groupDeleted",
- signal_variant, NULL);
- }
- g_variant_unref (signal_variant);
- g_list_free_full (connections, g_object_unref);
-}
-
-static void
-_gum_dbus_group_service_on_signal_group_updated (
- GumDbusGroupService *object,
- guint arg_gid)
-{
- GumDbusGroupServiceSkeleton *skeleton = GUM_DBUS_GROUP_SERVICE_SKELETON (object);
-
- GList *connections, *l;
- GVariant *signal_variant;
- connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
-
- signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
- arg_gid));
- for (l = connections; l != NULL; l = l->next)
- {
- GDBusConnection *connection = l->data;
- g_dbus_connection_emit_signal (connection,
- NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.GroupService", "groupUpdated",
- signal_variant, NULL);
- }
- g_variant_unref (signal_variant);
- g_list_free_full (connections, g_object_unref);
-}
-
-static void gum_dbus_group_service_skeleton_iface_init (GumDbusGroupServiceIface *iface);
-G_DEFINE_TYPE_WITH_CODE (GumDbusGroupServiceSkeleton, gum_dbus_group_service_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
- G_IMPLEMENT_INTERFACE (GUM_DBUS_TYPE_GROUP_SERVICE, gum_dbus_group_service_skeleton_iface_init));
-
-static void
-gum_dbus_group_service_skeleton_finalize (GObject *object)
-{
- GumDbusGroupServiceSkeleton *skeleton = GUM_DBUS_GROUP_SERVICE_SKELETON (object);
- g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
- if (skeleton->priv->changed_properties_idle_source != NULL)
- g_source_destroy (skeleton->priv->changed_properties_idle_source);
- g_main_context_unref (skeleton->priv->context);
- g_mutex_clear (&skeleton->priv->lock);
- G_OBJECT_CLASS (gum_dbus_group_service_skeleton_parent_class)->finalize (object);
-}
-
-static void
-gum_dbus_group_service_skeleton_init (GumDbusGroupServiceSkeleton *skeleton)
-{
- skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, GUM_DBUS_TYPE_GROUP_SERVICE_SKELETON, GumDbusGroupServiceSkeletonPrivate);
- g_mutex_init (&skeleton->priv->lock);
- skeleton->priv->context = g_main_context_ref_thread_default ();
-}
-
-static void
-gum_dbus_group_service_skeleton_class_init (GumDbusGroupServiceSkeletonClass *klass)
-{
- GObjectClass *gobject_class;
- GDBusInterfaceSkeletonClass *skeleton_class;
-
- g_type_class_add_private (klass, sizeof (GumDbusGroupServiceSkeletonPrivate));
-
- gobject_class = G_OBJECT_CLASS (klass);
- gobject_class->finalize = gum_dbus_group_service_skeleton_finalize;
-
- skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
- skeleton_class->get_info = gum_dbus_group_service_skeleton_dbus_interface_get_info;
- skeleton_class->get_properties = gum_dbus_group_service_skeleton_dbus_interface_get_properties;
- skeleton_class->flush = gum_dbus_group_service_skeleton_dbus_interface_flush;
- skeleton_class->get_vtable = gum_dbus_group_service_skeleton_dbus_interface_get_vtable;
-}
-
-static void
-gum_dbus_group_service_skeleton_iface_init (GumDbusGroupServiceIface *iface)
-{
- iface->group_added = _gum_dbus_group_service_on_signal_group_added;
- iface->group_deleted = _gum_dbus_group_service_on_signal_group_deleted;
- iface->group_updated = _gum_dbus_group_service_on_signal_group_updated;
-}
-
-/**
- * gum_dbus_group_service_skeleton_new:
- *
- * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-GroupService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.GroupService</link>.
- *
- * Returns: (transfer full) (type GumDbusGroupServiceSkeleton): The skeleton object.
- */
-GumDbusGroupService *
-gum_dbus_group_service_skeleton_new (void)
-{
- return GUM_DBUS_GROUP_SERVICE (g_object_new (GUM_DBUS_TYPE_GROUP_SERVICE_SKELETON, NULL));
-}
-
+++ /dev/null
-/*
- * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
- *
- * The license of this code is the same as for the source it was derived from.
- */
-
-#ifndef __GUM_DBUS_GROUP_SERVICE_GEN_H__
-#define __GUM_DBUS_GROUP_SERVICE_GEN_H__
-
-#include <gio/gio.h>
-
-G_BEGIN_DECLS
-
-
-/* ------------------------------------------------------------------------ */
-/* Declarations for org.tizen.SecurityAccounts.gUserManagement.GroupService */
-
-#define GUM_DBUS_TYPE_GROUP_SERVICE (gum_dbus_group_service_get_type ())
-#define GUM_DBUS_GROUP_SERVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_GROUP_SERVICE, GumDbusGroupService))
-#define GUM_DBUS_IS_GROUP_SERVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_GROUP_SERVICE))
-#define GUM_DBUS_GROUP_SERVICE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GUM_DBUS_TYPE_GROUP_SERVICE, GumDbusGroupServiceIface))
-
-struct _GumDbusGroupService;
-typedef struct _GumDbusGroupService GumDbusGroupService;
-typedef struct _GumDbusGroupServiceIface GumDbusGroupServiceIface;
-
-struct _GumDbusGroupServiceIface
-{
- GTypeInterface parent_iface;
-
-
- gboolean (*handle_create_new_group) (
- GumDbusGroupService *object,
- GDBusMethodInvocation *invocation);
-
- gboolean (*handle_get_group) (
- GumDbusGroupService *object,
- GDBusMethodInvocation *invocation,
- guint arg_gid);
-
- gboolean (*handle_get_group_by_name) (
- GumDbusGroupService *object,
- GDBusMethodInvocation *invocation,
- const gchar *arg_groupname);
-
- void (*group_added) (
- GumDbusGroupService *object,
- guint arg_gid);
-
- void (*group_deleted) (
- GumDbusGroupService *object,
- guint arg_gid);
-
- void (*group_updated) (
- GumDbusGroupService *object,
- guint arg_gid);
-
-};
-
-GType gum_dbus_group_service_get_type (void) G_GNUC_CONST;
-
-GDBusInterfaceInfo *gum_dbus_group_service_interface_info (void);
-guint gum_dbus_group_service_override_properties (GObjectClass *klass, guint property_id_begin);
-
-
-/* D-Bus method call completion functions: */
-void gum_dbus_group_service_complete_create_new_group (
- GumDbusGroupService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath);
-
-void gum_dbus_group_service_complete_get_group (
- GumDbusGroupService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath);
-
-void gum_dbus_group_service_complete_get_group_by_name (
- GumDbusGroupService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath);
-
-
-
-/* D-Bus signal emissions functions: */
-void gum_dbus_group_service_emit_group_added (
- GumDbusGroupService *object,
- guint arg_gid);
-
-void gum_dbus_group_service_emit_group_deleted (
- GumDbusGroupService *object,
- guint arg_gid);
-
-void gum_dbus_group_service_emit_group_updated (
- GumDbusGroupService *object,
- guint arg_gid);
-
-
-
-/* D-Bus method calls: */
-void gum_dbus_group_service_call_create_new_group (
- GumDbusGroupService *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_group_service_call_create_new_group_finish (
- GumDbusGroupService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_group_service_call_create_new_group_sync (
- GumDbusGroupService *proxy,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_group_service_call_get_group (
- GumDbusGroupService *proxy,
- guint arg_gid,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_group_service_call_get_group_finish (
- GumDbusGroupService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_group_service_call_get_group_sync (
- GumDbusGroupService *proxy,
- guint arg_gid,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_group_service_call_get_group_by_name (
- GumDbusGroupService *proxy,
- const gchar *arg_groupname,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_group_service_call_get_group_by_name_finish (
- GumDbusGroupService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_group_service_call_get_group_by_name_sync (
- GumDbusGroupService *proxy,
- const gchar *arg_groupname,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error);
-
-
-
-/* ---- */
-
-#define GUM_DBUS_TYPE_GROUP_SERVICE_PROXY (gum_dbus_group_service_proxy_get_type ())
-#define GUM_DBUS_GROUP_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_GROUP_SERVICE_PROXY, GumDbusGroupServiceProxy))
-#define GUM_DBUS_GROUP_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GUM_DBUS_TYPE_GROUP_SERVICE_PROXY, GumDbusGroupServiceProxyClass))
-#define GUM_DBUS_GROUP_SERVICE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUM_DBUS_TYPE_GROUP_SERVICE_PROXY, GumDbusGroupServiceProxyClass))
-#define GUM_DBUS_IS_GROUP_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_GROUP_SERVICE_PROXY))
-#define GUM_DBUS_IS_GROUP_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUM_DBUS_TYPE_GROUP_SERVICE_PROXY))
-
-typedef struct _GumDbusGroupServiceProxy GumDbusGroupServiceProxy;
-typedef struct _GumDbusGroupServiceProxyClass GumDbusGroupServiceProxyClass;
-typedef struct _GumDbusGroupServiceProxyPrivate GumDbusGroupServiceProxyPrivate;
-
-struct _GumDbusGroupServiceProxy
-{
- /*< private >*/
- GDBusProxy parent_instance;
- GumDbusGroupServiceProxyPrivate *priv;
-};
-
-struct _GumDbusGroupServiceProxyClass
-{
- GDBusProxyClass parent_class;
-};
-
-GType gum_dbus_group_service_proxy_get_type (void) G_GNUC_CONST;
-
-void gum_dbus_group_service_proxy_new (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-GumDbusGroupService *gum_dbus_group_service_proxy_new_finish (
- GAsyncResult *res,
- GError **error);
-GumDbusGroupService *gum_dbus_group_service_proxy_new_sync (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_group_service_proxy_new_for_bus (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-GumDbusGroupService *gum_dbus_group_service_proxy_new_for_bus_finish (
- GAsyncResult *res,
- GError **error);
-GumDbusGroupService *gum_dbus_group_service_proxy_new_for_bus_sync (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error);
-
-
-/* ---- */
-
-#define GUM_DBUS_TYPE_GROUP_SERVICE_SKELETON (gum_dbus_group_service_skeleton_get_type ())
-#define GUM_DBUS_GROUP_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_GROUP_SERVICE_SKELETON, GumDbusGroupServiceSkeleton))
-#define GUM_DBUS_GROUP_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GUM_DBUS_TYPE_GROUP_SERVICE_SKELETON, GumDbusGroupServiceSkeletonClass))
-#define GUM_DBUS_GROUP_SERVICE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUM_DBUS_TYPE_GROUP_SERVICE_SKELETON, GumDbusGroupServiceSkeletonClass))
-#define GUM_DBUS_IS_GROUP_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_GROUP_SERVICE_SKELETON))
-#define GUM_DBUS_IS_GROUP_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUM_DBUS_TYPE_GROUP_SERVICE_SKELETON))
-
-typedef struct _GumDbusGroupServiceSkeleton GumDbusGroupServiceSkeleton;
-typedef struct _GumDbusGroupServiceSkeletonClass GumDbusGroupServiceSkeletonClass;
-typedef struct _GumDbusGroupServiceSkeletonPrivate GumDbusGroupServiceSkeletonPrivate;
-
-struct _GumDbusGroupServiceSkeleton
-{
- /*< private >*/
- GDBusInterfaceSkeleton parent_instance;
- GumDbusGroupServiceSkeletonPrivate *priv;
-};
-
-struct _GumDbusGroupServiceSkeletonClass
-{
- GDBusInterfaceSkeletonClass parent_class;
-};
-
-GType gum_dbus_group_service_skeleton_get_type (void) G_GNUC_CONST;
-
-GumDbusGroupService *gum_dbus_group_service_skeleton_new (void);
-
-
-G_END_DECLS
-
-#endif /* __GUM_DBUS_GROUP_SERVICE_GEN_H__ */
+++ /dev/null
-/*
- * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
- *
- * The license of this code is the same as for the source it was derived from.
- */
-
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include "gum-dbus-user-gen.h"
-
-#include <string.h>
-#ifdef G_OS_UNIX
-# include <gio/gunixfdlist.h>
-#endif
-
-typedef struct
-{
- GDBusArgInfo parent_struct;
- gboolean use_gvariant;
-} _ExtendedGDBusArgInfo;
-
-typedef struct
-{
- GDBusMethodInfo parent_struct;
- const gchar *signal_name;
- gboolean pass_fdlist;
-} _ExtendedGDBusMethodInfo;
-
-typedef struct
-{
- GDBusSignalInfo parent_struct;
- const gchar *signal_name;
-} _ExtendedGDBusSignalInfo;
-
-typedef struct
-{
- GDBusPropertyInfo parent_struct;
- const gchar *hyphen_name;
- gboolean use_gvariant;
-} _ExtendedGDBusPropertyInfo;
-
-typedef struct
-{
- GDBusInterfaceInfo parent_struct;
- const gchar *hyphen_name;
-} _ExtendedGDBusInterfaceInfo;
-
-typedef struct
-{
- const _ExtendedGDBusPropertyInfo *info;
- guint prop_id;
- GValue orig_value; /* the value before the change */
-} ChangedProperty;
-
-static void
-_changed_property_free (ChangedProperty *data)
-{
- g_value_unset (&data->orig_value);
- g_free (data);
-}
-
-static gboolean
-_g_strv_equal0 (gchar **a, gchar **b)
-{
- gboolean ret = FALSE;
- guint n;
- if (a == NULL && b == NULL)
- {
- ret = TRUE;
- goto out;
- }
- if (a == NULL || b == NULL)
- goto out;
- if (g_strv_length (a) != g_strv_length (b))
- goto out;
- for (n = 0; a[n] != NULL; n++)
- if (g_strcmp0 (a[n], b[n]) != 0)
- goto out;
- ret = TRUE;
-out:
- return ret;
-}
-
-static gboolean
-_g_variant_equal0 (GVariant *a, GVariant *b)
-{
- gboolean ret = FALSE;
- if (a == NULL && b == NULL)
- {
- ret = TRUE;
- goto out;
- }
- if (a == NULL || b == NULL)
- goto out;
- ret = g_variant_equal (a, b);
-out:
- return ret;
-}
-
-G_GNUC_UNUSED static gboolean
-_g_value_equal (const GValue *a, const GValue *b)
-{
- gboolean ret = FALSE;
- g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
- switch (G_VALUE_TYPE (a))
- {
- case G_TYPE_BOOLEAN:
- ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
- break;
- case G_TYPE_UCHAR:
- ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
- break;
- case G_TYPE_INT:
- ret = (g_value_get_int (a) == g_value_get_int (b));
- break;
- case G_TYPE_UINT:
- ret = (g_value_get_uint (a) == g_value_get_uint (b));
- break;
- case G_TYPE_INT64:
- ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
- break;
- case G_TYPE_UINT64:
- ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
- break;
- case G_TYPE_DOUBLE:
- {
- /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
- gdouble da = g_value_get_double (a);
- gdouble db = g_value_get_double (b);
- ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
- }
- break;
- case G_TYPE_STRING:
- ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
- break;
- case G_TYPE_VARIANT:
- ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
- break;
- default:
- if (G_VALUE_TYPE (a) == G_TYPE_STRV)
- ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
- else
- g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
- break;
- }
- return ret;
-}
-
-/* ------------------------------------------------------------------------
- * Code for interface org.tizen.SecurityAccounts.gUserManagement.User
- * ------------------------------------------------------------------------
- */
-
-/**
- * SECTION:GumDbusUser
- * @title: GumDbusUser
- * @short_description: Generated C code for the org.tizen.SecurityAccounts.gUserManagement.User D-Bus interface
- *
- * This section contains code for working with the <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-User.top_of_page">org.tizen.SecurityAccounts.gUserManagement.User</link> D-Bus interface in C.
- */
-
-/* ---- Introspection data for org.tizen.SecurityAccounts.gUserManagement.User ---- */
-
-static const _ExtendedGDBusArgInfo _gum_dbus_user_method_info_add_user_OUT_ARG_uid =
-{
- {
- -1,
- "uid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_user_method_info_add_user_OUT_ARG_pointers[] =
-{
- &_gum_dbus_user_method_info_add_user_OUT_ARG_uid,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_user_method_info_add_user =
-{
- {
- -1,
- "addUser",
- NULL,
- (GDBusArgInfo **) &_gum_dbus_user_method_info_add_user_OUT_ARG_pointers,
- NULL
- },
- "handle-add-user",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_user_method_info_delete_user_IN_ARG_rem_home_dir =
-{
- {
- -1,
- "rem_home_dir",
- "b",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_user_method_info_delete_user_IN_ARG_pointers[] =
-{
- &_gum_dbus_user_method_info_delete_user_IN_ARG_rem_home_dir,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_user_method_info_delete_user =
-{
- {
- -1,
- "deleteUser",
- (GDBusArgInfo **) &_gum_dbus_user_method_info_delete_user_IN_ARG_pointers,
- NULL,
- NULL
- },
- "handle-delete-user",
- FALSE
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_user_method_info_update_user =
-{
- {
- -1,
- "updateUser",
- NULL,
- NULL,
- NULL
- },
- "handle-update-user",
- FALSE
-};
-
-static const _ExtendedGDBusMethodInfo * const _gum_dbus_user_method_info_pointers[] =
-{
- &_gum_dbus_user_method_info_add_user,
- &_gum_dbus_user_method_info_delete_user,
- &_gum_dbus_user_method_info_update_user,
- NULL
-};
-
-static const _ExtendedGDBusSignalInfo _gum_dbus_user_signal_info_unregistered =
-{
- {
- -1,
- "unregistered",
- NULL,
- NULL
- },
- "unregistered"
-};
-
-static const _ExtendedGDBusSignalInfo * const _gum_dbus_user_signal_info_pointers[] =
-{
- &_gum_dbus_user_signal_info_unregistered,
- NULL
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_uid =
-{
- {
- -1,
- "uid",
- "u",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "uid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_gid =
-{
- {
- -1,
- "gid",
- "u",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "gid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_usertype =
-{
- {
- -1,
- "usertype",
- "q",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "usertype",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_nickname =
-{
- {
- -1,
- "nickname",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "nickname",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_username =
-{
- {
- -1,
- "username",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "username",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_secret =
-{
- {
- -1,
- "secret",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "secret",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_realname =
-{
- {
- -1,
- "realname",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "realname",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_office =
-{
- {
- -1,
- "office",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "office",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_officephone =
-{
- {
- -1,
- "officephone",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "officephone",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_homephone =
-{
- {
- -1,
- "homephone",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "homephone",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_homedir =
-{
- {
- -1,
- "homedir",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "homedir",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _gum_dbus_user_property_info_shell =
-{
- {
- -1,
- "shell",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE,
- NULL
- },
- "shell",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo * const _gum_dbus_user_property_info_pointers[] =
-{
- &_gum_dbus_user_property_info_uid,
- &_gum_dbus_user_property_info_gid,
- &_gum_dbus_user_property_info_usertype,
- &_gum_dbus_user_property_info_nickname,
- &_gum_dbus_user_property_info_username,
- &_gum_dbus_user_property_info_secret,
- &_gum_dbus_user_property_info_realname,
- &_gum_dbus_user_property_info_office,
- &_gum_dbus_user_property_info_officephone,
- &_gum_dbus_user_property_info_homephone,
- &_gum_dbus_user_property_info_homedir,
- &_gum_dbus_user_property_info_shell,
- NULL
-};
-
-static const _ExtendedGDBusInterfaceInfo _gum_dbus_user_interface_info =
-{
- {
- -1,
- "org.tizen.SecurityAccounts.gUserManagement.User",
- (GDBusMethodInfo **) &_gum_dbus_user_method_info_pointers,
- (GDBusSignalInfo **) &_gum_dbus_user_signal_info_pointers,
- (GDBusPropertyInfo **) &_gum_dbus_user_property_info_pointers,
- NULL
- },
- "user",
-};
-
-
-/**
- * gum_dbus_user_interface_info:
- *
- * Gets a machine-readable description of the <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-User.top_of_page">org.tizen.SecurityAccounts.gUserManagement.User</link> D-Bus interface.
- *
- * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
- */
-GDBusInterfaceInfo *
-gum_dbus_user_interface_info (void)
-{
- return (GDBusInterfaceInfo *) &_gum_dbus_user_interface_info;
-}
-
-/**
- * gum_dbus_user_override_properties:
- * @klass: The class structure for a #GObject<!-- -->-derived class.
- * @property_id_begin: The property id to assign to the first overridden property.
- *
- * Overrides all #GObject properties in the #GumDbusUser interface for a concrete class.
- * The properties are overridden in the order they are defined.
- *
- * Returns: The last property id.
- */
-guint
-gum_dbus_user_override_properties (GObjectClass *klass, guint property_id_begin)
-{
- g_object_class_override_property (klass, property_id_begin++, "uid");
- g_object_class_override_property (klass, property_id_begin++, "gid");
- g_object_class_override_property (klass, property_id_begin++, "usertype");
- g_object_class_override_property (klass, property_id_begin++, "nickname");
- g_object_class_override_property (klass, property_id_begin++, "username");
- g_object_class_override_property (klass, property_id_begin++, "secret");
- g_object_class_override_property (klass, property_id_begin++, "realname");
- g_object_class_override_property (klass, property_id_begin++, "office");
- g_object_class_override_property (klass, property_id_begin++, "officephone");
- g_object_class_override_property (klass, property_id_begin++, "homephone");
- g_object_class_override_property (klass, property_id_begin++, "homedir");
- g_object_class_override_property (klass, property_id_begin++, "shell");
- return property_id_begin - 1;
-}
-
-
-
-/**
- * GumDbusUser:
- *
- * Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-User.top_of_page">org.tizen.SecurityAccounts.gUserManagement.User</link>.
- */
-
-/**
- * GumDbusUserIface:
- * @parent_iface: The parent interface.
- * @handle_add_user: Handler for the #GumDbusUser::handle-add-user signal.
- * @handle_delete_user: Handler for the #GumDbusUser::handle-delete-user signal.
- * @handle_update_user: Handler for the #GumDbusUser::handle-update-user signal.
- * @get_gid: Getter for the #GumDbusUser:gid property.
- * @get_homedir: Getter for the #GumDbusUser:homedir property.
- * @get_homephone: Getter for the #GumDbusUser:homephone property.
- * @get_nickname: Getter for the #GumDbusUser:nickname property.
- * @get_office: Getter for the #GumDbusUser:office property.
- * @get_officephone: Getter for the #GumDbusUser:officephone property.
- * @get_realname: Getter for the #GumDbusUser:realname property.
- * @get_secret: Getter for the #GumDbusUser:secret property.
- * @get_shell: Getter for the #GumDbusUser:shell property.
- * @get_uid: Getter for the #GumDbusUser:uid property.
- * @get_username: Getter for the #GumDbusUser:username property.
- * @get_usertype: Getter for the #GumDbusUser:usertype property.
- * @unregistered: Handler for the #GumDbusUser::unregistered signal.
- *
- * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-User.top_of_page">org.tizen.SecurityAccounts.gUserManagement.User</link>.
- */
-
-static void
-gum_dbus_user_default_init (GumDbusUserIface *iface)
-{
- /* GObject signals for incoming D-Bus method calls: */
- /**
- * GumDbusUser::handle-add-user:
- * @object: A #GumDbusUser.
- * @invocation: A #GDBusMethodInvocation.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.addUser">addUser()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_user_complete_add_user() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-add-user",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusUserIface, handle_add_user),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 1,
- G_TYPE_DBUS_METHOD_INVOCATION);
-
- /**
- * GumDbusUser::handle-delete-user:
- * @object: A #GumDbusUser.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_rem_home_dir: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.deleteUser">deleteUser()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_user_complete_delete_user() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-delete-user",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusUserIface, handle_delete_user),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN);
-
- /**
- * GumDbusUser::handle-update-user:
- * @object: A #GumDbusUser.
- * @invocation: A #GDBusMethodInvocation.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.updateUser">updateUser()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_user_complete_update_user() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-update-user",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusUserIface, handle_update_user),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 1,
- G_TYPE_DBUS_METHOD_INVOCATION);
-
- /* GObject signals for received D-Bus signals: */
- /**
- * GumDbusUser::unregistered:
- * @object: A #GumDbusUser.
- *
- * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-User.unregistered">"unregistered"</link> is received.
- *
- * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- */
- g_signal_new ("unregistered",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusUserIface, unregistered),
- NULL,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_NONE,
- 0);
-
- /* GObject properties for D-Bus properties: */
- /**
- * GumDbusUser:uid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.uid">"uid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("uid", "uid", "uid", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusUser:gid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.gid">"gid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("gid", "gid", "gid", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusUser:usertype:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.usertype">"usertype"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("usertype", "usertype", "usertype", 0, G_MAXUINT16, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusUser:nickname:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.nickname">"nickname"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("nickname", "nickname", "nickname", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusUser:username:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.username">"username"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("username", "username", "username", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusUser:secret:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.secret">"secret"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("secret", "secret", "secret", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusUser:realname:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.realname">"realname"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("realname", "realname", "realname", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusUser:office:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.office">"office"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("office", "office", "office", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusUser:officephone:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.officephone">"officephone"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("officephone", "officephone", "officephone", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusUser:homephone:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.homephone">"homephone"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("homephone", "homephone", "homephone", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusUser:homedir:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.homedir">"homedir"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("homedir", "homedir", "homedir", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * GumDbusUser:shell:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.shell">"shell"</link>.
- *
- * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("shell", "shell", "shell", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
-}
-
-typedef GumDbusUserIface GumDbusUserInterface;
-G_DEFINE_INTERFACE (GumDbusUser, gum_dbus_user, G_TYPE_OBJECT);
-
-/**
- * gum_dbus_user_get_uid: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.uid">"uid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint
-gum_dbus_user_get_uid (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_uid (object);
-}
-
-/**
- * gum_dbus_user_set_uid: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.uid">"uid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-gum_dbus_user_set_uid (GumDbusUser *object, guint value)
-{
- g_object_set (G_OBJECT (object), "uid", value, NULL);
-}
-
-/**
- * gum_dbus_user_get_gid: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.gid">"gid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint
-gum_dbus_user_get_gid (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_gid (object);
-}
-
-/**
- * gum_dbus_user_set_gid: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.gid">"gid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-gum_dbus_user_set_gid (GumDbusUser *object, guint value)
-{
- g_object_set (G_OBJECT (object), "gid", value, NULL);
-}
-
-/**
- * gum_dbus_user_get_usertype: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.usertype">"usertype"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint16
-gum_dbus_user_get_usertype (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_usertype (object);
-}
-
-/**
- * gum_dbus_user_set_usertype: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.usertype">"usertype"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_user_set_usertype (GumDbusUser *object, guint16 value)
-{
- g_object_set (G_OBJECT (object), "usertype", value, NULL);
-}
-
-/**
- * gum_dbus_user_get_nickname: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.nickname">"nickname"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gum_dbus_user_dup_nickname() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-gum_dbus_user_get_nickname (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_nickname (object);
-}
-
-/**
- * gum_dbus_user_dup_nickname: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.nickname">"nickname"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-gum_dbus_user_dup_nickname (GumDbusUser *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "nickname", &value, NULL);
- return value;
-}
-
-/**
- * gum_dbus_user_set_nickname: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.nickname">"nickname"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_user_set_nickname (GumDbusUser *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "nickname", value, NULL);
-}
-
-/**
- * gum_dbus_user_get_username: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.username">"username"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gum_dbus_user_dup_username() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-gum_dbus_user_get_username (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_username (object);
-}
-
-/**
- * gum_dbus_user_dup_username: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.username">"username"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-gum_dbus_user_dup_username (GumDbusUser *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "username", &value, NULL);
- return value;
-}
-
-/**
- * gum_dbus_user_set_username: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.username">"username"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_user_set_username (GumDbusUser *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "username", value, NULL);
-}
-
-/**
- * gum_dbus_user_get_secret: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.secret">"secret"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gum_dbus_user_dup_secret() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-gum_dbus_user_get_secret (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_secret (object);
-}
-
-/**
- * gum_dbus_user_dup_secret: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.secret">"secret"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-gum_dbus_user_dup_secret (GumDbusUser *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "secret", &value, NULL);
- return value;
-}
-
-/**
- * gum_dbus_user_set_secret: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.secret">"secret"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_user_set_secret (GumDbusUser *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "secret", value, NULL);
-}
-
-/**
- * gum_dbus_user_get_realname: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.realname">"realname"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gum_dbus_user_dup_realname() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-gum_dbus_user_get_realname (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_realname (object);
-}
-
-/**
- * gum_dbus_user_dup_realname: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.realname">"realname"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-gum_dbus_user_dup_realname (GumDbusUser *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "realname", &value, NULL);
- return value;
-}
-
-/**
- * gum_dbus_user_set_realname: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.realname">"realname"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_user_set_realname (GumDbusUser *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "realname", value, NULL);
-}
-
-/**
- * gum_dbus_user_get_office: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.office">"office"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gum_dbus_user_dup_office() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-gum_dbus_user_get_office (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_office (object);
-}
-
-/**
- * gum_dbus_user_dup_office: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.office">"office"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-gum_dbus_user_dup_office (GumDbusUser *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "office", &value, NULL);
- return value;
-}
-
-/**
- * gum_dbus_user_set_office: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.office">"office"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_user_set_office (GumDbusUser *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "office", value, NULL);
-}
-
-/**
- * gum_dbus_user_get_officephone: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.officephone">"officephone"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gum_dbus_user_dup_officephone() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-gum_dbus_user_get_officephone (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_officephone (object);
-}
-
-/**
- * gum_dbus_user_dup_officephone: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.officephone">"officephone"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-gum_dbus_user_dup_officephone (GumDbusUser *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "officephone", &value, NULL);
- return value;
-}
-
-/**
- * gum_dbus_user_set_officephone: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.officephone">"officephone"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_user_set_officephone (GumDbusUser *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "officephone", value, NULL);
-}
-
-/**
- * gum_dbus_user_get_homephone: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.homephone">"homephone"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gum_dbus_user_dup_homephone() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-gum_dbus_user_get_homephone (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_homephone (object);
-}
-
-/**
- * gum_dbus_user_dup_homephone: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.homephone">"homephone"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-gum_dbus_user_dup_homephone (GumDbusUser *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "homephone", &value, NULL);
- return value;
-}
-
-/**
- * gum_dbus_user_set_homephone: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.homephone">"homephone"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_user_set_homephone (GumDbusUser *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "homephone", value, NULL);
-}
-
-/**
- * gum_dbus_user_get_homedir: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.homedir">"homedir"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gum_dbus_user_dup_homedir() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-gum_dbus_user_get_homedir (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_homedir (object);
-}
-
-/**
- * gum_dbus_user_dup_homedir: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.homedir">"homedir"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-gum_dbus_user_dup_homedir (GumDbusUser *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "homedir", &value, NULL);
- return value;
-}
-
-/**
- * gum_dbus_user_set_homedir: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.homedir">"homedir"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_user_set_homedir (GumDbusUser *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "homedir", value, NULL);
-}
-
-/**
- * gum_dbus_user_get_shell: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets the value of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.shell">"shell"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use gum_dbus_user_dup_shell() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-gum_dbus_user_get_shell (GumDbusUser *object)
-{
- return GUM_DBUS_USER_GET_IFACE (object)->get_shell (object);
-}
-
-/**
- * gum_dbus_user_dup_shell: (skip)
- * @object: A #GumDbusUser.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.shell">"shell"</link> D-Bus property.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-gum_dbus_user_dup_shell (GumDbusUser *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "shell", &value, NULL);
- return value;
-}
-
-/**
- * gum_dbus_user_set_shell: (skip)
- * @object: A #GumDbusUser.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-tizen-SecurityAccounts-gUserManagement-User.shell">"shell"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
- */
-void
-gum_dbus_user_set_shell (GumDbusUser *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "shell", value, NULL);
-}
-
-/**
- * gum_dbus_user_emit_unregistered:
- * @object: A #GumDbusUser.
- *
- * Emits the <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-User.unregistered">"unregistered"</link> D-Bus signal.
- */
-void
-gum_dbus_user_emit_unregistered (
- GumDbusUser *object)
-{
- g_signal_emit_by_name (object, "unregistered");
-}
-
-/**
- * gum_dbus_user_call_add_user:
- * @proxy: A #GumDbusUserProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.addUser">addUser()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_user_call_add_user_finish() to get the result of the operation.
- *
- * See gum_dbus_user_call_add_user_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_user_call_add_user (
- GumDbusUser *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "addUser",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_user_call_add_user_finish:
- * @proxy: A #GumDbusUserProxy.
- * @out_uid: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_user_call_add_user().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_user_call_add_user().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_call_add_user_finish (
- GumDbusUser *proxy,
- guint *out_uid,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(u)",
- out_uid);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_call_add_user_sync:
- * @proxy: A #GumDbusUserProxy.
- * @out_uid: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.addUser">addUser()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_user_call_add_user() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_call_add_user_sync (
- GumDbusUser *proxy,
- guint *out_uid,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "addUser",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(u)",
- out_uid);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_call_delete_user:
- * @proxy: A #GumDbusUserProxy.
- * @arg_rem_home_dir: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.deleteUser">deleteUser()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_user_call_delete_user_finish() to get the result of the operation.
- *
- * See gum_dbus_user_call_delete_user_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_user_call_delete_user (
- GumDbusUser *proxy,
- gboolean arg_rem_home_dir,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "deleteUser",
- g_variant_new ("(b)",
- arg_rem_home_dir),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_user_call_delete_user_finish:
- * @proxy: A #GumDbusUserProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_user_call_delete_user().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_user_call_delete_user().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_call_delete_user_finish (
- GumDbusUser *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_call_delete_user_sync:
- * @proxy: A #GumDbusUserProxy.
- * @arg_rem_home_dir: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.deleteUser">deleteUser()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_user_call_delete_user() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_call_delete_user_sync (
- GumDbusUser *proxy,
- gboolean arg_rem_home_dir,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "deleteUser",
- g_variant_new ("(b)",
- arg_rem_home_dir),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_call_update_user:
- * @proxy: A #GumDbusUserProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.updateUser">updateUser()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_user_call_update_user_finish() to get the result of the operation.
- *
- * See gum_dbus_user_call_update_user_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_user_call_update_user (
- GumDbusUser *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "updateUser",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_user_call_update_user_finish:
- * @proxy: A #GumDbusUserProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_user_call_update_user().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_user_call_update_user().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_call_update_user_finish (
- GumDbusUser *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_call_update_user_sync:
- * @proxy: A #GumDbusUserProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.updateUser">updateUser()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_user_call_update_user() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_call_update_user_sync (
- GumDbusUser *proxy,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "updateUser",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_complete_add_user:
- * @object: A #GumDbusUser.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- * @uid: Parameter to return.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.addUser">addUser()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_user_complete_add_user (
- GumDbusUser *object,
- GDBusMethodInvocation *invocation,
- guint uid)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("(u)",
- uid));
-}
-
-/**
- * gum_dbus_user_complete_delete_user:
- * @object: A #GumDbusUser.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.deleteUser">deleteUser()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_user_complete_delete_user (
- GumDbusUser *object,
- GDBusMethodInvocation *invocation)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("()"));
-}
-
-/**
- * gum_dbus_user_complete_update_user:
- * @object: A #GumDbusUser.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-User.updateUser">updateUser()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_user_complete_update_user (
- GumDbusUser *object,
- GDBusMethodInvocation *invocation)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("()"));
-}
-
-/* ------------------------------------------------------------------------ */
-
-/**
- * GumDbusUserProxy:
- *
- * The #GumDbusUserProxy structure contains only private data and should only be accessed using the provided API.
- */
-
-/**
- * GumDbusUserProxyClass:
- * @parent_class: The parent class.
- *
- * Class structure for #GumDbusUserProxy.
- */
-
-struct _GumDbusUserProxyPrivate
-{
- GData *qdata;
-};
-
-static void gum_dbus_user_proxy_iface_init (GumDbusUserIface *iface);
-
-G_DEFINE_TYPE_WITH_CODE (GumDbusUserProxy, gum_dbus_user_proxy, G_TYPE_DBUS_PROXY,
- G_IMPLEMENT_INTERFACE (GUM_DBUS_TYPE_USER, gum_dbus_user_proxy_iface_init));
-
-static void
-gum_dbus_user_proxy_finalize (GObject *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- g_datalist_clear (&proxy->priv->qdata);
- G_OBJECT_CLASS (gum_dbus_user_proxy_parent_class)->finalize (object);
-}
-
-static void
-gum_dbus_user_proxy_get_property (GObject *object,
- guint prop_id,
- GValue *value,
- GParamSpec *pspec)
-{
- const _ExtendedGDBusPropertyInfo *info;
- GVariant *variant;
- g_assert (prop_id != 0 && prop_id - 1 < 12);
- info = _gum_dbus_user_property_info_pointers[prop_id - 1];
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
- if (info->use_gvariant)
- {
- g_value_set_variant (value, variant);
- }
- else
- {
- if (variant != NULL)
- g_dbus_gvariant_to_gvalue (variant, value);
- }
- if (variant != NULL)
- g_variant_unref (variant);
-}
-
-static void
-gum_dbus_user_proxy_set_property_cb (GDBusProxy *proxy,
- GAsyncResult *res,
- gpointer user_data)
-{
- const _ExtendedGDBusPropertyInfo *info = user_data;
- GError *error;
- error = NULL;
- if (!g_dbus_proxy_call_finish (proxy, res, &error))
- {
- g_warning ("Error setting property `%s' on interface org.tizen.SecurityAccounts.gUserManagement.User: %s (%s, %d)",
- info->parent_struct.name,
- error->message, g_quark_to_string (error->domain), error->code);
- g_error_free (error);
- }
-}
-
-static void
-gum_dbus_user_proxy_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- const _ExtendedGDBusPropertyInfo *info;
- GVariant *variant;
- g_assert (prop_id != 0 && prop_id - 1 < 12);
- info = _gum_dbus_user_property_info_pointers[prop_id - 1];
- variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
- g_dbus_proxy_call (G_DBUS_PROXY (object),
- "org.freedesktop.DBus.Properties.Set",
- g_variant_new ("(ssv)", "org.tizen.SecurityAccounts.gUserManagement.User", info->parent_struct.name, variant),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- NULL, (GAsyncReadyCallback) gum_dbus_user_proxy_set_property_cb, (gpointer) info);
- g_variant_unref (variant);
-}
-
-static void
-gum_dbus_user_proxy_g_signal (GDBusProxy *proxy,
- const gchar *sender_name,
- const gchar *signal_name,
- GVariant *parameters)
-{
- _ExtendedGDBusSignalInfo *info;
- GVariantIter iter;
- GVariant *child;
- GValue *paramv;
- guint num_params;
- guint n;
- guint signal_id;
- info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_gum_dbus_user_interface_info, signal_name);
- if (info == NULL)
- return;
- num_params = g_variant_n_children (parameters);
- paramv = g_new0 (GValue, num_params + 1);
- g_value_init (¶mv[0], GUM_DBUS_TYPE_USER);
- g_value_set_object (¶mv[0], proxy);
- g_variant_iter_init (&iter, parameters);
- n = 1;
- while ((child = g_variant_iter_next_value (&iter)) != NULL)
- {
- _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
- if (arg_info->use_gvariant)
- {
- g_value_init (¶mv[n], G_TYPE_VARIANT);
- g_value_set_variant (¶mv[n], child);
- n++;
- }
- else
- g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
- g_variant_unref (child);
- }
- signal_id = g_signal_lookup (info->signal_name, GUM_DBUS_TYPE_USER);
- g_signal_emitv (paramv, signal_id, 0, NULL);
- for (n = 0; n < num_params + 1; n++)
- g_value_unset (¶mv[n]);
- g_free (paramv);
-}
-
-static void
-gum_dbus_user_proxy_g_properties_changed (GDBusProxy *_proxy,
- GVariant *changed_properties,
- const gchar *const *invalidated_properties)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (_proxy);
- guint n;
- const gchar *key;
- GVariantIter *iter;
- _ExtendedGDBusPropertyInfo *info;
- g_variant_get (changed_properties, "a{sv}", &iter);
- while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
- {
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_user_interface_info, key);
- g_datalist_remove_data (&proxy->priv->qdata, key);
- if (info != NULL)
- g_object_notify (G_OBJECT (proxy), info->hyphen_name);
- }
- g_variant_iter_free (iter);
- for (n = 0; invalidated_properties[n] != NULL; n++)
- {
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_user_interface_info, invalidated_properties[n]);
- g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
- if (info != NULL)
- g_object_notify (G_OBJECT (proxy), info->hyphen_name);
- }
-}
-
-static guint
-gum_dbus_user_proxy_get_uid (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- guint value = 0;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "uid");
- if (variant != NULL)
- {
- value = g_variant_get_uint32 (variant);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static guint
-gum_dbus_user_proxy_get_gid (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- guint value = 0;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "gid");
- if (variant != NULL)
- {
- value = g_variant_get_uint32 (variant);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static guint16
-gum_dbus_user_proxy_get_usertype (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- guint16 value = 0;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "usertype");
- if (variant != NULL)
- {
- value = g_variant_get_uint16 (variant);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static const gchar *
-gum_dbus_user_proxy_get_nickname (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- const gchar *value = NULL;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "nickname");
- if (variant != NULL)
- {
- value = g_variant_get_string (variant, NULL);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static const gchar *
-gum_dbus_user_proxy_get_username (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- const gchar *value = NULL;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "username");
- if (variant != NULL)
- {
- value = g_variant_get_string (variant, NULL);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static const gchar *
-gum_dbus_user_proxy_get_secret (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- const gchar *value = NULL;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "secret");
- if (variant != NULL)
- {
- value = g_variant_get_string (variant, NULL);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static const gchar *
-gum_dbus_user_proxy_get_realname (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- const gchar *value = NULL;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "realname");
- if (variant != NULL)
- {
- value = g_variant_get_string (variant, NULL);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static const gchar *
-gum_dbus_user_proxy_get_office (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- const gchar *value = NULL;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "office");
- if (variant != NULL)
- {
- value = g_variant_get_string (variant, NULL);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static const gchar *
-gum_dbus_user_proxy_get_officephone (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- const gchar *value = NULL;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "officephone");
- if (variant != NULL)
- {
- value = g_variant_get_string (variant, NULL);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static const gchar *
-gum_dbus_user_proxy_get_homephone (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- const gchar *value = NULL;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "homephone");
- if (variant != NULL)
- {
- value = g_variant_get_string (variant, NULL);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static const gchar *
-gum_dbus_user_proxy_get_homedir (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- const gchar *value = NULL;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "homedir");
- if (variant != NULL)
- {
- value = g_variant_get_string (variant, NULL);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static const gchar *
-gum_dbus_user_proxy_get_shell (GumDbusUser *object)
-{
- GumDbusUserProxy *proxy = GUM_DBUS_USER_PROXY (object);
- GVariant *variant;
- const gchar *value = NULL;
- variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "shell");
- if (variant != NULL)
- {
- value = g_variant_get_string (variant, NULL);
- g_variant_unref (variant);
- }
- return value;
-}
-
-static void
-gum_dbus_user_proxy_init (GumDbusUserProxy *proxy)
-{
- proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, GUM_DBUS_TYPE_USER_PROXY, GumDbusUserProxyPrivate);
- g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), gum_dbus_user_interface_info ());
-}
-
-static void
-gum_dbus_user_proxy_class_init (GumDbusUserProxyClass *klass)
-{
- GObjectClass *gobject_class;
- GDBusProxyClass *proxy_class;
-
- g_type_class_add_private (klass, sizeof (GumDbusUserProxyPrivate));
-
- gobject_class = G_OBJECT_CLASS (klass);
- gobject_class->finalize = gum_dbus_user_proxy_finalize;
- gobject_class->get_property = gum_dbus_user_proxy_get_property;
- gobject_class->set_property = gum_dbus_user_proxy_set_property;
-
- proxy_class = G_DBUS_PROXY_CLASS (klass);
- proxy_class->g_signal = gum_dbus_user_proxy_g_signal;
- proxy_class->g_properties_changed = gum_dbus_user_proxy_g_properties_changed;
-
-
- gum_dbus_user_override_properties (gobject_class, 1);
-}
-
-static void
-gum_dbus_user_proxy_iface_init (GumDbusUserIface *iface)
-{
- iface->get_uid = gum_dbus_user_proxy_get_uid;
- iface->get_gid = gum_dbus_user_proxy_get_gid;
- iface->get_usertype = gum_dbus_user_proxy_get_usertype;
- iface->get_nickname = gum_dbus_user_proxy_get_nickname;
- iface->get_username = gum_dbus_user_proxy_get_username;
- iface->get_secret = gum_dbus_user_proxy_get_secret;
- iface->get_realname = gum_dbus_user_proxy_get_realname;
- iface->get_office = gum_dbus_user_proxy_get_office;
- iface->get_officephone = gum_dbus_user_proxy_get_officephone;
- iface->get_homephone = gum_dbus_user_proxy_get_homephone;
- iface->get_homedir = gum_dbus_user_proxy_get_homedir;
- iface->get_shell = gum_dbus_user_proxy_get_shell;
-}
-
-/**
- * gum_dbus_user_proxy_new:
- * @connection: A #GDBusConnection.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-User.top_of_page">org.tizen.SecurityAccounts.gUserManagement.User</link>. See g_dbus_proxy_new() for more details.
- *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_user_proxy_new_finish() to get the result of the operation.
- *
- * See gum_dbus_user_proxy_new_sync() for the synchronous, blocking version of this constructor.
- */
-void
-gum_dbus_user_proxy_new (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_async_initable_new_async (GUM_DBUS_TYPE_USER_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.User", NULL);
-}
-
-/**
- * gum_dbus_user_proxy_new_finish:
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_user_proxy_new().
- * @error: Return location for error or %NULL
- *
- * Finishes an operation started with gum_dbus_user_proxy_new().
- *
- * Returns: (transfer full) (type GumDbusUserProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusUser *
-gum_dbus_user_proxy_new_finish (
- GAsyncResult *res,
- GError **error)
-{
- GObject *ret;
- GObject *source_object;
- source_object = g_async_result_get_source_object (res);
- ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
- g_object_unref (source_object);
- if (ret != NULL)
- return GUM_DBUS_USER (ret);
- else
- return NULL;
-}
-
-/**
- * gum_dbus_user_proxy_new_sync:
- * @connection: A #GDBusConnection.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL
- *
- * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-User.top_of_page">org.tizen.SecurityAccounts.gUserManagement.User</link>. See g_dbus_proxy_new_sync() for more details.
- *
- * The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_user_proxy_new() for the asynchronous version of this constructor.
- *
- * Returns: (transfer full) (type GumDbusUserProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusUser *
-gum_dbus_user_proxy_new_sync (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error)
-{
- GInitable *ret;
- ret = g_initable_new (GUM_DBUS_TYPE_USER_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.User", NULL);
- if (ret != NULL)
- return GUM_DBUS_USER (ret);
- else
- return NULL;
-}
-
-
-/**
- * gum_dbus_user_proxy_new_for_bus:
- * @bus_type: A #GBusType.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: A bus name (well-known or unique).
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
- * @user_data: User data to pass to @callback.
- *
- * Like gum_dbus_user_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
- *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_user_proxy_new_for_bus_finish() to get the result of the operation.
- *
- * See gum_dbus_user_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
- */
-void
-gum_dbus_user_proxy_new_for_bus (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_async_initable_new_async (GUM_DBUS_TYPE_USER_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.User", NULL);
-}
-
-/**
- * gum_dbus_user_proxy_new_for_bus_finish:
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_user_proxy_new_for_bus().
- * @error: Return location for error or %NULL
- *
- * Finishes an operation started with gum_dbus_user_proxy_new_for_bus().
- *
- * Returns: (transfer full) (type GumDbusUserProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusUser *
-gum_dbus_user_proxy_new_for_bus_finish (
- GAsyncResult *res,
- GError **error)
-{
- GObject *ret;
- GObject *source_object;
- source_object = g_async_result_get_source_object (res);
- ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
- g_object_unref (source_object);
- if (ret != NULL)
- return GUM_DBUS_USER (ret);
- else
- return NULL;
-}
-
-/**
- * gum_dbus_user_proxy_new_for_bus_sync:
- * @bus_type: A #GBusType.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: A bus name (well-known or unique).
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL
- *
- * Like gum_dbus_user_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
- *
- * The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_user_proxy_new_for_bus() for the asynchronous version of this constructor.
- *
- * Returns: (transfer full) (type GumDbusUserProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusUser *
-gum_dbus_user_proxy_new_for_bus_sync (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error)
-{
- GInitable *ret;
- ret = g_initable_new (GUM_DBUS_TYPE_USER_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.User", NULL);
- if (ret != NULL)
- return GUM_DBUS_USER (ret);
- else
- return NULL;
-}
-
-
-/* ------------------------------------------------------------------------ */
-
-/**
- * GumDbusUserSkeleton:
- *
- * The #GumDbusUserSkeleton structure contains only private data and should only be accessed using the provided API.
- */
-
-/**
- * GumDbusUserSkeletonClass:
- * @parent_class: The parent class.
- *
- * Class structure for #GumDbusUserSkeleton.
- */
-
-struct _GumDbusUserSkeletonPrivate
-{
- GValue *properties;
- GList *changed_properties;
- GSource *changed_properties_idle_source;
- GMainContext *context;
- GMutex lock;
-};
-
-static void
-_gum_dbus_user_skeleton_handle_method_call (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *method_name,
- GVariant *parameters,
- GDBusMethodInvocation *invocation,
- gpointer user_data)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (user_data);
- _ExtendedGDBusMethodInfo *info;
- GVariantIter iter;
- GVariant *child;
- GValue *paramv;
- guint num_params;
- guint num_extra;
- guint n;
- guint signal_id;
- GValue return_value = G_VALUE_INIT;
- info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
- g_assert (info != NULL);
- num_params = g_variant_n_children (parameters);
- num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
- n = 0;
- g_value_init (¶mv[n], GUM_DBUS_TYPE_USER);
- g_value_set_object (¶mv[n++], skeleton);
- g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
- g_value_set_object (¶mv[n++], invocation);
- if (info->pass_fdlist)
- {
-#ifdef G_OS_UNIX
- g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
- g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
-#else
- g_assert_not_reached ();
-#endif
- }
- g_variant_iter_init (&iter, parameters);
- while ((child = g_variant_iter_next_value (&iter)) != NULL)
- {
- _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
- if (arg_info->use_gvariant)
- {
- g_value_init (¶mv[n], G_TYPE_VARIANT);
- g_value_set_variant (¶mv[n], child);
- n++;
- }
- else
- g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
- g_variant_unref (child);
- }
- signal_id = g_signal_lookup (info->signal_name, GUM_DBUS_TYPE_USER);
- g_value_init (&return_value, G_TYPE_BOOLEAN);
- g_signal_emitv (paramv, signal_id, 0, &return_value);
- if (!g_value_get_boolean (&return_value))
- g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
- g_value_unset (&return_value);
- for (n = 0; n < num_params + num_extra; n++)
- g_value_unset (¶mv[n]);
- g_free (paramv);
-}
-
-static GVariant *
-_gum_dbus_user_skeleton_handle_get_property (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *property_name,
- GError **error,
- gpointer user_data)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (user_data);
- GValue value = G_VALUE_INIT;
- GParamSpec *pspec;
- _ExtendedGDBusPropertyInfo *info;
- GVariant *ret;
- ret = NULL;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_user_interface_info, property_name);
- g_assert (info != NULL);
- pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
- if (pspec == NULL)
- {
- g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
- }
- else
- {
- g_value_init (&value, pspec->value_type);
- g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
- ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
- g_value_unset (&value);
- }
- return ret;
-}
-
-static gboolean
-_gum_dbus_user_skeleton_handle_set_property (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *property_name,
- GVariant *variant,
- GError **error,
- gpointer user_data)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (user_data);
- GValue value = G_VALUE_INIT;
- GParamSpec *pspec;
- _ExtendedGDBusPropertyInfo *info;
- gboolean ret;
- ret = FALSE;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_user_interface_info, property_name);
- g_assert (info != NULL);
- pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
- if (pspec == NULL)
- {
- g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
- }
- else
- {
- if (info->use_gvariant)
- g_value_set_variant (&value, variant);
- else
- g_dbus_gvariant_to_gvalue (variant, &value);
- g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
- g_value_unset (&value);
- ret = TRUE;
- }
- return ret;
-}
-
-static const GDBusInterfaceVTable _gum_dbus_user_skeleton_vtable =
-{
- _gum_dbus_user_skeleton_handle_method_call,
- _gum_dbus_user_skeleton_handle_get_property,
- _gum_dbus_user_skeleton_handle_set_property
-};
-
-static GDBusInterfaceInfo *
-gum_dbus_user_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton)
-{
- return gum_dbus_user_interface_info ();
-}
-
-static GDBusInterfaceVTable *
-gum_dbus_user_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton)
-{
- return (GDBusInterfaceVTable *) &_gum_dbus_user_skeleton_vtable;
-}
-
-static GVariant *
-gum_dbus_user_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (_skeleton);
-
- GVariantBuilder builder;
- guint n;
- g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
- if (_gum_dbus_user_interface_info.parent_struct.properties == NULL)
- goto out;
- for (n = 0; _gum_dbus_user_interface_info.parent_struct.properties[n] != NULL; n++)
- {
- GDBusPropertyInfo *info = _gum_dbus_user_interface_info.parent_struct.properties[n];
- if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
- {
- GVariant *value;
- value = _gum_dbus_user_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.User", info->name, NULL, skeleton);
- if (value != NULL)
- {
- g_variant_take_ref (value);
- g_variant_builder_add (&builder, "{sv}", info->name, value);
- g_variant_unref (value);
- }
- }
- }
-out:
- return g_variant_builder_end (&builder);
-}
-
-static gboolean _gum_dbus_user_emit_changed (gpointer user_data);
-
-static void
-gum_dbus_user_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (_skeleton);
- gboolean emit_changed = FALSE;
-
- g_mutex_lock (&skeleton->priv->lock);
- if (skeleton->priv->changed_properties_idle_source != NULL)
- {
- g_source_destroy (skeleton->priv->changed_properties_idle_source);
- skeleton->priv->changed_properties_idle_source = NULL;
- emit_changed = TRUE;
- }
- g_mutex_unlock (&skeleton->priv->lock);
-
- if (emit_changed)
- _gum_dbus_user_emit_changed (skeleton);
-}
-
-static void
-_gum_dbus_user_on_signal_unregistered (
- GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
-
- GList *connections, *l;
- GVariant *signal_variant;
- connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
-
- signal_variant = g_variant_ref_sink (g_variant_new ("()"));
- for (l = connections; l != NULL; l = l->next)
- {
- GDBusConnection *connection = l->data;
- g_dbus_connection_emit_signal (connection,
- NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.User", "unregistered",
- signal_variant, NULL);
- }
- g_variant_unref (signal_variant);
- g_list_free_full (connections, g_object_unref);
-}
-
-static void gum_dbus_user_skeleton_iface_init (GumDbusUserIface *iface);
-G_DEFINE_TYPE_WITH_CODE (GumDbusUserSkeleton, gum_dbus_user_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
- G_IMPLEMENT_INTERFACE (GUM_DBUS_TYPE_USER, gum_dbus_user_skeleton_iface_init));
-
-static void
-gum_dbus_user_skeleton_finalize (GObject *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- guint n;
- for (n = 0; n < 12; n++)
- g_value_unset (&skeleton->priv->properties[n]);
- g_free (skeleton->priv->properties);
- g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
- if (skeleton->priv->changed_properties_idle_source != NULL)
- g_source_destroy (skeleton->priv->changed_properties_idle_source);
- g_main_context_unref (skeleton->priv->context);
- g_mutex_clear (&skeleton->priv->lock);
- G_OBJECT_CLASS (gum_dbus_user_skeleton_parent_class)->finalize (object);
-}
-
-static void
-gum_dbus_user_skeleton_get_property (GObject *object,
- guint prop_id,
- GValue *value,
- GParamSpec *pspec)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- g_assert (prop_id != 0 && prop_id - 1 < 12);
- g_mutex_lock (&skeleton->priv->lock);
- g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
- g_mutex_unlock (&skeleton->priv->lock);
-}
-
-static gboolean
-_gum_dbus_user_emit_changed (gpointer user_data)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (user_data);
- GList *l;
- GVariantBuilder builder;
- GVariantBuilder invalidated_builder;
- guint num_changes;
-
- g_mutex_lock (&skeleton->priv->lock);
- g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
- g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
- for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
- {
- ChangedProperty *cp = l->data;
- GVariant *variant;
- const GValue *cur_value;
-
- cur_value = &skeleton->priv->properties[cp->prop_id - 1];
- if (!_g_value_equal (cur_value, &cp->orig_value))
- {
- variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
- g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
- g_variant_unref (variant);
- num_changes++;
- }
- }
- if (num_changes > 0)
- {
- GList *connections, *l;
- GVariant *signal_variant;
- signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "org.tizen.SecurityAccounts.gUserManagement.User",
- &builder, &invalidated_builder));
- connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
- for (l = connections; l != NULL; l = l->next)
- {
- GDBusConnection *connection = l->data;
-
- g_dbus_connection_emit_signal (connection,
- NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
- "org.freedesktop.DBus.Properties",
- "PropertiesChanged",
- signal_variant,
- NULL);
- }
- g_variant_unref (signal_variant);
- g_list_free_full (connections, g_object_unref);
- }
- else
- {
- g_variant_builder_clear (&builder);
- g_variant_builder_clear (&invalidated_builder);
- }
- g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
- skeleton->priv->changed_properties = NULL;
- skeleton->priv->changed_properties_idle_source = NULL;
- g_mutex_unlock (&skeleton->priv->lock);
- return FALSE;
-}
-
-static void
-_gum_dbus_user_schedule_emit_changed (GumDbusUserSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
-{
- ChangedProperty *cp;
- GList *l;
- cp = NULL;
- for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
- {
- ChangedProperty *i_cp = l->data;
- if (i_cp->info == info)
- {
- cp = i_cp;
- break;
- }
- }
- if (cp == NULL)
- {
- cp = g_new0 (ChangedProperty, 1);
- cp->prop_id = prop_id;
- cp->info = info;
- skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
- g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
- g_value_copy (orig_value, &cp->orig_value);
- }
-}
-
-static void
-gum_dbus_user_skeleton_notify (GObject *object,
- GParamSpec *pspec)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- g_mutex_lock (&skeleton->priv->lock);
- if (skeleton->priv->changed_properties != NULL &&
- skeleton->priv->changed_properties_idle_source == NULL)
- {
- skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
- g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
- g_source_set_callback (skeleton->priv->changed_properties_idle_source, _gum_dbus_user_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
- g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
- g_source_unref (skeleton->priv->changed_properties_idle_source);
- }
- g_mutex_unlock (&skeleton->priv->lock);
-}
-
-static void
-gum_dbus_user_skeleton_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- g_assert (prop_id != 0 && prop_id - 1 < 12);
- g_mutex_lock (&skeleton->priv->lock);
- g_object_freeze_notify (object);
- if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
- {
- if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL)
- _gum_dbus_user_schedule_emit_changed (skeleton, _gum_dbus_user_property_info_pointers[prop_id - 1], prop_id, &skeleton->priv->properties[prop_id - 1]);
- g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
- g_object_notify_by_pspec (object, pspec);
- }
- g_mutex_unlock (&skeleton->priv->lock);
- g_object_thaw_notify (object);
-}
-
-static void
-gum_dbus_user_skeleton_init (GumDbusUserSkeleton *skeleton)
-{
- skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, GUM_DBUS_TYPE_USER_SKELETON, GumDbusUserSkeletonPrivate);
- g_mutex_init (&skeleton->priv->lock);
- skeleton->priv->context = g_main_context_ref_thread_default ();
- skeleton->priv->properties = g_new0 (GValue, 12);
- g_value_init (&skeleton->priv->properties[0], G_TYPE_UINT);
- g_value_init (&skeleton->priv->properties[1], G_TYPE_UINT);
- g_value_init (&skeleton->priv->properties[2], G_TYPE_UINT);
- g_value_init (&skeleton->priv->properties[3], G_TYPE_STRING);
- g_value_init (&skeleton->priv->properties[4], G_TYPE_STRING);
- g_value_init (&skeleton->priv->properties[5], G_TYPE_STRING);
- g_value_init (&skeleton->priv->properties[6], G_TYPE_STRING);
- g_value_init (&skeleton->priv->properties[7], G_TYPE_STRING);
- g_value_init (&skeleton->priv->properties[8], G_TYPE_STRING);
- g_value_init (&skeleton->priv->properties[9], G_TYPE_STRING);
- g_value_init (&skeleton->priv->properties[10], G_TYPE_STRING);
- g_value_init (&skeleton->priv->properties[11], G_TYPE_STRING);
-}
-
-static guint
-gum_dbus_user_skeleton_get_uid (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- guint value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_uint (&(skeleton->priv->properties[0]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static guint
-gum_dbus_user_skeleton_get_gid (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- guint value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_uint (&(skeleton->priv->properties[1]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static guint16
-gum_dbus_user_skeleton_get_usertype (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- guint value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_uint (&(skeleton->priv->properties[2]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static const gchar *
-gum_dbus_user_skeleton_get_nickname (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- const gchar *value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_string (&(skeleton->priv->properties[3]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static const gchar *
-gum_dbus_user_skeleton_get_username (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- const gchar *value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_string (&(skeleton->priv->properties[4]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static const gchar *
-gum_dbus_user_skeleton_get_secret (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- const gchar *value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_string (&(skeleton->priv->properties[5]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static const gchar *
-gum_dbus_user_skeleton_get_realname (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- const gchar *value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_string (&(skeleton->priv->properties[6]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static const gchar *
-gum_dbus_user_skeleton_get_office (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- const gchar *value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_string (&(skeleton->priv->properties[7]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static const gchar *
-gum_dbus_user_skeleton_get_officephone (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- const gchar *value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_string (&(skeleton->priv->properties[8]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static const gchar *
-gum_dbus_user_skeleton_get_homephone (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- const gchar *value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_string (&(skeleton->priv->properties[9]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static const gchar *
-gum_dbus_user_skeleton_get_homedir (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- const gchar *value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_string (&(skeleton->priv->properties[10]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static const gchar *
-gum_dbus_user_skeleton_get_shell (GumDbusUser *object)
-{
- GumDbusUserSkeleton *skeleton = GUM_DBUS_USER_SKELETON (object);
- const gchar *value;
- g_mutex_lock (&skeleton->priv->lock);
- value = g_value_get_string (&(skeleton->priv->properties[11]));
- g_mutex_unlock (&skeleton->priv->lock);
- return value;
-}
-
-static void
-gum_dbus_user_skeleton_class_init (GumDbusUserSkeletonClass *klass)
-{
- GObjectClass *gobject_class;
- GDBusInterfaceSkeletonClass *skeleton_class;
-
- g_type_class_add_private (klass, sizeof (GumDbusUserSkeletonPrivate));
-
- gobject_class = G_OBJECT_CLASS (klass);
- gobject_class->finalize = gum_dbus_user_skeleton_finalize;
- gobject_class->get_property = gum_dbus_user_skeleton_get_property;
- gobject_class->set_property = gum_dbus_user_skeleton_set_property;
- gobject_class->notify = gum_dbus_user_skeleton_notify;
-
-
- gum_dbus_user_override_properties (gobject_class, 1);
-
- skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
- skeleton_class->get_info = gum_dbus_user_skeleton_dbus_interface_get_info;
- skeleton_class->get_properties = gum_dbus_user_skeleton_dbus_interface_get_properties;
- skeleton_class->flush = gum_dbus_user_skeleton_dbus_interface_flush;
- skeleton_class->get_vtable = gum_dbus_user_skeleton_dbus_interface_get_vtable;
-}
-
-static void
-gum_dbus_user_skeleton_iface_init (GumDbusUserIface *iface)
-{
- iface->unregistered = _gum_dbus_user_on_signal_unregistered;
- iface->get_uid = gum_dbus_user_skeleton_get_uid;
- iface->get_gid = gum_dbus_user_skeleton_get_gid;
- iface->get_usertype = gum_dbus_user_skeleton_get_usertype;
- iface->get_nickname = gum_dbus_user_skeleton_get_nickname;
- iface->get_username = gum_dbus_user_skeleton_get_username;
- iface->get_secret = gum_dbus_user_skeleton_get_secret;
- iface->get_realname = gum_dbus_user_skeleton_get_realname;
- iface->get_office = gum_dbus_user_skeleton_get_office;
- iface->get_officephone = gum_dbus_user_skeleton_get_officephone;
- iface->get_homephone = gum_dbus_user_skeleton_get_homephone;
- iface->get_homedir = gum_dbus_user_skeleton_get_homedir;
- iface->get_shell = gum_dbus_user_skeleton_get_shell;
-}
-
-/**
- * gum_dbus_user_skeleton_new:
- *
- * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-User.top_of_page">org.tizen.SecurityAccounts.gUserManagement.User</link>.
- *
- * Returns: (transfer full) (type GumDbusUserSkeleton): The skeleton object.
- */
-GumDbusUser *
-gum_dbus_user_skeleton_new (void)
-{
- return GUM_DBUS_USER (g_object_new (GUM_DBUS_TYPE_USER_SKELETON, NULL));
-}
-
+++ /dev/null
-/*
- * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
- *
- * The license of this code is the same as for the source it was derived from.
- */
-
-#ifndef __GUM_DBUS_USER_GEN_H__
-#define __GUM_DBUS_USER_GEN_H__
-
-#include <gio/gio.h>
-
-G_BEGIN_DECLS
-
-
-/* ------------------------------------------------------------------------ */
-/* Declarations for org.tizen.SecurityAccounts.gUserManagement.User */
-
-#define GUM_DBUS_TYPE_USER (gum_dbus_user_get_type ())
-#define GUM_DBUS_USER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_USER, GumDbusUser))
-#define GUM_DBUS_IS_USER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_USER))
-#define GUM_DBUS_USER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GUM_DBUS_TYPE_USER, GumDbusUserIface))
-
-struct _GumDbusUser;
-typedef struct _GumDbusUser GumDbusUser;
-typedef struct _GumDbusUserIface GumDbusUserIface;
-
-struct _GumDbusUserIface
-{
- GTypeInterface parent_iface;
-
-
-
- gboolean (*handle_add_user) (
- GumDbusUser *object,
- GDBusMethodInvocation *invocation);
-
- gboolean (*handle_delete_user) (
- GumDbusUser *object,
- GDBusMethodInvocation *invocation,
- gboolean arg_rem_home_dir);
-
- gboolean (*handle_update_user) (
- GumDbusUser *object,
- GDBusMethodInvocation *invocation);
-
- guint (*get_gid) (GumDbusUser *object);
-
- const gchar * (*get_homedir) (GumDbusUser *object);
-
- const gchar * (*get_homephone) (GumDbusUser *object);
-
- const gchar * (*get_nickname) (GumDbusUser *object);
-
- const gchar * (*get_office) (GumDbusUser *object);
-
- const gchar * (*get_officephone) (GumDbusUser *object);
-
- const gchar * (*get_realname) (GumDbusUser *object);
-
- const gchar * (*get_secret) (GumDbusUser *object);
-
- const gchar * (*get_shell) (GumDbusUser *object);
-
- guint (*get_uid) (GumDbusUser *object);
-
- const gchar * (*get_username) (GumDbusUser *object);
-
- guint16 (*get_usertype) (GumDbusUser *object);
-
- void (*unregistered) (
- GumDbusUser *object);
-
-};
-
-GType gum_dbus_user_get_type (void) G_GNUC_CONST;
-
-GDBusInterfaceInfo *gum_dbus_user_interface_info (void);
-guint gum_dbus_user_override_properties (GObjectClass *klass, guint property_id_begin);
-
-
-/* D-Bus method call completion functions: */
-void gum_dbus_user_complete_add_user (
- GumDbusUser *object,
- GDBusMethodInvocation *invocation,
- guint uid);
-
-void gum_dbus_user_complete_delete_user (
- GumDbusUser *object,
- GDBusMethodInvocation *invocation);
-
-void gum_dbus_user_complete_update_user (
- GumDbusUser *object,
- GDBusMethodInvocation *invocation);
-
-
-
-/* D-Bus signal emissions functions: */
-void gum_dbus_user_emit_unregistered (
- GumDbusUser *object);
-
-
-
-/* D-Bus method calls: */
-void gum_dbus_user_call_add_user (
- GumDbusUser *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_user_call_add_user_finish (
- GumDbusUser *proxy,
- guint *out_uid,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_user_call_add_user_sync (
- GumDbusUser *proxy,
- guint *out_uid,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_user_call_delete_user (
- GumDbusUser *proxy,
- gboolean arg_rem_home_dir,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_user_call_delete_user_finish (
- GumDbusUser *proxy,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_user_call_delete_user_sync (
- GumDbusUser *proxy,
- gboolean arg_rem_home_dir,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_user_call_update_user (
- GumDbusUser *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_user_call_update_user_finish (
- GumDbusUser *proxy,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_user_call_update_user_sync (
- GumDbusUser *proxy,
- GCancellable *cancellable,
- GError **error);
-
-
-
-/* D-Bus property accessors: */
-guint gum_dbus_user_get_uid (GumDbusUser *object);
-void gum_dbus_user_set_uid (GumDbusUser *object, guint value);
-
-guint gum_dbus_user_get_gid (GumDbusUser *object);
-void gum_dbus_user_set_gid (GumDbusUser *object, guint value);
-
-guint16 gum_dbus_user_get_usertype (GumDbusUser *object);
-void gum_dbus_user_set_usertype (GumDbusUser *object, guint16 value);
-
-const gchar *gum_dbus_user_get_nickname (GumDbusUser *object);
-gchar *gum_dbus_user_dup_nickname (GumDbusUser *object);
-void gum_dbus_user_set_nickname (GumDbusUser *object, const gchar *value);
-
-const gchar *gum_dbus_user_get_username (GumDbusUser *object);
-gchar *gum_dbus_user_dup_username (GumDbusUser *object);
-void gum_dbus_user_set_username (GumDbusUser *object, const gchar *value);
-
-const gchar *gum_dbus_user_get_secret (GumDbusUser *object);
-gchar *gum_dbus_user_dup_secret (GumDbusUser *object);
-void gum_dbus_user_set_secret (GumDbusUser *object, const gchar *value);
-
-const gchar *gum_dbus_user_get_realname (GumDbusUser *object);
-gchar *gum_dbus_user_dup_realname (GumDbusUser *object);
-void gum_dbus_user_set_realname (GumDbusUser *object, const gchar *value);
-
-const gchar *gum_dbus_user_get_office (GumDbusUser *object);
-gchar *gum_dbus_user_dup_office (GumDbusUser *object);
-void gum_dbus_user_set_office (GumDbusUser *object, const gchar *value);
-
-const gchar *gum_dbus_user_get_officephone (GumDbusUser *object);
-gchar *gum_dbus_user_dup_officephone (GumDbusUser *object);
-void gum_dbus_user_set_officephone (GumDbusUser *object, const gchar *value);
-
-const gchar *gum_dbus_user_get_homephone (GumDbusUser *object);
-gchar *gum_dbus_user_dup_homephone (GumDbusUser *object);
-void gum_dbus_user_set_homephone (GumDbusUser *object, const gchar *value);
-
-const gchar *gum_dbus_user_get_homedir (GumDbusUser *object);
-gchar *gum_dbus_user_dup_homedir (GumDbusUser *object);
-void gum_dbus_user_set_homedir (GumDbusUser *object, const gchar *value);
-
-const gchar *gum_dbus_user_get_shell (GumDbusUser *object);
-gchar *gum_dbus_user_dup_shell (GumDbusUser *object);
-void gum_dbus_user_set_shell (GumDbusUser *object, const gchar *value);
-
-
-/* ---- */
-
-#define GUM_DBUS_TYPE_USER_PROXY (gum_dbus_user_proxy_get_type ())
-#define GUM_DBUS_USER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_USER_PROXY, GumDbusUserProxy))
-#define GUM_DBUS_USER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GUM_DBUS_TYPE_USER_PROXY, GumDbusUserProxyClass))
-#define GUM_DBUS_USER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUM_DBUS_TYPE_USER_PROXY, GumDbusUserProxyClass))
-#define GUM_DBUS_IS_USER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_USER_PROXY))
-#define GUM_DBUS_IS_USER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUM_DBUS_TYPE_USER_PROXY))
-
-typedef struct _GumDbusUserProxy GumDbusUserProxy;
-typedef struct _GumDbusUserProxyClass GumDbusUserProxyClass;
-typedef struct _GumDbusUserProxyPrivate GumDbusUserProxyPrivate;
-
-struct _GumDbusUserProxy
-{
- /*< private >*/
- GDBusProxy parent_instance;
- GumDbusUserProxyPrivate *priv;
-};
-
-struct _GumDbusUserProxyClass
-{
- GDBusProxyClass parent_class;
-};
-
-GType gum_dbus_user_proxy_get_type (void) G_GNUC_CONST;
-
-void gum_dbus_user_proxy_new (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-GumDbusUser *gum_dbus_user_proxy_new_finish (
- GAsyncResult *res,
- GError **error);
-GumDbusUser *gum_dbus_user_proxy_new_sync (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_user_proxy_new_for_bus (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-GumDbusUser *gum_dbus_user_proxy_new_for_bus_finish (
- GAsyncResult *res,
- GError **error);
-GumDbusUser *gum_dbus_user_proxy_new_for_bus_sync (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error);
-
-
-/* ---- */
-
-#define GUM_DBUS_TYPE_USER_SKELETON (gum_dbus_user_skeleton_get_type ())
-#define GUM_DBUS_USER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_USER_SKELETON, GumDbusUserSkeleton))
-#define GUM_DBUS_USER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GUM_DBUS_TYPE_USER_SKELETON, GumDbusUserSkeletonClass))
-#define GUM_DBUS_USER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUM_DBUS_TYPE_USER_SKELETON, GumDbusUserSkeletonClass))
-#define GUM_DBUS_IS_USER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_USER_SKELETON))
-#define GUM_DBUS_IS_USER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUM_DBUS_TYPE_USER_SKELETON))
-
-typedef struct _GumDbusUserSkeleton GumDbusUserSkeleton;
-typedef struct _GumDbusUserSkeletonClass GumDbusUserSkeletonClass;
-typedef struct _GumDbusUserSkeletonPrivate GumDbusUserSkeletonPrivate;
-
-struct _GumDbusUserSkeleton
-{
- /*< private >*/
- GDBusInterfaceSkeleton parent_instance;
- GumDbusUserSkeletonPrivate *priv;
-};
-
-struct _GumDbusUserSkeletonClass
-{
- GDBusInterfaceSkeletonClass parent_class;
-};
-
-GType gum_dbus_user_skeleton_get_type (void) G_GNUC_CONST;
-
-GumDbusUser *gum_dbus_user_skeleton_new (void);
-
-
-G_END_DECLS
-
-#endif /* __GUM_DBUS_USER_GEN_H__ */
+++ /dev/null
-/*
- * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
- *
- * The license of this code is the same as for the source it was derived from.
- */
-
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include "gum-dbus-user-service-gen.h"
-
-#include <string.h>
-#ifdef G_OS_UNIX
-# include <gio/gunixfdlist.h>
-#endif
-
-typedef struct
-{
- GDBusArgInfo parent_struct;
- gboolean use_gvariant;
-} _ExtendedGDBusArgInfo;
-
-typedef struct
-{
- GDBusMethodInfo parent_struct;
- const gchar *signal_name;
- gboolean pass_fdlist;
-} _ExtendedGDBusMethodInfo;
-
-typedef struct
-{
- GDBusSignalInfo parent_struct;
- const gchar *signal_name;
-} _ExtendedGDBusSignalInfo;
-
-typedef struct
-{
- GDBusPropertyInfo parent_struct;
- const gchar *hyphen_name;
- gboolean use_gvariant;
-} _ExtendedGDBusPropertyInfo;
-
-typedef struct
-{
- GDBusInterfaceInfo parent_struct;
- const gchar *hyphen_name;
-} _ExtendedGDBusInterfaceInfo;
-
-typedef struct
-{
- const _ExtendedGDBusPropertyInfo *info;
- guint prop_id;
- GValue orig_value; /* the value before the change */
-} ChangedProperty;
-
-static void
-_changed_property_free (ChangedProperty *data)
-{
- g_value_unset (&data->orig_value);
- g_free (data);
-}
-
-static gboolean
-_g_strv_equal0 (gchar **a, gchar **b)
-{
- gboolean ret = FALSE;
- guint n;
- if (a == NULL && b == NULL)
- {
- ret = TRUE;
- goto out;
- }
- if (a == NULL || b == NULL)
- goto out;
- if (g_strv_length (a) != g_strv_length (b))
- goto out;
- for (n = 0; a[n] != NULL; n++)
- if (g_strcmp0 (a[n], b[n]) != 0)
- goto out;
- ret = TRUE;
-out:
- return ret;
-}
-
-static gboolean
-_g_variant_equal0 (GVariant *a, GVariant *b)
-{
- gboolean ret = FALSE;
- if (a == NULL && b == NULL)
- {
- ret = TRUE;
- goto out;
- }
- if (a == NULL || b == NULL)
- goto out;
- ret = g_variant_equal (a, b);
-out:
- return ret;
-}
-
-G_GNUC_UNUSED static gboolean
-_g_value_equal (const GValue *a, const GValue *b)
-{
- gboolean ret = FALSE;
- g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
- switch (G_VALUE_TYPE (a))
- {
- case G_TYPE_BOOLEAN:
- ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
- break;
- case G_TYPE_UCHAR:
- ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
- break;
- case G_TYPE_INT:
- ret = (g_value_get_int (a) == g_value_get_int (b));
- break;
- case G_TYPE_UINT:
- ret = (g_value_get_uint (a) == g_value_get_uint (b));
- break;
- case G_TYPE_INT64:
- ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
- break;
- case G_TYPE_UINT64:
- ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
- break;
- case G_TYPE_DOUBLE:
- {
- /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
- gdouble da = g_value_get_double (a);
- gdouble db = g_value_get_double (b);
- ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
- }
- break;
- case G_TYPE_STRING:
- ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
- break;
- case G_TYPE_VARIANT:
- ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
- break;
- default:
- if (G_VALUE_TYPE (a) == G_TYPE_STRV)
- ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
- else
- g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
- break;
- }
- return ret;
-}
-
-/* ------------------------------------------------------------------------
- * Code for interface org.tizen.SecurityAccounts.gUserManagement.UserService
- * ------------------------------------------------------------------------
- */
-
-/**
- * SECTION:GumDbusUserService
- * @title: GumDbusUserService
- * @short_description: Generated C code for the org.tizen.SecurityAccounts.gUserManagement.UserService D-Bus interface
- *
- * This section contains code for working with the <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-UserService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.UserService</link> D-Bus interface in C.
- */
-
-/* ---- Introspection data for org.tizen.SecurityAccounts.gUserManagement.UserService ---- */
-
-static const _ExtendedGDBusArgInfo _gum_dbus_user_service_method_info_create_new_user_OUT_ARG_objectPath =
-{
- {
- -1,
- "objectPath",
- "o",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_user_service_method_info_create_new_user_OUT_ARG_pointers[] =
-{
- &_gum_dbus_user_service_method_info_create_new_user_OUT_ARG_objectPath,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_user_service_method_info_create_new_user =
-{
- {
- -1,
- "createNewUser",
- NULL,
- (GDBusArgInfo **) &_gum_dbus_user_service_method_info_create_new_user_OUT_ARG_pointers,
- NULL
- },
- "handle-create-new-user",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_user_service_method_info_get_user_IN_ARG_uid =
-{
- {
- -1,
- "uid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_user_service_method_info_get_user_IN_ARG_pointers[] =
-{
- &_gum_dbus_user_service_method_info_get_user_IN_ARG_uid,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_user_service_method_info_get_user_OUT_ARG_objectPath =
-{
- {
- -1,
- "objectPath",
- "o",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_user_service_method_info_get_user_OUT_ARG_pointers[] =
-{
- &_gum_dbus_user_service_method_info_get_user_OUT_ARG_objectPath,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_user_service_method_info_get_user =
-{
- {
- -1,
- "getUser",
- (GDBusArgInfo **) &_gum_dbus_user_service_method_info_get_user_IN_ARG_pointers,
- (GDBusArgInfo **) &_gum_dbus_user_service_method_info_get_user_OUT_ARG_pointers,
- NULL
- },
- "handle-get-user",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_user_service_method_info_get_user_by_name_IN_ARG_username =
-{
- {
- -1,
- "username",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_user_service_method_info_get_user_by_name_IN_ARG_pointers[] =
-{
- &_gum_dbus_user_service_method_info_get_user_by_name_IN_ARG_username,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_user_service_method_info_get_user_by_name_OUT_ARG_objectPath =
-{
- {
- -1,
- "objectPath",
- "o",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_user_service_method_info_get_user_by_name_OUT_ARG_pointers[] =
-{
- &_gum_dbus_user_service_method_info_get_user_by_name_OUT_ARG_objectPath,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _gum_dbus_user_service_method_info_get_user_by_name =
-{
- {
- -1,
- "getUserByName",
- (GDBusArgInfo **) &_gum_dbus_user_service_method_info_get_user_by_name_IN_ARG_pointers,
- (GDBusArgInfo **) &_gum_dbus_user_service_method_info_get_user_by_name_OUT_ARG_pointers,
- NULL
- },
- "handle-get-user-by-name",
- FALSE
-};
-
-static const _ExtendedGDBusMethodInfo * const _gum_dbus_user_service_method_info_pointers[] =
-{
- &_gum_dbus_user_service_method_info_create_new_user,
- &_gum_dbus_user_service_method_info_get_user,
- &_gum_dbus_user_service_method_info_get_user_by_name,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_user_service_signal_info_user_added_ARG_uid =
-{
- {
- -1,
- "uid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_user_service_signal_info_user_added_ARG_pointers[] =
-{
- &_gum_dbus_user_service_signal_info_user_added_ARG_uid,
- NULL
-};
-
-static const _ExtendedGDBusSignalInfo _gum_dbus_user_service_signal_info_user_added =
-{
- {
- -1,
- "userAdded",
- (GDBusArgInfo **) &_gum_dbus_user_service_signal_info_user_added_ARG_pointers,
- NULL
- },
- "user-added"
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_user_service_signal_info_user_deleted_ARG_uid =
-{
- {
- -1,
- "uid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_user_service_signal_info_user_deleted_ARG_pointers[] =
-{
- &_gum_dbus_user_service_signal_info_user_deleted_ARG_uid,
- NULL
-};
-
-static const _ExtendedGDBusSignalInfo _gum_dbus_user_service_signal_info_user_deleted =
-{
- {
- -1,
- "userDeleted",
- (GDBusArgInfo **) &_gum_dbus_user_service_signal_info_user_deleted_ARG_pointers,
- NULL
- },
- "user-deleted"
-};
-
-static const _ExtendedGDBusArgInfo _gum_dbus_user_service_signal_info_user_updated_ARG_uid =
-{
- {
- -1,
- "uid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _gum_dbus_user_service_signal_info_user_updated_ARG_pointers[] =
-{
- &_gum_dbus_user_service_signal_info_user_updated_ARG_uid,
- NULL
-};
-
-static const _ExtendedGDBusSignalInfo _gum_dbus_user_service_signal_info_user_updated =
-{
- {
- -1,
- "userUpdated",
- (GDBusArgInfo **) &_gum_dbus_user_service_signal_info_user_updated_ARG_pointers,
- NULL
- },
- "user-updated"
-};
-
-static const _ExtendedGDBusSignalInfo * const _gum_dbus_user_service_signal_info_pointers[] =
-{
- &_gum_dbus_user_service_signal_info_user_added,
- &_gum_dbus_user_service_signal_info_user_deleted,
- &_gum_dbus_user_service_signal_info_user_updated,
- NULL
-};
-
-static const _ExtendedGDBusInterfaceInfo _gum_dbus_user_service_interface_info =
-{
- {
- -1,
- "org.tizen.SecurityAccounts.gUserManagement.UserService",
- (GDBusMethodInfo **) &_gum_dbus_user_service_method_info_pointers,
- (GDBusSignalInfo **) &_gum_dbus_user_service_signal_info_pointers,
- NULL,
- NULL
- },
- "user-service",
-};
-
-
-/**
- * gum_dbus_user_service_interface_info:
- *
- * Gets a machine-readable description of the <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-UserService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.UserService</link> D-Bus interface.
- *
- * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
- */
-GDBusInterfaceInfo *
-gum_dbus_user_service_interface_info (void)
-{
- return (GDBusInterfaceInfo *) &_gum_dbus_user_service_interface_info;
-}
-
-/**
- * gum_dbus_user_service_override_properties:
- * @klass: The class structure for a #GObject<!-- -->-derived class.
- * @property_id_begin: The property id to assign to the first overridden property.
- *
- * Overrides all #GObject properties in the #GumDbusUserService interface for a concrete class.
- * The properties are overridden in the order they are defined.
- *
- * Returns: The last property id.
- */
-guint
-gum_dbus_user_service_override_properties (GObjectClass *klass, guint property_id_begin)
-{
- return property_id_begin - 1;
-}
-
-
-
-/**
- * GumDbusUserService:
- *
- * Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-UserService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.UserService</link>.
- */
-
-/**
- * GumDbusUserServiceIface:
- * @parent_iface: The parent interface.
- * @handle_create_new_user: Handler for the #GumDbusUserService::handle-create-new-user signal.
- * @handle_get_user: Handler for the #GumDbusUserService::handle-get-user signal.
- * @handle_get_user_by_name: Handler for the #GumDbusUserService::handle-get-user-by-name signal.
- * @user_added: Handler for the #GumDbusUserService::user-added signal.
- * @user_deleted: Handler for the #GumDbusUserService::user-deleted signal.
- * @user_updated: Handler for the #GumDbusUserService::user-updated signal.
- *
- * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-UserService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.UserService</link>.
- */
-
-static void
-gum_dbus_user_service_default_init (GumDbusUserServiceIface *iface)
-{
- /* GObject signals for incoming D-Bus method calls: */
- /**
- * GumDbusUserService::handle-create-new-user:
- * @object: A #GumDbusUserService.
- * @invocation: A #GDBusMethodInvocation.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.createNewUser">createNewUser()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_user_service_complete_create_new_user() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-create-new-user",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusUserServiceIface, handle_create_new_user),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 1,
- G_TYPE_DBUS_METHOD_INVOCATION);
-
- /**
- * GumDbusUserService::handle-get-user:
- * @object: A #GumDbusUserService.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_uid: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.getUser">getUser()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_user_service_complete_get_user() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-get-user",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusUserServiceIface, handle_get_user),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
-
- /**
- * GumDbusUserService::handle-get-user-by-name:
- * @object: A #GumDbusUserService.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_username: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.getUserByName">getUserByName()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call gum_dbus_user_service_complete_get_user_by_name() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-get-user-by-name",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusUserServiceIface, handle_get_user_by_name),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
-
- /* GObject signals for received D-Bus signals: */
- /**
- * GumDbusUserService::user-added:
- * @object: A #GumDbusUserService.
- * @arg_uid: Argument.
- *
- * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-UserService.userAdded">"userAdded"</link> is received.
- *
- * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- */
- g_signal_new ("user-added",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusUserServiceIface, user_added),
- NULL,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_NONE,
- 1, G_TYPE_UINT);
-
- /**
- * GumDbusUserService::user-deleted:
- * @object: A #GumDbusUserService.
- * @arg_uid: Argument.
- *
- * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-UserService.userDeleted">"userDeleted"</link> is received.
- *
- * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- */
- g_signal_new ("user-deleted",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusUserServiceIface, user_deleted),
- NULL,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_NONE,
- 1, G_TYPE_UINT);
-
- /**
- * GumDbusUserService::user-updated:
- * @object: A #GumDbusUserService.
- * @arg_uid: Argument.
- *
- * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-UserService.userUpdated">"userUpdated"</link> is received.
- *
- * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- */
- g_signal_new ("user-updated",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GumDbusUserServiceIface, user_updated),
- NULL,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_NONE,
- 1, G_TYPE_UINT);
-
-}
-
-typedef GumDbusUserServiceIface GumDbusUserServiceInterface;
-G_DEFINE_INTERFACE (GumDbusUserService, gum_dbus_user_service, G_TYPE_OBJECT);
-
-/**
- * gum_dbus_user_service_emit_user_added:
- * @object: A #GumDbusUserService.
- * @arg_uid: Argument to pass with the signal.
- *
- * Emits the <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-UserService.userAdded">"userAdded"</link> D-Bus signal.
- */
-void
-gum_dbus_user_service_emit_user_added (
- GumDbusUserService *object,
- guint arg_uid)
-{
- g_signal_emit_by_name (object, "user-added", arg_uid);
-}
-
-/**
- * gum_dbus_user_service_emit_user_deleted:
- * @object: A #GumDbusUserService.
- * @arg_uid: Argument to pass with the signal.
- *
- * Emits the <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-UserService.userDeleted">"userDeleted"</link> D-Bus signal.
- */
-void
-gum_dbus_user_service_emit_user_deleted (
- GumDbusUserService *object,
- guint arg_uid)
-{
- g_signal_emit_by_name (object, "user-deleted", arg_uid);
-}
-
-/**
- * gum_dbus_user_service_emit_user_updated:
- * @object: A #GumDbusUserService.
- * @arg_uid: Argument to pass with the signal.
- *
- * Emits the <link linkend="gdbus-signal-org-tizen-SecurityAccounts-gUserManagement-UserService.userUpdated">"userUpdated"</link> D-Bus signal.
- */
-void
-gum_dbus_user_service_emit_user_updated (
- GumDbusUserService *object,
- guint arg_uid)
-{
- g_signal_emit_by_name (object, "user-updated", arg_uid);
-}
-
-/**
- * gum_dbus_user_service_call_create_new_user:
- * @proxy: A #GumDbusUserServiceProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.createNewUser">createNewUser()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_user_service_call_create_new_user_finish() to get the result of the operation.
- *
- * See gum_dbus_user_service_call_create_new_user_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_user_service_call_create_new_user (
- GumDbusUserService *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "createNewUser",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_user_service_call_create_new_user_finish:
- * @proxy: A #GumDbusUserServiceProxy.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_user_service_call_create_new_user().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_user_service_call_create_new_user().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_service_call_create_new_user_finish (
- GumDbusUserService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_service_call_create_new_user_sync:
- * @proxy: A #GumDbusUserServiceProxy.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.createNewUser">createNewUser()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_user_service_call_create_new_user() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_service_call_create_new_user_sync (
- GumDbusUserService *proxy,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "createNewUser",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_service_call_get_user:
- * @proxy: A #GumDbusUserServiceProxy.
- * @arg_uid: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.getUser">getUser()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_user_service_call_get_user_finish() to get the result of the operation.
- *
- * See gum_dbus_user_service_call_get_user_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_user_service_call_get_user (
- GumDbusUserService *proxy,
- guint arg_uid,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "getUser",
- g_variant_new ("(u)",
- arg_uid),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_user_service_call_get_user_finish:
- * @proxy: A #GumDbusUserServiceProxy.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_user_service_call_get_user().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_user_service_call_get_user().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_service_call_get_user_finish (
- GumDbusUserService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_service_call_get_user_sync:
- * @proxy: A #GumDbusUserServiceProxy.
- * @arg_uid: Argument to pass with the method invocation.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.getUser">getUser()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_user_service_call_get_user() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_service_call_get_user_sync (
- GumDbusUserService *proxy,
- guint arg_uid,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "getUser",
- g_variant_new ("(u)",
- arg_uid),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_service_call_get_user_by_name:
- * @proxy: A #GumDbusUserServiceProxy.
- * @arg_username: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.getUserByName">getUserByName()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_user_service_call_get_user_by_name_finish() to get the result of the operation.
- *
- * See gum_dbus_user_service_call_get_user_by_name_sync() for the synchronous, blocking version of this method.
- */
-void
-gum_dbus_user_service_call_get_user_by_name (
- GumDbusUserService *proxy,
- const gchar *arg_username,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "getUserByName",
- g_variant_new ("(s)",
- arg_username),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * gum_dbus_user_service_call_get_user_by_name_finish:
- * @proxy: A #GumDbusUserServiceProxy.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_user_service_call_get_user_by_name().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with gum_dbus_user_service_call_get_user_by_name().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_service_call_get_user_by_name_finish (
- GumDbusUserService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_service_call_get_user_by_name_sync:
- * @proxy: A #GumDbusUserServiceProxy.
- * @arg_username: Argument to pass with the method invocation.
- * @out_objectPath: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.getUserByName">getUserByName()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_user_service_call_get_user_by_name() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-gum_dbus_user_service_call_get_user_by_name_sync (
- GumDbusUserService *proxy,
- const gchar *arg_username,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "getUserByName",
- g_variant_new ("(s)",
- arg_username),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_objectPath);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * gum_dbus_user_service_complete_create_new_user:
- * @object: A #GumDbusUserService.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- * @objectPath: Parameter to return.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.createNewUser">createNewUser()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_user_service_complete_create_new_user (
- GumDbusUserService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("(o)",
- objectPath));
-}
-
-/**
- * gum_dbus_user_service_complete_get_user:
- * @object: A #GumDbusUserService.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- * @objectPath: Parameter to return.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.getUser">getUser()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_user_service_complete_get_user (
- GumDbusUserService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("(o)",
- objectPath));
-}
-
-/**
- * gum_dbus_user_service_complete_get_user_by_name:
- * @object: A #GumDbusUserService.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- * @objectPath: Parameter to return.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-tizen-SecurityAccounts-gUserManagement-UserService.getUserByName">getUserByName()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-gum_dbus_user_service_complete_get_user_by_name (
- GumDbusUserService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("(o)",
- objectPath));
-}
-
-/* ------------------------------------------------------------------------ */
-
-/**
- * GumDbusUserServiceProxy:
- *
- * The #GumDbusUserServiceProxy structure contains only private data and should only be accessed using the provided API.
- */
-
-/**
- * GumDbusUserServiceProxyClass:
- * @parent_class: The parent class.
- *
- * Class structure for #GumDbusUserServiceProxy.
- */
-
-struct _GumDbusUserServiceProxyPrivate
-{
- GData *qdata;
-};
-
-static void gum_dbus_user_service_proxy_iface_init (GumDbusUserServiceIface *iface);
-
-G_DEFINE_TYPE_WITH_CODE (GumDbusUserServiceProxy, gum_dbus_user_service_proxy, G_TYPE_DBUS_PROXY,
- G_IMPLEMENT_INTERFACE (GUM_DBUS_TYPE_USER_SERVICE, gum_dbus_user_service_proxy_iface_init));
-
-static void
-gum_dbus_user_service_proxy_finalize (GObject *object)
-{
- GumDbusUserServiceProxy *proxy = GUM_DBUS_USER_SERVICE_PROXY (object);
- g_datalist_clear (&proxy->priv->qdata);
- G_OBJECT_CLASS (gum_dbus_user_service_proxy_parent_class)->finalize (object);
-}
-
-static void
-gum_dbus_user_service_proxy_get_property (GObject *object,
- guint prop_id,
- GValue *value,
- GParamSpec *pspec)
-{
-}
-
-static void
-gum_dbus_user_service_proxy_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
-{
-}
-
-static void
-gum_dbus_user_service_proxy_g_signal (GDBusProxy *proxy,
- const gchar *sender_name,
- const gchar *signal_name,
- GVariant *parameters)
-{
- _ExtendedGDBusSignalInfo *info;
- GVariantIter iter;
- GVariant *child;
- GValue *paramv;
- guint num_params;
- guint n;
- guint signal_id;
- info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_gum_dbus_user_service_interface_info, signal_name);
- if (info == NULL)
- return;
- num_params = g_variant_n_children (parameters);
- paramv = g_new0 (GValue, num_params + 1);
- g_value_init (¶mv[0], GUM_DBUS_TYPE_USER_SERVICE);
- g_value_set_object (¶mv[0], proxy);
- g_variant_iter_init (&iter, parameters);
- n = 1;
- while ((child = g_variant_iter_next_value (&iter)) != NULL)
- {
- _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
- if (arg_info->use_gvariant)
- {
- g_value_init (¶mv[n], G_TYPE_VARIANT);
- g_value_set_variant (¶mv[n], child);
- n++;
- }
- else
- g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
- g_variant_unref (child);
- }
- signal_id = g_signal_lookup (info->signal_name, GUM_DBUS_TYPE_USER_SERVICE);
- g_signal_emitv (paramv, signal_id, 0, NULL);
- for (n = 0; n < num_params + 1; n++)
- g_value_unset (¶mv[n]);
- g_free (paramv);
-}
-
-static void
-gum_dbus_user_service_proxy_g_properties_changed (GDBusProxy *_proxy,
- GVariant *changed_properties,
- const gchar *const *invalidated_properties)
-{
- GumDbusUserServiceProxy *proxy = GUM_DBUS_USER_SERVICE_PROXY (_proxy);
- guint n;
- const gchar *key;
- GVariantIter *iter;
- _ExtendedGDBusPropertyInfo *info;
- g_variant_get (changed_properties, "a{sv}", &iter);
- while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
- {
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_user_service_interface_info, key);
- g_datalist_remove_data (&proxy->priv->qdata, key);
- if (info != NULL)
- g_object_notify (G_OBJECT (proxy), info->hyphen_name);
- }
- g_variant_iter_free (iter);
- for (n = 0; invalidated_properties[n] != NULL; n++)
- {
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_user_service_interface_info, invalidated_properties[n]);
- g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
- if (info != NULL)
- g_object_notify (G_OBJECT (proxy), info->hyphen_name);
- }
-}
-
-static void
-gum_dbus_user_service_proxy_init (GumDbusUserServiceProxy *proxy)
-{
- proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, GUM_DBUS_TYPE_USER_SERVICE_PROXY, GumDbusUserServiceProxyPrivate);
- g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), gum_dbus_user_service_interface_info ());
-}
-
-static void
-gum_dbus_user_service_proxy_class_init (GumDbusUserServiceProxyClass *klass)
-{
- GObjectClass *gobject_class;
- GDBusProxyClass *proxy_class;
-
- g_type_class_add_private (klass, sizeof (GumDbusUserServiceProxyPrivate));
-
- gobject_class = G_OBJECT_CLASS (klass);
- gobject_class->finalize = gum_dbus_user_service_proxy_finalize;
- gobject_class->get_property = gum_dbus_user_service_proxy_get_property;
- gobject_class->set_property = gum_dbus_user_service_proxy_set_property;
-
- proxy_class = G_DBUS_PROXY_CLASS (klass);
- proxy_class->g_signal = gum_dbus_user_service_proxy_g_signal;
- proxy_class->g_properties_changed = gum_dbus_user_service_proxy_g_properties_changed;
-
-}
-
-static void
-gum_dbus_user_service_proxy_iface_init (GumDbusUserServiceIface *iface)
-{
-}
-
-/**
- * gum_dbus_user_service_proxy_new:
- * @connection: A #GDBusConnection.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-UserService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.UserService</link>. See g_dbus_proxy_new() for more details.
- *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_user_service_proxy_new_finish() to get the result of the operation.
- *
- * See gum_dbus_user_service_proxy_new_sync() for the synchronous, blocking version of this constructor.
- */
-void
-gum_dbus_user_service_proxy_new (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_async_initable_new_async (GUM_DBUS_TYPE_USER_SERVICE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.UserService", NULL);
-}
-
-/**
- * gum_dbus_user_service_proxy_new_finish:
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_user_service_proxy_new().
- * @error: Return location for error or %NULL
- *
- * Finishes an operation started with gum_dbus_user_service_proxy_new().
- *
- * Returns: (transfer full) (type GumDbusUserServiceProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusUserService *
-gum_dbus_user_service_proxy_new_finish (
- GAsyncResult *res,
- GError **error)
-{
- GObject *ret;
- GObject *source_object;
- source_object = g_async_result_get_source_object (res);
- ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
- g_object_unref (source_object);
- if (ret != NULL)
- return GUM_DBUS_USER_SERVICE (ret);
- else
- return NULL;
-}
-
-/**
- * gum_dbus_user_service_proxy_new_sync:
- * @connection: A #GDBusConnection.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL
- *
- * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-UserService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.UserService</link>. See g_dbus_proxy_new_sync() for more details.
- *
- * The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_user_service_proxy_new() for the asynchronous version of this constructor.
- *
- * Returns: (transfer full) (type GumDbusUserServiceProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusUserService *
-gum_dbus_user_service_proxy_new_sync (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error)
-{
- GInitable *ret;
- ret = g_initable_new (GUM_DBUS_TYPE_USER_SERVICE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.UserService", NULL);
- if (ret != NULL)
- return GUM_DBUS_USER_SERVICE (ret);
- else
- return NULL;
-}
-
-
-/**
- * gum_dbus_user_service_proxy_new_for_bus:
- * @bus_type: A #GBusType.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: A bus name (well-known or unique).
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
- * @user_data: User data to pass to @callback.
- *
- * Like gum_dbus_user_service_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
- *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call gum_dbus_user_service_proxy_new_for_bus_finish() to get the result of the operation.
- *
- * See gum_dbus_user_service_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
- */
-void
-gum_dbus_user_service_proxy_new_for_bus (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_async_initable_new_async (GUM_DBUS_TYPE_USER_SERVICE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.UserService", NULL);
-}
-
-/**
- * gum_dbus_user_service_proxy_new_for_bus_finish:
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gum_dbus_user_service_proxy_new_for_bus().
- * @error: Return location for error or %NULL
- *
- * Finishes an operation started with gum_dbus_user_service_proxy_new_for_bus().
- *
- * Returns: (transfer full) (type GumDbusUserServiceProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusUserService *
-gum_dbus_user_service_proxy_new_for_bus_finish (
- GAsyncResult *res,
- GError **error)
-{
- GObject *ret;
- GObject *source_object;
- source_object = g_async_result_get_source_object (res);
- ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
- g_object_unref (source_object);
- if (ret != NULL)
- return GUM_DBUS_USER_SERVICE (ret);
- else
- return NULL;
-}
-
-/**
- * gum_dbus_user_service_proxy_new_for_bus_sync:
- * @bus_type: A #GBusType.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: A bus name (well-known or unique).
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL
- *
- * Like gum_dbus_user_service_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
- *
- * The calling thread is blocked until a reply is received.
- *
- * See gum_dbus_user_service_proxy_new_for_bus() for the asynchronous version of this constructor.
- *
- * Returns: (transfer full) (type GumDbusUserServiceProxy): The constructed proxy object or %NULL if @error is set.
- */
-GumDbusUserService *
-gum_dbus_user_service_proxy_new_for_bus_sync (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error)
-{
- GInitable *ret;
- ret = g_initable_new (GUM_DBUS_TYPE_USER_SERVICE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.tizen.SecurityAccounts.gUserManagement.UserService", NULL);
- if (ret != NULL)
- return GUM_DBUS_USER_SERVICE (ret);
- else
- return NULL;
-}
-
-
-/* ------------------------------------------------------------------------ */
-
-/**
- * GumDbusUserServiceSkeleton:
- *
- * The #GumDbusUserServiceSkeleton structure contains only private data and should only be accessed using the provided API.
- */
-
-/**
- * GumDbusUserServiceSkeletonClass:
- * @parent_class: The parent class.
- *
- * Class structure for #GumDbusUserServiceSkeleton.
- */
-
-struct _GumDbusUserServiceSkeletonPrivate
-{
- GValue *properties;
- GList *changed_properties;
- GSource *changed_properties_idle_source;
- GMainContext *context;
- GMutex lock;
-};
-
-static void
-_gum_dbus_user_service_skeleton_handle_method_call (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *method_name,
- GVariant *parameters,
- GDBusMethodInvocation *invocation,
- gpointer user_data)
-{
- GumDbusUserServiceSkeleton *skeleton = GUM_DBUS_USER_SERVICE_SKELETON (user_data);
- _ExtendedGDBusMethodInfo *info;
- GVariantIter iter;
- GVariant *child;
- GValue *paramv;
- guint num_params;
- guint num_extra;
- guint n;
- guint signal_id;
- GValue return_value = G_VALUE_INIT;
- info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
- g_assert (info != NULL);
- num_params = g_variant_n_children (parameters);
- num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
- n = 0;
- g_value_init (¶mv[n], GUM_DBUS_TYPE_USER_SERVICE);
- g_value_set_object (¶mv[n++], skeleton);
- g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
- g_value_set_object (¶mv[n++], invocation);
- if (info->pass_fdlist)
- {
-#ifdef G_OS_UNIX
- g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
- g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
-#else
- g_assert_not_reached ();
-#endif
- }
- g_variant_iter_init (&iter, parameters);
- while ((child = g_variant_iter_next_value (&iter)) != NULL)
- {
- _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
- if (arg_info->use_gvariant)
- {
- g_value_init (¶mv[n], G_TYPE_VARIANT);
- g_value_set_variant (¶mv[n], child);
- n++;
- }
- else
- g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
- g_variant_unref (child);
- }
- signal_id = g_signal_lookup (info->signal_name, GUM_DBUS_TYPE_USER_SERVICE);
- g_value_init (&return_value, G_TYPE_BOOLEAN);
- g_signal_emitv (paramv, signal_id, 0, &return_value);
- if (!g_value_get_boolean (&return_value))
- g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
- g_value_unset (&return_value);
- for (n = 0; n < num_params + num_extra; n++)
- g_value_unset (¶mv[n]);
- g_free (paramv);
-}
-
-static GVariant *
-_gum_dbus_user_service_skeleton_handle_get_property (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *property_name,
- GError **error,
- gpointer user_data)
-{
- GumDbusUserServiceSkeleton *skeleton = GUM_DBUS_USER_SERVICE_SKELETON (user_data);
- GValue value = G_VALUE_INIT;
- GParamSpec *pspec;
- _ExtendedGDBusPropertyInfo *info;
- GVariant *ret;
- ret = NULL;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_user_service_interface_info, property_name);
- g_assert (info != NULL);
- pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
- if (pspec == NULL)
- {
- g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
- }
- else
- {
- g_value_init (&value, pspec->value_type);
- g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
- ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
- g_value_unset (&value);
- }
- return ret;
-}
-
-static gboolean
-_gum_dbus_user_service_skeleton_handle_set_property (
- GDBusConnection *connection,
- const gchar *sender,
- const gchar *object_path,
- const gchar *interface_name,
- const gchar *property_name,
- GVariant *variant,
- GError **error,
- gpointer user_data)
-{
- GumDbusUserServiceSkeleton *skeleton = GUM_DBUS_USER_SERVICE_SKELETON (user_data);
- GValue value = G_VALUE_INIT;
- GParamSpec *pspec;
- _ExtendedGDBusPropertyInfo *info;
- gboolean ret;
- ret = FALSE;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_gum_dbus_user_service_interface_info, property_name);
- g_assert (info != NULL);
- pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
- if (pspec == NULL)
- {
- g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
- }
- else
- {
- if (info->use_gvariant)
- g_value_set_variant (&value, variant);
- else
- g_dbus_gvariant_to_gvalue (variant, &value);
- g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
- g_value_unset (&value);
- ret = TRUE;
- }
- return ret;
-}
-
-static const GDBusInterfaceVTable _gum_dbus_user_service_skeleton_vtable =
-{
- _gum_dbus_user_service_skeleton_handle_method_call,
- _gum_dbus_user_service_skeleton_handle_get_property,
- _gum_dbus_user_service_skeleton_handle_set_property
-};
-
-static GDBusInterfaceInfo *
-gum_dbus_user_service_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton)
-{
- return gum_dbus_user_service_interface_info ();
-}
-
-static GDBusInterfaceVTable *
-gum_dbus_user_service_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton)
-{
- return (GDBusInterfaceVTable *) &_gum_dbus_user_service_skeleton_vtable;
-}
-
-static GVariant *
-gum_dbus_user_service_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
-{
- GumDbusUserServiceSkeleton *skeleton = GUM_DBUS_USER_SERVICE_SKELETON (_skeleton);
-
- GVariantBuilder builder;
- guint n;
- g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
- if (_gum_dbus_user_service_interface_info.parent_struct.properties == NULL)
- goto out;
- for (n = 0; _gum_dbus_user_service_interface_info.parent_struct.properties[n] != NULL; n++)
- {
- GDBusPropertyInfo *info = _gum_dbus_user_service_interface_info.parent_struct.properties[n];
- if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
- {
- GVariant *value;
- value = _gum_dbus_user_service_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.UserService", info->name, NULL, skeleton);
- if (value != NULL)
- {
- g_variant_take_ref (value);
- g_variant_builder_add (&builder, "{sv}", info->name, value);
- g_variant_unref (value);
- }
- }
- }
-out:
- return g_variant_builder_end (&builder);
-}
-
-static void
-gum_dbus_user_service_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
-{
-}
-
-static void
-_gum_dbus_user_service_on_signal_user_added (
- GumDbusUserService *object,
- guint arg_uid)
-{
- GumDbusUserServiceSkeleton *skeleton = GUM_DBUS_USER_SERVICE_SKELETON (object);
-
- GList *connections, *l;
- GVariant *signal_variant;
- connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
-
- signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
- arg_uid));
- for (l = connections; l != NULL; l = l->next)
- {
- GDBusConnection *connection = l->data;
- g_dbus_connection_emit_signal (connection,
- NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.UserService", "userAdded",
- signal_variant, NULL);
- }
- g_variant_unref (signal_variant);
- g_list_free_full (connections, g_object_unref);
-}
-
-static void
-_gum_dbus_user_service_on_signal_user_deleted (
- GumDbusUserService *object,
- guint arg_uid)
-{
- GumDbusUserServiceSkeleton *skeleton = GUM_DBUS_USER_SERVICE_SKELETON (object);
-
- GList *connections, *l;
- GVariant *signal_variant;
- connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
-
- signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
- arg_uid));
- for (l = connections; l != NULL; l = l->next)
- {
- GDBusConnection *connection = l->data;
- g_dbus_connection_emit_signal (connection,
- NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.UserService", "userDeleted",
- signal_variant, NULL);
- }
- g_variant_unref (signal_variant);
- g_list_free_full (connections, g_object_unref);
-}
-
-static void
-_gum_dbus_user_service_on_signal_user_updated (
- GumDbusUserService *object,
- guint arg_uid)
-{
- GumDbusUserServiceSkeleton *skeleton = GUM_DBUS_USER_SERVICE_SKELETON (object);
-
- GList *connections, *l;
- GVariant *signal_variant;
- connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
-
- signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
- arg_uid));
- for (l = connections; l != NULL; l = l->next)
- {
- GDBusConnection *connection = l->data;
- g_dbus_connection_emit_signal (connection,
- NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.tizen.SecurityAccounts.gUserManagement.UserService", "userUpdated",
- signal_variant, NULL);
- }
- g_variant_unref (signal_variant);
- g_list_free_full (connections, g_object_unref);
-}
-
-static void gum_dbus_user_service_skeleton_iface_init (GumDbusUserServiceIface *iface);
-G_DEFINE_TYPE_WITH_CODE (GumDbusUserServiceSkeleton, gum_dbus_user_service_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
- G_IMPLEMENT_INTERFACE (GUM_DBUS_TYPE_USER_SERVICE, gum_dbus_user_service_skeleton_iface_init));
-
-static void
-gum_dbus_user_service_skeleton_finalize (GObject *object)
-{
- GumDbusUserServiceSkeleton *skeleton = GUM_DBUS_USER_SERVICE_SKELETON (object);
- g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
- if (skeleton->priv->changed_properties_idle_source != NULL)
- g_source_destroy (skeleton->priv->changed_properties_idle_source);
- g_main_context_unref (skeleton->priv->context);
- g_mutex_clear (&skeleton->priv->lock);
- G_OBJECT_CLASS (gum_dbus_user_service_skeleton_parent_class)->finalize (object);
-}
-
-static void
-gum_dbus_user_service_skeleton_init (GumDbusUserServiceSkeleton *skeleton)
-{
- skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, GUM_DBUS_TYPE_USER_SERVICE_SKELETON, GumDbusUserServiceSkeletonPrivate);
- g_mutex_init (&skeleton->priv->lock);
- skeleton->priv->context = g_main_context_ref_thread_default ();
-}
-
-static void
-gum_dbus_user_service_skeleton_class_init (GumDbusUserServiceSkeletonClass *klass)
-{
- GObjectClass *gobject_class;
- GDBusInterfaceSkeletonClass *skeleton_class;
-
- g_type_class_add_private (klass, sizeof (GumDbusUserServiceSkeletonPrivate));
-
- gobject_class = G_OBJECT_CLASS (klass);
- gobject_class->finalize = gum_dbus_user_service_skeleton_finalize;
-
- skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
- skeleton_class->get_info = gum_dbus_user_service_skeleton_dbus_interface_get_info;
- skeleton_class->get_properties = gum_dbus_user_service_skeleton_dbus_interface_get_properties;
- skeleton_class->flush = gum_dbus_user_service_skeleton_dbus_interface_flush;
- skeleton_class->get_vtable = gum_dbus_user_service_skeleton_dbus_interface_get_vtable;
-}
-
-static void
-gum_dbus_user_service_skeleton_iface_init (GumDbusUserServiceIface *iface)
-{
- iface->user_added = _gum_dbus_user_service_on_signal_user_added;
- iface->user_deleted = _gum_dbus_user_service_on_signal_user_deleted;
- iface->user_updated = _gum_dbus_user_service_on_signal_user_updated;
-}
-
-/**
- * gum_dbus_user_service_skeleton_new:
- *
- * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-tizen-SecurityAccounts-gUserManagement-UserService.top_of_page">org.tizen.SecurityAccounts.gUserManagement.UserService</link>.
- *
- * Returns: (transfer full) (type GumDbusUserServiceSkeleton): The skeleton object.
- */
-GumDbusUserService *
-gum_dbus_user_service_skeleton_new (void)
-{
- return GUM_DBUS_USER_SERVICE (g_object_new (GUM_DBUS_TYPE_USER_SERVICE_SKELETON, NULL));
-}
-
+++ /dev/null
-/*
- * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
- *
- * The license of this code is the same as for the source it was derived from.
- */
-
-#ifndef __GUM_DBUS_USER_SERVICE_GEN_H__
-#define __GUM_DBUS_USER_SERVICE_GEN_H__
-
-#include <gio/gio.h>
-
-G_BEGIN_DECLS
-
-
-/* ------------------------------------------------------------------------ */
-/* Declarations for org.tizen.SecurityAccounts.gUserManagement.UserService */
-
-#define GUM_DBUS_TYPE_USER_SERVICE (gum_dbus_user_service_get_type ())
-#define GUM_DBUS_USER_SERVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_USER_SERVICE, GumDbusUserService))
-#define GUM_DBUS_IS_USER_SERVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_USER_SERVICE))
-#define GUM_DBUS_USER_SERVICE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GUM_DBUS_TYPE_USER_SERVICE, GumDbusUserServiceIface))
-
-struct _GumDbusUserService;
-typedef struct _GumDbusUserService GumDbusUserService;
-typedef struct _GumDbusUserServiceIface GumDbusUserServiceIface;
-
-struct _GumDbusUserServiceIface
-{
- GTypeInterface parent_iface;
-
-
- gboolean (*handle_create_new_user) (
- GumDbusUserService *object,
- GDBusMethodInvocation *invocation);
-
- gboolean (*handle_get_user) (
- GumDbusUserService *object,
- GDBusMethodInvocation *invocation,
- guint arg_uid);
-
- gboolean (*handle_get_user_by_name) (
- GumDbusUserService *object,
- GDBusMethodInvocation *invocation,
- const gchar *arg_username);
-
- void (*user_added) (
- GumDbusUserService *object,
- guint arg_uid);
-
- void (*user_deleted) (
- GumDbusUserService *object,
- guint arg_uid);
-
- void (*user_updated) (
- GumDbusUserService *object,
- guint arg_uid);
-
-};
-
-GType gum_dbus_user_service_get_type (void) G_GNUC_CONST;
-
-GDBusInterfaceInfo *gum_dbus_user_service_interface_info (void);
-guint gum_dbus_user_service_override_properties (GObjectClass *klass, guint property_id_begin);
-
-
-/* D-Bus method call completion functions: */
-void gum_dbus_user_service_complete_create_new_user (
- GumDbusUserService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath);
-
-void gum_dbus_user_service_complete_get_user (
- GumDbusUserService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath);
-
-void gum_dbus_user_service_complete_get_user_by_name (
- GumDbusUserService *object,
- GDBusMethodInvocation *invocation,
- const gchar *objectPath);
-
-
-
-/* D-Bus signal emissions functions: */
-void gum_dbus_user_service_emit_user_added (
- GumDbusUserService *object,
- guint arg_uid);
-
-void gum_dbus_user_service_emit_user_deleted (
- GumDbusUserService *object,
- guint arg_uid);
-
-void gum_dbus_user_service_emit_user_updated (
- GumDbusUserService *object,
- guint arg_uid);
-
-
-
-/* D-Bus method calls: */
-void gum_dbus_user_service_call_create_new_user (
- GumDbusUserService *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_user_service_call_create_new_user_finish (
- GumDbusUserService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_user_service_call_create_new_user_sync (
- GumDbusUserService *proxy,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_user_service_call_get_user (
- GumDbusUserService *proxy,
- guint arg_uid,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_user_service_call_get_user_finish (
- GumDbusUserService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_user_service_call_get_user_sync (
- GumDbusUserService *proxy,
- guint arg_uid,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_user_service_call_get_user_by_name (
- GumDbusUserService *proxy,
- const gchar *arg_username,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean gum_dbus_user_service_call_get_user_by_name_finish (
- GumDbusUserService *proxy,
- gchar **out_objectPath,
- GAsyncResult *res,
- GError **error);
-
-gboolean gum_dbus_user_service_call_get_user_by_name_sync (
- GumDbusUserService *proxy,
- const gchar *arg_username,
- gchar **out_objectPath,
- GCancellable *cancellable,
- GError **error);
-
-
-
-/* ---- */
-
-#define GUM_DBUS_TYPE_USER_SERVICE_PROXY (gum_dbus_user_service_proxy_get_type ())
-#define GUM_DBUS_USER_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_USER_SERVICE_PROXY, GumDbusUserServiceProxy))
-#define GUM_DBUS_USER_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GUM_DBUS_TYPE_USER_SERVICE_PROXY, GumDbusUserServiceProxyClass))
-#define GUM_DBUS_USER_SERVICE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUM_DBUS_TYPE_USER_SERVICE_PROXY, GumDbusUserServiceProxyClass))
-#define GUM_DBUS_IS_USER_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_USER_SERVICE_PROXY))
-#define GUM_DBUS_IS_USER_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUM_DBUS_TYPE_USER_SERVICE_PROXY))
-
-typedef struct _GumDbusUserServiceProxy GumDbusUserServiceProxy;
-typedef struct _GumDbusUserServiceProxyClass GumDbusUserServiceProxyClass;
-typedef struct _GumDbusUserServiceProxyPrivate GumDbusUserServiceProxyPrivate;
-
-struct _GumDbusUserServiceProxy
-{
- /*< private >*/
- GDBusProxy parent_instance;
- GumDbusUserServiceProxyPrivate *priv;
-};
-
-struct _GumDbusUserServiceProxyClass
-{
- GDBusProxyClass parent_class;
-};
-
-GType gum_dbus_user_service_proxy_get_type (void) G_GNUC_CONST;
-
-void gum_dbus_user_service_proxy_new (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-GumDbusUserService *gum_dbus_user_service_proxy_new_finish (
- GAsyncResult *res,
- GError **error);
-GumDbusUserService *gum_dbus_user_service_proxy_new_sync (
- GDBusConnection *connection,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error);
-
-void gum_dbus_user_service_proxy_new_for_bus (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-GumDbusUserService *gum_dbus_user_service_proxy_new_for_bus_finish (
- GAsyncResult *res,
- GError **error);
-GumDbusUserService *gum_dbus_user_service_proxy_new_for_bus_sync (
- GBusType bus_type,
- GDBusProxyFlags flags,
- const gchar *name,
- const gchar *object_path,
- GCancellable *cancellable,
- GError **error);
-
-
-/* ---- */
-
-#define GUM_DBUS_TYPE_USER_SERVICE_SKELETON (gum_dbus_user_service_skeleton_get_type ())
-#define GUM_DBUS_USER_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUM_DBUS_TYPE_USER_SERVICE_SKELETON, GumDbusUserServiceSkeleton))
-#define GUM_DBUS_USER_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GUM_DBUS_TYPE_USER_SERVICE_SKELETON, GumDbusUserServiceSkeletonClass))
-#define GUM_DBUS_USER_SERVICE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUM_DBUS_TYPE_USER_SERVICE_SKELETON, GumDbusUserServiceSkeletonClass))
-#define GUM_DBUS_IS_USER_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUM_DBUS_TYPE_USER_SERVICE_SKELETON))
-#define GUM_DBUS_IS_USER_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUM_DBUS_TYPE_USER_SERVICE_SKELETON))
-
-typedef struct _GumDbusUserServiceSkeleton GumDbusUserServiceSkeleton;
-typedef struct _GumDbusUserServiceSkeletonClass GumDbusUserServiceSkeletonClass;
-typedef struct _GumDbusUserServiceSkeletonPrivate GumDbusUserServiceSkeletonPrivate;
-
-struct _GumDbusUserServiceSkeleton
-{
- /*< private >*/
- GDBusInterfaceSkeleton parent_instance;
- GumDbusUserServiceSkeletonPrivate *priv;
-};
-
-struct _GumDbusUserServiceSkeletonClass
-{
- GDBusInterfaceSkeletonClass parent_class;
-};
-
-GType gum_dbus_user_service_skeleton_get_type (void) G_GNUC_CONST;
-
-GumDbusUserService *gum_dbus_user_service_skeleton_new (void);
-
-
-G_END_DECLS
-
-#endif /* __GUM_DBUS_USER_SERVICE_GEN_H__ */
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
host_triplet = @host@
bin_PROGRAMS = gumd$(EXEEXT)
subdir = src/daemon
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(srcdir)/gumd.conf.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(srcdir)/gumd.conf.in $(top_srcdir)/build-aux/depcomp
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
+am__v_lt_1 =
gumd_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(gumd_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
DEFAULT_INCLUDES =
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
-am__v_CC_0 = @echo " CC " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
-am__v_CCLD_0 = @echo " CCLD " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
SOURCES = $(gumd_SOURCES)
DIST_SOURCES = $(gumd_SOURCES)
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
DATA = $(sysconf_DATA)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+ fi; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
- while read p p1; do if test -f $$p || test -f $$p1; \
- then echo "$$p"; echo "$$p"; else :; fi; \
+ while read p p1; do if test -f $$p \
+ || test -f $$p1 \
+ ; then echo "$$p"; echo "$$p"; else :; fi; \
done | \
- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+ sed -e 'p;s,.*/,,;n;h' \
+ -e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
- -e 's/$$/$(EXEEXT)/' `; \
+ -e 's/$$/$(EXEEXT)/' \
+ `; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(bindir)" && rm -f $$files
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \
rm -f $$list
+
gumd$(EXEEXT): $(gumd_OBJECTS) $(gumd_DEPENDENCIES) $(EXTRA_gumd_DEPENDENCIES)
@rm -f gumd$(EXEEXT)
$(AM_V_CCLD)$(gumd_LINK) $(gumd_OBJECTS) $(gumd_LDADD) $(LIBS)
-rm -rf .libs _libs
install-sysconfDATA: $(sysconf_DATA)
@$(NORMAL_INSTALL)
- test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
@list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(sysconfdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" || exit 1; \
+ fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir)
# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-$(RECURSIVE_CLEAN_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(MKDIR_P) "$(distdir)/$$subdir" \
- || exit 1; \
- fi; \
- done
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
uninstall-am: uninstall-binPROGRAMS uninstall-sysconfDATA
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
- install-am install-exec-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am check check-am clean clean-binPROGRAMS \
- clean-generic clean-libtool ctags ctags-recursive distclean \
- distclean-compile distclean-generic distclean-libtool \
- distclean-tags distdir dvi dvi-am html html-am info info-am \
- install install-am install-binPROGRAMS install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-exec-hook install-html install-html-am \
- install-info install-info-am install-man install-pdf \
- install-pdf-am install-ps install-ps-am install-strip \
- install-sysconfDATA installcheck installcheck-am installdirs \
- installdirs-am maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-compile mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am uninstall-binPROGRAMS \
+.MAKE: $(am__recursive_targets) install-am install-exec-am \
+ install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+ check-am clean clean-binPROGRAMS clean-generic clean-libtool \
+ cscopelist-am ctags ctags-am distclean distclean-compile \
+ distclean-generic distclean-libtool distclean-tags distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-binPROGRAMS install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-exec-hook \
+ install-html install-html-am install-info install-info-am \
+ install-man install-pdf install-pdf-am install-ps \
+ install-ps-am install-strip install-sysconfDATA installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
uninstall-sysconfDATA
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
build_triplet = @build@
host_triplet = @host@
subdir = src/daemon/dbus
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(srcdir)/gumd-dbus.conf.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(srcdir)/gumd-dbus.conf.in $(top_srcdir)/build-aux/depcomp
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
+am__v_lt_1 =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
DEFAULT_INCLUDES =
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
-am__v_CC_0 = @echo " CC " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
-am__v_CCLD_0 = @echo " CCLD " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
SOURCES = $(libgumd_dbus_la_SOURCES)
DIST_SOURCES = $(libgumd_dbus_la_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
am__installdirs = "$(DESTDIR)$(dbusconfdir)" \
"$(DESTDIR)$(dbusservicedir)" "$(DESTDIR)$(dbusservicedir)"
DATA = $(dbusconf_DATA) $(dbusservice_DATA) $(nodist_dbusservice_DATA)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
clean-noinstLTLIBRARIES:
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
- @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
- dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- test "$$dir" != "$$p" || dir=.; \
- echo "rm -f \"$${dir}/so_locations\""; \
- rm -f "$${dir}/so_locations"; \
- done
+ @list='$(noinst_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
libgumd-dbus.la: $(libgumd_dbus_la_OBJECTS) $(libgumd_dbus_la_DEPENDENCIES) $(EXTRA_libgumd_dbus_la_DEPENDENCIES)
$(AM_V_CCLD)$(LINK) $(libgumd_dbus_la_OBJECTS) $(libgumd_dbus_la_LIBADD) $(LIBS)
-rm -rf .libs _libs
install-dbusconfDATA: $(dbusconf_DATA)
@$(NORMAL_INSTALL)
- test -z "$(dbusconfdir)" || $(MKDIR_P) "$(DESTDIR)$(dbusconfdir)"
@list='$(dbusconf_DATA)'; test -n "$(dbusconfdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(dbusconfdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(dbusconfdir)" || exit 1; \
+ fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
dir='$(DESTDIR)$(dbusconfdir)'; $(am__uninstall_files_from_dir)
install-dbusserviceDATA: $(dbusservice_DATA)
@$(NORMAL_INSTALL)
- test -z "$(dbusservicedir)" || $(MKDIR_P) "$(DESTDIR)$(dbusservicedir)"
@list='$(dbusservice_DATA)'; test -n "$(dbusservicedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(dbusservicedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(dbusservicedir)" || exit 1; \
+ fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
dir='$(DESTDIR)$(dbusservicedir)'; $(am__uninstall_files_from_dir)
install-nodist_dbusserviceDATA: $(nodist_dbusservice_DATA)
@$(NORMAL_INSTALL)
- test -z "$(dbusservicedir)" || $(MKDIR_P) "$(DESTDIR)$(dbusservicedir)"
@list='$(nodist_dbusservice_DATA)'; test -n "$(dbusservicedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(dbusservicedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(dbusservicedir)" || exit 1; \
+ fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(dbusservicedir)'; $(am__uninstall_files_from_dir)
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
.MAKE: install-am install-strip
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
- clean-libtool clean-local clean-noinstLTLIBRARIES ctags \
- distclean distclean-compile distclean-generic \
- distclean-libtool distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-dbusconfDATA install-dbusserviceDATA \
- install-dvi install-dvi-am install-exec install-exec-am \
- install-html install-html-am install-info install-info-am \
- install-man install-nodist_dbusserviceDATA install-pdf \
- install-pdf-am install-ps install-ps-am install-strip \
- installcheck installcheck-am installdirs maintainer-clean \
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
+ clean-libtool clean-local clean-noinstLTLIBRARIES \
+ cscopelist-am ctags ctags-am distclean distclean-compile \
+ distclean-generic distclean-libtool distclean-tags distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dbusconfDATA \
+ install-dbusserviceDATA install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man \
+ install-nodist_dbusserviceDATA install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- tags uninstall uninstall-am uninstall-dbusconfDATA \
+ tags tags-am uninstall uninstall-am uninstall-dbusconfDATA \
uninstall-dbusserviceDATA uninstall-nodist_dbusserviceDATA
break;
}
case PROP_CONNECTION: {
- self->priv->connection = g_value_get_object(value);
+ self->priv->connection = g_value_dup_object(value);
break;
}
default:
}
GumdDbusGroupAdapter *
-gumd_dbus_group_adapter_new (
- GumdDaemonGroup *group,
- guint timeout)
-{
- GError *error = NULL;
- GDBusConnection *connection = g_bus_get_sync (GUM_BUS_TYPE, NULL,
- &error);
-
- if (error) {
- WARN("failed to connect to session bus : %s", error->message);
- g_error_free (error);
- return NULL;
- }
-
- return gumd_dbus_group_adapter_new_with_connection (connection, group,
- timeout);
-}
-
-GumdDbusGroupAdapter *
gumd_dbus_group_adapter_new_with_connection (
GDBusConnection *bus_connection,
GumdDaemonGroup *group,
void) G_GNUC_CONST;
GumdDbusGroupAdapter *
-gumd_dbus_group_adapter_new (
- GumdDaemonGroup *group,
- guint timeout);
-
-GumdDbusGroupAdapter *
gumd_dbus_group_adapter_new_with_connection (
GDBusConnection *connection,
GumdDaemonGroup *group,
switch (property_id) {
case PROP_DAEMON: {
- GObject *daemon = g_value_get_object (value);
- if (daemon) {
- GUM_OBJECT_UNREF (self->priv->daemon);
- self->priv->daemon = GUMD_DAEMON (daemon);
- }
+ self->priv->daemon = g_value_dup_object(value);
break;
}
case PROP_CONNECTION:
- self->priv->connection = g_value_get_object(value);
+ self->priv->connection = g_value_dup_object(value);
break;
case PROP_SERVER_BUSTYPE:
self->priv->dbus_server_type =
self->priv->dbus_group_service = NULL;
}
+ if (self->priv->connection) {
+ /* NOTE: There seems to be some bug in glib's dbus connection's
+ * https://bugzilla.gnome.org/show_bug.cgi?id=734281
+ * worker thread such that it does not closes the stream. The problem
+ * is hard to be tracked exactly as it is more of timing issue.
+ * Following code snippet at least closes the stream to avoid any
+ * descriptors leak.
+ * */
+ GIOStream *stream = g_dbus_connection_get_stream (
+ self->priv->connection);
+ if (stream) g_io_stream_close (stream, NULL, NULL);
+ g_object_unref (self->priv->connection);
+ self->priv->connection = NULL;
+ }
+
GUM_HASHTABLE_UNREF (self->priv->caller_watchers);
G_OBJECT_CLASS (gumd_dbus_group_service_adapter_parent_class)->dispose (
GumdDbusGroupAdapter *dbus_group =
gumd_dbus_group_adapter_new_with_connection (
- g_object_ref (connection), group,
+ connection, group,
gumd_daemon_get_group_timeout (self->priv->daemon));
/* keep alive till this group object gets disposed */
DBG("Export user service interface");
server->priv->user_service =
gumd_dbus_user_service_adapter_new_with_connection (
- g_object_ref (connection),
- g_object_ref (server->priv->daemon),
+ connection,
+ server->priv->daemon,
GUMD_DBUS_SERVER_BUSTYPE_MSG_BUS);
g_object_weak_ref (G_OBJECT (server->priv->user_service),
_on_user_interface_dispose, server);
server->priv->group_service =
gumd_dbus_group_service_adapter_new_with_connection (
- g_object_ref (connection),
- g_object_ref (server->priv->daemon),
+ connection,
+ server->priv->daemon,
GUMD_DBUS_SERVER_BUSTYPE_MSG_BUS);
g_object_weak_ref (G_OBJECT (server->priv->group_service),
_on_group_interface_dispose, server);
DBG("Export interfaces on connection %p", connection);
user_service = gumd_dbus_user_service_adapter_new_with_connection (
- g_object_ref (connection), g_object_ref (server->priv->daemon),
- GUMD_DBUS_SERVER_BUSTYPE_P2P);
+ connection, server->priv->daemon, GUMD_DBUS_SERVER_BUSTYPE_P2P);
_add_user_watchers (connection, user_service, server);
group_service = gumd_dbus_group_service_adapter_new_with_connection (
- g_object_ref (connection), g_object_ref (server->priv->daemon),
- GUMD_DBUS_SERVER_BUSTYPE_P2P);
+ connection, server->priv->daemon, GUMD_DBUS_SERVER_BUSTYPE_P2P);
_add_group_watchers (connection, group_service, server);
}
break;
}
case PROP_CONNECTION: {
- self->priv->connection = g_value_get_object(value);
+ self->priv->connection = g_value_dup_object(value);
break;
}
default:
switch (property_id) {
case PROP_DAEMON: {
- GObject *daemon = g_value_get_object (value);
- if (daemon) {
- GUM_OBJECT_UNREF (self->priv->daemon);
- self->priv->daemon = GUMD_DAEMON (daemon);
- }
+ self->priv->daemon = g_value_dup_object(value);
break;
}
case PROP_CONNECTION:
- self->priv->connection = g_value_get_object(value);
+ self->priv->connection = g_value_dup_object(value);
break;
case PROP_SERVER_BUSTYPE:
self->priv->dbus_server_type =
self->priv->dbus_user_service = NULL;
}
+ if (self->priv->connection) {
+ /* NOTE: There seems to be some bug in glib's dbus connection's
+ * https://bugzilla.gnome.org/show_bug.cgi?id=734281
+ * worker thread such that it does not closes the stream. The problem
+ * is hard to be tracked exactly as it is more of timing issue.
+ * Following code snippet at least closes the stream to avoid any
+ * descriptors leak.
+ * */
+ GIOStream *stream = g_dbus_connection_get_stream (
+ self->priv->connection);
+ if (stream) g_io_stream_close (stream, NULL, NULL);
+ g_object_unref (self->priv->connection);
+ self->priv->connection = NULL;
+ }
+
GUM_HASHTABLE_UNREF (self->priv->caller_watchers);
G_OBJECT_CLASS (gumd_dbus_user_service_adapter_parent_class)->dispose (
GumdDbusUserAdapter *user_adapter =
gumd_dbus_user_adapter_new_with_connection (
- g_object_ref (connection), user,
+ connection, user,
gumd_daemon_get_user_timeout (self->priv->daemon));
/* keep alive till this user object gets disposed */
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
build_triplet = @build@
host_triplet = @host@
subdir = src/lib
-DIST_COMMON = $(libgum_include_HEADERS) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/libgum-uninstalled.pc.in \
- $(srcdir)/libgum.pc.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(srcdir)/libgum.pc.in $(srcdir)/libgum-uninstalled.pc.in \
+ $(top_srcdir)/build-aux/depcomp $(libgum_include_HEADERS)
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
+am__v_lt_1 =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
DEFAULT_INCLUDES =
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
-am__v_CC_0 = @echo " CC " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
-am__v_CCLD_0 = @echo " CCLD " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
SOURCES = $(libgum_la_SOURCES) $(dist_libgum_la_SOURCES)
DIST_SOURCES = $(libgum_la_SOURCES) $(dist_libgum_la_SOURCES)
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
DATA = $(pkgconfig_DATA)
HEADERS = $(libgum_include_HEADERS)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
libgum-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/libgum-uninstalled.pc.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
@$(NORMAL_INSTALL)
- test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
list2=; for p in $$list; do \
if test -f $$p; then \
else :; fi; \
done; \
test -z "$$list2" || { \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
}
clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
- dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- test "$$dir" != "$$p" || dir=.; \
- echo "rm -f \"$${dir}/so_locations\""; \
- rm -f "$${dir}/so_locations"; \
- done
+ @list='$(lib_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
libgum.la: $(libgum_la_OBJECTS) $(libgum_la_DEPENDENCIES) $(EXTRA_libgum_la_DEPENDENCIES)
$(AM_V_CCLD)$(LINK) -rpath $(libdir) $(libgum_la_OBJECTS) $(libgum_la_LIBADD) $(LIBS)
-rm -rf .libs _libs
install-pkgconfigDATA: $(pkgconfig_DATA)
@$(NORMAL_INSTALL)
- test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
+ fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
install-libgum_includeHEADERS: $(libgum_include_HEADERS)
@$(NORMAL_INSTALL)
- test -z "$(libgum_includedir)" || $(MKDIR_P) "$(DESTDIR)$(libgum_includedir)"
@list='$(libgum_include_HEADERS)'; test -n "$(libgum_includedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libgum_includedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libgum_includedir)" || exit 1; \
+ fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
dir='$(DESTDIR)$(libgum_includedir)'; $(am__uninstall_files_from_dir)
# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-$(RECURSIVE_CLEAN_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(MKDIR_P) "$(distdir)/$$subdir" \
- || exit 1; \
- fi; \
- done
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
uninstall-am: uninstall-libLTLIBRARIES uninstall-libgum_includeHEADERS \
uninstall-pkgconfigDATA
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
- install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am check check-am clean clean-generic \
- clean-libLTLIBRARIES clean-libtool ctags ctags-recursive \
- distclean distclean-compile distclean-generic \
- distclean-libtool distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-libLTLIBRARIES \
- install-libgum_includeHEADERS install-man install-pdf \
- install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- installdirs-am maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-compile mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am uninstall-libLTLIBRARIES \
+.MAKE: $(am__recursive_targets) install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+ check-am clean clean-generic clean-libLTLIBRARIES \
+ clean-libtool cscopelist-am ctags ctags-am distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am \
+ install-libLTLIBRARIES install-libgum_includeHEADERS \
+ install-man install-pdf install-pdf-am install-pkgconfigDATA \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES \
uninstall-libgum_includeHEADERS uninstall-pkgconfigDATA
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@SET_MAKE@
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
@HAVE_LIBTLM_NFC_TRUE@am__append_1 = $(LIBTLM_NFC_CFLAGS)
@HAVE_LIBTLM_NFC_TRUE@am__append_2 = $(LIBTLM_NFC_LIBS)
subdir = src/utils
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/build-aux/depcomp
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
+am__v_lt_1 =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
DEFAULT_INCLUDES =
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
-am__v_CC_0 = @echo " CC " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
-am__v_CCLD_0 = @echo " CCLD " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
SOURCES = $(gum_utils_SOURCES)
DIST_SOURCES = $(gum_utils_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
$(am__aclocal_m4_deps):
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+ fi; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
- while read p p1; do if test -f $$p || test -f $$p1; \
- then echo "$$p"; echo "$$p"; else :; fi; \
+ while read p p1; do if test -f $$p \
+ || test -f $$p1 \
+ ; then echo "$$p"; echo "$$p"; else :; fi; \
done | \
- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+ sed -e 'p;s,.*/,,;n;h' \
+ -e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
- -e 's/$$/$(EXEEXT)/' `; \
+ -e 's/$$/$(EXEEXT)/' \
+ `; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(bindir)" && rm -f $$files
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \
rm -f $$list
+
gum-utils$(EXEEXT): $(gum_utils_OBJECTS) $(gum_utils_DEPENDENCIES) $(EXTRA_gum_utils_DEPENDENCIES)
@rm -f gum-utils$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(gum_utils_OBJECTS) $(gum_utils_LDADD) $(LIBS)
clean-libtool:
-rm -rf .libs _libs
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
.MAKE: install-am install-strip
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
- clean-generic clean-libtool ctags distclean distclean-compile \
- distclean-generic distclean-libtool distclean-tags distdir dvi \
- dvi-am html html-am info info-am install install-am \
- install-binPROGRAMS install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
- pdf pdf-am ps ps-am tags uninstall uninstall-am \
- uninstall-binPROGRAMS
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
+ clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
+ ctags ctags-am distclean distclean-compile distclean-generic \
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-binPROGRAMS \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags tags-am uninstall uninstall-am uninstall-binPROGRAMS
# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@SET_MAKE@
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
build_triplet = @build@
host_triplet = @host@
subdir = test
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
+am__v_at_1 =
SOURCES =
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = common daemon lib
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
-rm -rf .libs _libs
# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-$(RECURSIVE_CLEAN_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(MKDIR_P) "$(distdir)/$$subdir" \
- || exit 1; \
- fi; \
- done
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
- ctags-recursive install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am check check-am check-local clean clean-generic \
- clean-libtool ctags ctags-recursive distclean \
- distclean-generic distclean-libtool distclean-tags distdir dvi \
- dvi-am html html-am info info-am install install-am \
- install-data install-data-am install-dvi install-dvi-am \
- install-exec install-exec-am install-html install-html-am \
- install-info install-info-am install-man install-pdf \
- install-pdf-am install-ps install-ps-am install-strip \
- installcheck installcheck-am installdirs installdirs-am \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- tags tags-recursive uninstall uninstall-am
+.MAKE: $(am__recursive_targets) check-am install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+ check-am check-local clean clean-generic clean-libtool \
+ cscopelist-am ctags ctags-am distclean distclean-generic \
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am
@HAVE_TESTS_FALSE@check-local:
$(CHECK_CFLAGS) \
-U G_LOG_DOMAIN \
-I$(top_srcdir)/src \
+ -I$(top_builddir)/src/ \
-DG_LOG_DOMAIN=\"gum-test-common\"
commontest_LDADD = \
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@SET_MAKE@
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/test/test_common.mk \
- $(top_srcdir)/test/valgrind_common.mk
+DIST_COMMON = $(top_srcdir)/test/test_common.mk \
+ $(top_srcdir)/test/valgrind_common.mk $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(top_srcdir)/build-aux/depcomp \
+ $(top_srcdir)/build-aux/test-driver
TESTS = commontest$(EXEEXT)
check_PROGRAMS = commontest$(EXEEXT)
subdir = test/common
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
+am__v_lt_1 =
commontest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(commontest_CFLAGS) \
$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
DEFAULT_INCLUDES =
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
-am__v_CC_0 = @echo " CC " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
-am__v_CCLD_0 = @echo " CCLD " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
SOURCES = $(commontest_SOURCES)
DIST_SOURCES = $(commontest_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
-am__tty_colors = \
-red=; grn=; lgn=; blu=; std=
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+AM_RECURSIVE_TARGETS = check recheck
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
+LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
$(CHECK_CFLAGS) \
-U G_LOG_DOMAIN \
-I$(top_srcdir)/src \
+ -I$(top_builddir)/src/ \
-DG_LOG_DOMAIN=\"gum-test-common\"
commontest_LDADD = \
all: all-am
.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
+.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/test/test_common.mk $(top_srcdir)/test/valgrind_common.mk $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \
rm -f $$list
+
commontest$(EXEEXT): $(commontest_OBJECTS) $(commontest_DEPENDENCIES) $(EXTRA_commontest_DEPENDENCIES)
@rm -f commontest$(EXEEXT)
$(AM_V_CCLD)$(commontest_LINK) $(commontest_OBJECTS) $(commontest_LDADD) $(LIBS)
clean-libtool:
-rm -rf .libs _libs
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ else \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
else \
- skipped="($$skip tests were not run)"; \
+ color_start= color_end=; \
fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all $(check_PROGRAMS)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+commontest.log: commontest$(EXEEXT)
+ @p='commontest$(EXEEXT)'; \
+ b='commontest'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
.MAKE: check-am install-am install-strip
-.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
- clean-checkPROGRAMS clean-generic clean-libtool ctags \
- distclean distclean-compile distclean-generic \
+.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
+ clean-checkPROGRAMS clean-generic clean-libtool cscopelist-am \
+ ctags ctags-am distclean distclean-compile distclean-generic \
distclean-libtool distclean-tags distdir dvi dvi-am html \
html-am info info-am install install-am install-data \
install-data-am install-dvi install-dvi-am install-exec \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- tags uninstall uninstall-am
+ recheck tags tags-am uninstall uninstall-am
%.valgrind: %
daemontest_CFLAGS = \
-I$(top_srcdir)/src \
+ -I$(top_builddir)/src/ \
$(GUMD_INCLUDES) \
$(TEST_CFLAGS) \
$(GUMD_CFLAGS) \
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@SET_MAKE@
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/test/test_common.mk \
- $(top_srcdir)/test/valgrind_common.mk
+DIST_COMMON = $(top_srcdir)/test/test_common.mk \
+ $(top_srcdir)/test/valgrind_common.mk $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(top_srcdir)/build-aux/depcomp \
+ $(top_srcdir)/build-aux/test-driver
TESTS = daemontest$(EXEEXT)
check_PROGRAMS = daemontest$(EXEEXT)
subdir = test/daemon
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
+am__v_lt_1 =
daemontest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(daemontest_CFLAGS) \
$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
DEFAULT_INCLUDES =
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
-am__v_CC_0 = @echo " CC " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
-am__v_CCLD_0 = @echo " CCLD " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
SOURCES = $(daemontest_SOURCES)
DIST_SOURCES = $(daemontest_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
-am__tty_colors = \
-red=; grn=; lgn=; blu=; std=
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+AM_RECURSIVE_TARGETS = check recheck
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
+LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
daemontest_SOURCES = daemon-test.c
daemontest_CFLAGS = \
-I$(top_srcdir)/src \
+ -I$(top_builddir)/src/ \
$(GUMD_INCLUDES) \
$(TEST_CFLAGS) \
$(GUMD_CFLAGS) \
all: all-am
.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
+.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/test/test_common.mk $(top_srcdir)/test/valgrind_common.mk $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \
rm -f $$list
+
daemontest$(EXEEXT): $(daemontest_OBJECTS) $(daemontest_DEPENDENCIES) $(EXTRA_daemontest_DEPENDENCIES)
@rm -f daemontest$(EXEEXT)
$(AM_V_CCLD)$(daemontest_LINK) $(daemontest_OBJECTS) $(daemontest_LDADD) $(LIBS)
clean-libtool:
-rm -rf .libs _libs
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ else \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
else \
- skipped="($$skip tests were not run)"; \
+ color_start= color_end=; \
fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all $(check_PROGRAMS)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+daemontest.log: daemontest$(EXEEXT)
+ @p='daemontest$(EXEEXT)'; \
+ b='daemontest'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
.MAKE: check-am install-am install-strip
-.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
- clean-checkPROGRAMS clean-generic clean-libtool ctags \
- distclean distclean-compile distclean-generic \
+.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
+ clean-checkPROGRAMS clean-generic clean-libtool cscopelist-am \
+ ctags ctags-am distclean distclean-compile distclean-generic \
distclean-libtool distclean-tags distdir dvi dvi-am html \
html-am info info-am install install-am install-data \
install-data-am install-dvi install-dvi-am install-exec \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- tags uninstall uninstall-am
+ recheck tags tags-am uninstall uninstall-am
%.valgrind: %
+++ /dev/null
-[D-BUS Service]
-Name=org.tizen.SecurityAccounts.gUserManagement
-Exec=/home/imran/work/um/gumd/src/daemon/gumd
+++ /dev/null
-<busconfig>
- <type>system</type>
- <listen>unix:tmpdir=/tmp/</listen>
- <servicedir>/home/imran/work/um/gumd/test/data/services</servicedir>
- <policy context="default">
- <!-- Allow everything to be sent -->
- <allow send_destination="*" eavesdrop="true"/>
-
- <!-- Allow everything to be received -->
- <allow eavesdrop="true"/>
-
- <!-- Allow anyone to own anything -->
- <allow own="*"/>
- </policy>
-</busconfig>
-# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@SET_MAKE@
VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/test/test_common.mk \
- $(top_srcdir)/test/valgrind_common.mk
+DIST_COMMON = $(top_srcdir)/test/test_common.mk \
+ $(top_srcdir)/test/valgrind_common.mk $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(top_srcdir)/build-aux/depcomp \
+ $(top_srcdir)/build-aux/test-driver
TESTS = clienttest$(EXEEXT)
check_PROGRAMS = clienttest$(EXEEXT)
subdir = test/lib
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
+am__v_lt_1 =
clienttest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(clienttest_CFLAGS) \
$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
DEFAULT_INCLUDES =
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
-am__v_CC_0 = @echo " CC " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
-am__v_CCLD_0 = @echo " CCLD " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
SOURCES = $(clienttest_SOURCES)
DIST_SOURCES = $(clienttest_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
-am__tty_colors = \
-red=; grn=; lgn=; blu=; std=
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+AM_RECURSIVE_TARGETS = check recheck
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
+LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
all: all-am
.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
+.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/test/test_common.mk $(top_srcdir)/test/valgrind_common.mk $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \
rm -f $$list
+
clienttest$(EXEEXT): $(clienttest_OBJECTS) $(clienttest_DEPENDENCIES) $(EXTRA_clienttest_DEPENDENCIES)
@rm -f clienttest$(EXEEXT)
$(AM_V_CCLD)$(clienttest_LINK) $(clienttest_OBJECTS) $(clienttest_LDADD) $(LIBS)
clean-libtool:
-rm -rf .libs _libs
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ else \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
else \
- skipped="($$skip tests were not run)"; \
+ color_start= color_end=; \
fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all $(check_PROGRAMS)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+clienttest.log: clienttest$(EXEEXT)
+ @p='clienttest$(EXEEXT)'; \
+ b='clienttest'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
.MAKE: check-am install-am install-strip
-.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
- clean-checkPROGRAMS clean-generic clean-libtool ctags \
- distclean distclean-compile distclean-generic \
+.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
+ clean-checkPROGRAMS clean-generic clean-libtool cscopelist-am \
+ ctags ctags-am distclean distclean-compile distclean-generic \
distclean-libtool distclean-tags distdir dvi dvi-am html \
html-am info info-am install install-am install-data \
install-data-am install-dvi install-dvi-am install-exec \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- tags uninstall uninstall-am
+ recheck tags tags-am uninstall uninstall-am
%.valgrind: %
mkdir -p $2 && \
cd $2 && \
-git rm -r *; rm -rf packaging;
+git rm -r -f *; rm -rf packaging;
tar -xzvf $currdir/$1 -C $2 --strip-components 1 && \
mkdir -p packaging && \
cp dists/rpm/tizen/packaging/gumd.spec packaging/ && \
cp dists/rpm/tizen/packaging/gumd.changes packaging/ && \
cp dists/rpm/tizen/packaging/libgum.manifest packaging/ && \
cp dists/rpm/tizen/packaging/gumd-tizen.conf packaging/ && \
-git add -f *;
cp $currdir/.gitignore $2/;
+git add -f *; git add .gitignore;