10 #include "pips_config.h"
17 debug_on(
"STEP_INSTALL_DEBUG_LEVEL");
18 pips_debug(1,
"Starting for program \"%s\".\n", program_name);
gen_array_t db_get_module_list_initial_order(void)
size_t gen_array_nitems(const gen_array_t a)
void * gen_array_item(const gen_array_t a, size_t i)
bool empty_string_p(const char *s)
const char * module_name(const char *s)
Return the module part of an entity name.
FILE * safe_fopen(const char *filename, const char *what)
char * get_string_property(const char *)
int safe_fclose(FILE *stream, const char *filename)
char * pips_basename(char *fullpath, char *suffix)
void safe_cat(FILE *out, FILE *in)
static FILE * user_file
These functions implements the writing of objects.
string db_get_memory_resource(const char *rname, const char *oname, bool pure)
Return the pointer to the resource, whatever it is.
hash_table hash_table_make(hash_key_type key_type, size_t size)
void * hash_get(const hash_table htp, const void *key)
this function retrieves in the hash table pointed to by htp the couple whose key is equal to key.
void hash_put(hash_table htp, const void *key, const void *val)
This functions stores a couple (key,val) in the hash table pointed to by htp.
void hash_table_free(hash_table htp)
this function deletes a hash table that is no longer useful.
bool step_install(const string program_name)
Copyright 2007-2012 Alain Muller, Frederique Silber-Chaussumier.
string db_get_directory_name_for_module(const char *name)
returns the allocated and mkdir'ed directory for module name
#define pips_debug
these macros use the GNU extensions that allow variadic macros, including with an empty list.
void safe_system(string)
system.c
string concatenate(const char *,...)
Return the concatenation of the given strings.
#define HASH_UNDEFINED_VALUE
value returned by hash_get() when the key is not found; could also be called HASH_KEY_NOT_FOUND,...
#define WORKSPACE_SRC_SPACE
static hash_table user_files
initial user file -> generated user file