*
* Authors: Pankaj Yadav
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include "path.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+
#include <vlc_common.h>
-#include "../../../../src/libvlc.h"
+#include "../libvlc.h"
#include <vlc_charset.h>
+#include <vlc_configuration.h>
#include "config/configuration.h"
#include <string.h>
*
* @return a null-terminated string or NULL. Use free() to release it.
*/
-char *config_GetDataDirDefault (void)
+char *config_GetDataDir (void)
{
return GetConstPrivatePath();
}
return "C:\\Sys\\Bin";
}
-/**
- * Determines the system configuration directory.
- *
- * @return a string (always succeeds).
- */
-const char *config_GetConfDir( void )
-{
- return "C:\\Data\\Others";
-}
-
char *config_GetUserDir (vlc_userdir_t type)
{
switch (type)