Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / fflibutil.h
index c608183a40c999a37370439bcb609e7ac3cb1038..386a10bc16ab718be200be80456ec09eb479dcb5 100644 (file)
  */
 std::vector<gmx::DataFileInfo> fflib_enumerate_forcefields();
 
-const char *fflib_forcefield_dir_ext();
+const charfflib_forcefield_dir_ext();
 /* Returns the name of the force field directory extension */
 
-const char *fflib_forcefield_itp();
+const charfflib_forcefield_itp();
 /* Returns the name of the main forcefield itp file */
 
-const char *fflib_forcefield_doc();
+const charfflib_forcefield_doc();
 /* Returns the name of the forcefield documentation file */
 
-void fflib_filename_base(const char *filename, char *filebase, int maxlen);
+void fflib_filename_base(const char* filename, char* filebase, int maxlen);
 /* Return the base file name of filename in base,
  * i.e. remove path and extension, if present.
  * base should be at least of size maxlen.
  */
 
-std::vector<std::string> fflib_search_file_end(const char *ffdir,
-                                               const char *file_end,
-                                               bool        bFatalError);
+std::vector<std::string> fflib_search_file_end(const char* ffdir, const char* file_end, bool bFatalError);
 /* Search for files ending on file_end in the force field directory fflib.
  * fflib should be in the GROMACS lib.path.
  * Return the number of files and the file names in filenames.
  */
 
-bool fflib_fexist(const std::string &file);
+bool fflib_fexist(const std::stringfile);
 /* Check if a file exists in the force field library */
 
-FILE *fflib_open(const std::string &file);
+FILE* fflib_open(const std::string& file);
 /* Open force field library file "file" for reading.
  * "file" should contain the whole path to the force field library,
  * either absolute or relative to the current dir.