- Move source code from `trunk` into root directory for each library. - Update build files and ASM include paths. Add SPDX license header where appropriate. - Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden. (Work towards #75, point 3) Reviewed-on: KolibriOS/kolibrios#436 Reviewed-by: Burer <burer@kolibrios.org> Reviewed-by: Ivan B <1+dunkaist@noreply.localhost> Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com> Co-authored-by: Andrew <dent.ace@gmail.com> Co-committed-by: Andrew <dent.ace@gmail.com>
36 lines
2.0 KiB
FASM
36 lines
2.0 KiB
FASM
;;================================================================================================;;
|
|
;;//// libini_p.inc //// (c) mike.dld, 2007-2008 /////////////////////////////////////////////////;;
|
|
;;================================================================================================;;
|
|
;; ;;
|
|
;; This file is part of libconfig (based on Libs-Dev's libini) ;;
|
|
;; ;;
|
|
;; Libconfig is free software: you can redistribute it and/or modify it under the terms of the ;;
|
|
;; GNU General Public License as published by the Free Software Foundation, either version 3 of ;;
|
|
;; the License, or (at your option) any later version. ;;
|
|
;; ;;
|
|
;; Libconfig is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without ;;
|
|
;; even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;
|
|
;; Lesser General Public License for more details. ;;
|
|
;; ;;
|
|
;; You should have received a copy of the GNU General Public License along with Libconfig ;;
|
|
;; If not, see <http://www.gnu.org/licenses/>. ;;
|
|
;; ;;
|
|
;;================================================================================================;;
|
|
|
|
|
|
ini.MAX_NAME_LEN = 1024
|
|
ini.MAX_VALUE_LEN = 4096
|
|
ini.MAX_BOOL_LEN = 9
|
|
ini.MEM_SIZE = 4096
|
|
ini.BLOCK_SIZE = ini.MEM_SIZE / 2
|
|
|
|
ini.COMMENT_CHAR = ';'
|
|
|
|
struct IniFile
|
|
fh dd ?
|
|
buf dd ?
|
|
cnt dd ?
|
|
pos dd ?
|
|
bsize dd ?
|
|
ends
|