X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdirs.c.in;h=5b6b8748a1fe5fb2c7201ca34143f940aef8291b;hb=2fad9ebd12e03a4be9d6f0227b32242287a8bec2;hp=a174ab386da111544cf7f3ccce8e3f286b106c0f;hpb=8fb330fff9b6e79b2f6ec7cd566eb57430df93d6;p=sliver-openvswitch.git diff --git a/lib/dirs.c.in b/lib/dirs.c.in index a174ab386..5b6b8748a 100644 --- a/lib/dirs.c.in +++ b/lib/dirs.c.in @@ -1,6 +1,6 @@ #line 2 "@srcdir@/lib/dirs.c.in" /* - * Copyright (c) 2008, 2009, 2010 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,6 +37,13 @@ get_dir(struct directory *d) return d->value; } +const char * +ovs_sysconfdir(void) +{ + static struct directory d = { NULL, @sysconfdir@, "OVS_SYSCONFDIR" }; + return get_dir(&d); +} + const char * ovs_pkgdatadir(void) {