X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdirs.h;h=811a51fcedf9e06d4127fa6e37fb085b35a4e4ac;hb=003ce655b7116d18c86a74c50391e54990346931;hp=5e2610590814c539c6680a202681d9f92ab3a97d;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;p=sliver-openvswitch.git diff --git a/lib/dirs.h b/lib/dirs.h index 5e2610590..811a51fce 100644 --- a/lib/dirs.h +++ b/lib/dirs.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,9 +17,11 @@ #ifndef DIRS_H #define DIRS_H 1 -extern const char ovs_pkgdatadir[]; /* /usr/local/share/openvswitch */ -extern const char ovs_rundir[]; /* /usr/local/var/run */ -extern const char ovs_logdir[]; /* /usr/local/var/log */ -extern const char ovs_bindir[]; /* /usr/local/bin */ +const char *ovs_sysconfdir(void); /* /usr/local/etc */ +const char *ovs_pkgdatadir(void); /* /usr/local/share/openvswitch */ +const char *ovs_rundir(void); /* /usr/local/var/run/openvswitch */ +const char *ovs_logdir(void); /* /usr/local/var/log/openvswitch */ +const char *ovs_dbdir(void); /* /usr/local/etc/openvswitch */ +const char *ovs_bindir(void); /* /usr/local/bin */ #endif /* dirs.h */