Subversion Repositories SvarDOS

Rev

Rev 614 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 614 Rev 1972
Line 1... Line 1...
1
/*
1
/*
2
 * This file is part of pkg (SvarDOS)
2
 * This file is part of pkg (SvarDOS)
3
 * Copyright (C) 2013-2021 Mateusz Viste
3
 * Copyright (C) 2013-2024 Mateusz Viste
4
 */
4
 */
5
 
5
 
6
#ifndef readlsm_h_sentinel
6
#ifndef readlsm_h_sentinel
7
  #define readlsm_h_sentinel
7
  #define readlsm_h_sentinel
8
  /* Loads metadata from an LSM file. Returns 0 on success, non-zero on error. */
8
  /* Loads metadata from an LSM file. Returns 0 on success, non-zero on error. */
9
  int readlsm(const char *filename, char *version, size_t version_maxlen);
9
  int readlsm(const char *filename, const char *field, char *result, size_t result_maxlen);
10
#endif
10
#endif