summaryrefslogtreecommitdiff
path: root/src/settings/plugins/ifcfg-rh/shvar.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-10-06 15:45:02 +0200
committerThomas Haller <thaller@redhat.com>2014-10-12 20:13:17 +0200
commit212f5dcba6a88a6212faee202cc4166963af6e13 (patch)
tree783e2c13f7efb5d7c4228c827c79a0fc3531e0a7 /src/settings/plugins/ifcfg-rh/shvar.h
parent24a2f9c6cd4eb644405991570c629e2b73ee2ff8 (diff)
downloadNetworkManager-212f5dcba6a88a6212faee202cc4166963af6e13.tar.gz
ifcfg-rh: add svGetValueInt64() utility function
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/settings/plugins/ifcfg-rh/shvar.h')
-rw-r--r--src/settings/plugins/ifcfg-rh/shvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings/plugins/ifcfg-rh/shvar.h b/src/settings/plugins/ifcfg-rh/shvar.h
index 4cbf1a31a7..b2a2f2636e 100644
--- a/src/settings/plugins/ifcfg-rh/shvar.h
+++ b/src/settings/plugins/ifcfg-rh/shvar.h
@@ -63,6 +63,8 @@ char *svGetValue (shvarFile *s, const char *key, gboolean verbatim);
*/
gboolean svTrueValue (shvarFile *s, const char *key, gboolean def);
+gint64 svGetValueInt64 (shvarFile *s, const char *key, guint base, gint64 min, gint64 max, gint64 fallback);
+
/* Set the variable <key> equal to the value <value>.
* If <key> does not exist, and the <current> pointer is set, append
* the key=value pair after that line. Otherwise, prepend the pair