X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdirs.h;h=811a51fcedf9e06d4127fa6e37fb085b35a4e4ac;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=ea5e3b5daa43e1a35cd1d22d1f3db4a383087f48;hpb=bc39196036f8e33d15274855087f0c47be2095ee;p=sliver-openvswitch.git diff --git a/lib/dirs.h b/lib/dirs.h index ea5e3b5da..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/openvswitch */ -extern const char ovs_logdir[]; /* /usr/local/var/log/openvswitch */ -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 */