/usr/include/complearn-1.0/complearn/util.h is in libcomplearn1-headers 1.1.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #ifndef __UTIL_H
#define __UTIL_H
#include <glib.h>
#include <gsl/gsl_matrix.h>
struct _CLArgumentEntry {
GString *block;
char *label;
};
struct _LabeledMatrix {
gsl_matrix *mat;
char **labels1;
char **labels2;
};
typedef struct _LabeledMatrix LabeledMatrix ;
typedef struct _CLArgumentEntry CLArgumentEntry ;
char *complearn_make_temp_dir_name(void);
char *complearn_make_temp_dir(void);
int make_directory(const char *name);
int complearn_make_directory_if_necessary(const char *name);
GString *complearn_read_whole_file(const char *fname);
int complearn_count_strings(const char * const * str);
int complearn_remove_directory_recursively(const char *dirname, int f_err_out);
GString *complearn_read_whole_file_ptr(FILE *fp);
GString *complearn_read_whole_file_io(GIOChannel *gio);
GSList *complearn_read_directory_of_files(const char *dirname);
GSList *complearn_read_list_of_files(const char *filename);
GSList *complearn_read_list_of_strings(const char *filename);
gsl_matrix *complearn_average_matrix(gsl_matrix *a);
gsl_matrix *complearn_svd_project(gsl_matrix *a);
CLArgumentEntry *complearn_new_arg(GString *block, const char *label);
int complearn_get_pid(void);
char *complearn_get_hostname();
char ** complearn_dupe_strings(const char * const * str);
char ** complearn_fix_labels(char **inp);
char *complearn_make_temp_file_name(void);
char *complearn_chdir(const char *newdir);
int complearn_write_file(const char *fname, const GString *f);
void complearn_mrbreaker(void);
#endif
|