Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
e98f57ff
Commit
e98f57ff
authored
Mar 09, 2015
by
Jonathan Jenkins
Browse files
refactor some private headers out of the public eye
parent
adb0645a
Changes
9
Hide whitespace changes
Inline
Side-by-side
codes/configuration.h
View file @
e98f57ff
...
...
@@ -7,9 +7,9 @@
#ifndef __CONFIGURATION_H__
#define __CONFIGURATION_H__
#include <stddef.h>
#include <inttypes.h>
#include <mpi.h>
#include "codes/txt_configfile.h"
#define CONFIGURATION_MAX_NAME 256
#define CONFIGURATION_MAX_GROUPS 10
...
...
src/Makefile.subdir
View file @
e98f57ff
...
...
@@ -49,10 +49,8 @@ nobase_include_HEADERS = \
codes/CodesIOKernelParser.h
\
codes/CodesIOKernelTypes.h
\
codes/codeslexer.h
\
codes/txt_configfile.h
\
codes/codesparser.h
\
codes/quickhash.h
\
codes/configfile.h
\
codes/quicklist.h
\
codes/codes_mapping.h
\
codes/lp-type-lookup.h
\
...
...
@@ -87,16 +85,16 @@ src_libcodes_base_a_SOURCES = \
src/modelconfig/configfile.c
\
src/modelconfig/configglue.h
\
src/modelconfig/configglue.c
\
codes
/configfile.h
\
src/modelconfig
/configfile.h
\
src/modelconfig/configstore.h
\
src/modelconfig/configstore.c
\
src/modelconfig/configstoreadapter.h
\
src/modelconfig/configstoreadapter.c
\
codes
/txt_configfile.h
\
src/modelconfig
/txt_configfile.h
\
src/modelconfig/txt_configfile.c
\
src/modelconfig/configuration.c
\
src/util/codes_mapping.c
\
src/util/lp-type-lookup.c
\
src/util/configuration.c
\
src/util/lp-io.c
\
src/util/lp-msg.c
\
src/util/lookup3.c
\
...
...
src/modelconfig/configfile.c
View file @
e98f57ff
...
...
@@ -15,8 +15,8 @@
#include <stdlib.h>
#endif
#include "
codes/
configfile.h"
#include "
codes/
txt_configfile.h"
#include "configfile.h"
#include "txt_configfile.h"
static
int
cf_equal_helper
(
struct
ConfigVTable
*
h1
,
SectionHandle
s1
,
struct
ConfigVTable
*
h2
,
SectionHandle
s2
)
...
...
codes
/configfile.h
→
src/modelconfig
/configfile.h
View file @
e98f57ff
File moved
src/modelconfig/configglue.h
View file @
e98f57ff
...
...
@@ -9,7 +9,7 @@
/* Common header for parser and lexer */
#include "
codes/
configfile.h"
#include "configfile.h"
typedef
struct
...
...
src/modelconfig/configstoreadapter.h
View file @
e98f57ff
...
...
@@ -7,7 +7,7 @@
#ifndef SRC_COMMON_MODELCONFIG_CONFIGSTOREADAPTER_H
#define SRC_COMMON_MODELCONFIG_CONFIGSTOREADAPTER_H
#include "
codes/
configfile.h"
#include "configfile.h"
#include "configstore.h"
#ifdef __cplusplus
...
...
src/
util
/configuration.c
→
src/
modelconfig
/configuration.c
View file @
e98f57ff
...
...
@@ -13,6 +13,8 @@
#include "codes/configuration.h"
#include <ross.h>
#include "configfile.h"
/*
* Global to hold configuration in memory
*/
...
...
src/modelconfig/txt_configfile.c
View file @
e98f57ff
...
...
@@ -6,10 +6,10 @@
#include <assert.h>
#include <stdio.h>
#include "
codes/
txt_configfile.h"
#include "txt_configfile.h"
#include "configglue.h"
#include "
src/modelconfig/
configparser.h"
#include "
src/modelconfig/
configlex.h"
#include "configparser.h"
#include "configlex.h"
#include "configstoreadapter.h"
#define MAX_CONFIG_SIZE 10*1024*1024
...
...
codes
/txt_configfile.h
→
src/modelconfig
/txt_configfile.h
View file @
e98f57ff
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment