diff options
author | Martin Robinson <mrobinson@igalia.com> | 2012-09-20 17:02:40 -0700 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2012-10-22 18:48:02 +0200 |
commit | 33cf3c6f2530732e85a93d42c153db53844feebb (patch) | |
tree | b2879f7b77babac881cf19a37ae87654e8ccf18a /docs | |
parent | cbbde758b8ea533916fe25dc25d64bac564ea09a (diff) | |
download | libsoup-33cf3c6f2530732e85a93d42c153db53844feebb.tar.gz libsoup-33cf3c6f2530732e85a93d42c153db53844feebb.tar.bz2 libsoup-33cf3c6f2530732e85a93d42c153db53844feebb.zip |
Add API to get version information
Expose API to get information about the soup version. This is useful
because it allows applications to use API without actually depending on
it completely.
https://bugzilla.gnome.org/show_bug.cgi?id=684514
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/libsoup-2.4-docs.sgml | 1 | ||||
-rw-r--r-- | docs/reference/libsoup-2.4-sections.txt | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/reference/libsoup-2.4-docs.sgml b/docs/reference/libsoup-2.4-docs.sgml index 76aa87ea..ae74c015 100644 --- a/docs/reference/libsoup-2.4-docs.sgml +++ b/docs/reference/libsoup-2.4-docs.sgml @@ -33,6 +33,7 @@ <xi:include href="xml/soup-status.xml"/> <xi:include href="xml/soup-tld.xml"/> <xi:include href="xml/soup-uri.xml"/> + <xi:include href="xml/soup-version.xml"/> </chapter> <chapter> diff --git a/docs/reference/libsoup-2.4-sections.txt b/docs/reference/libsoup-2.4-sections.txt index 961e4163..4c1c60b6 100644 --- a/docs/reference/libsoup-2.4-sections.txt +++ b/docs/reference/libsoup-2.4-sections.txt @@ -1202,3 +1202,18 @@ SoupTLDError <SUBSECTION Private> soup_tld_error_quark </SECTION> + +<SECTION> +<FILE>soup-version</FILE> +<TITLE>Version Information</TITLE> +soup_get_major_version +soup_get_minor_version +soup_get_micro_version +soup_check_version + +<SUBSECTION> +SOUP_MAJOR_VERSION +SOUP_MINOR_VERSION +SOUP_MICRO_VERSION +SOUP_CHECK_VERSION +</SECTION> |