159 lines
4.8 KiB
Org Mode
159 lines
4.8 KiB
Org Mode
#+title: brlib - A small personal C library
|
|
#+OPTIONS: toc:nil
|
|
#+OPTIONS: num:2
|
|
#+startup: num
|
|
|
|
* brlib - A small personal C library
|
|
** License
|
|
SPDX-License-Identifier: GPL-3.0-or-later <https://spdx.org/licenses/GPL-3.0-or-later.html>
|
|
|
|
This work is, with exceptions below, Copyright (C) 2021-2024 Bruno Raoult
|
|
("br"), and licensed under the GNU General Public License v3.0 or later.
|
|
Some rights reserved. See COPYING.
|
|
|
|
*The licence exceptions are:**
|
|
_Cutest testing framework.__
|
|
You can find the original work on
|
|
[[https://sourceforge.net/projects/cutest/files/cutest/][sourceforge]].
|
|
|
|
This software is (C) 2000-2003 Asim Jalis, under the zlib License.
|
|
See [[test/cutest/license.txt][license local copy]] or
|
|
<https://spdx.org/licenses/Zlib.html>.
|
|
|
|
** Installation:
|
|
*user...**
|
|
#+BEGIN_EXAMPLE
|
|
$ git clone https://git.raoult.com:bruno/brlib.git
|
|
or
|
|
$ git clone https://github.com/braoult/brlib.git
|
|
#+END_EXAMPLE
|
|
|
|
*...or developer*
|
|
#+BEGIN_EXAMPLE
|
|
$ git clone git@git.raoult.com:bruno/brlib.git
|
|
$ cd brlib
|
|
$ git remote add github git@github.com:braoult/brlib.git
|
|
#+END_EXAMPLE
|
|
#+OPTIONS: toc:3
|
|
|
|
* brlib - A small personal C library
|
|
** License
|
|
SPDX-License-Identifier: GPL-3.0-or-later <https://spdx.org/licenses/GPL-3.0-or-later.html>
|
|
|
|
This work is, with exceptions below, Copyright (C) 2021-2024 Bruno Raoult
|
|
("br"), and licensed under the GNU General Public License v3.0 or later.
|
|
Some rights reserved. See COPYING.
|
|
|
|
*** The licence exceptions are:
|
|
**** Cutest testing framework.
|
|
You can find the original work on
|
|
[[https://sourceforge.net/projects/cutest/files/cutest/][sourceforge]].
|
|
|
|
This software is (C) 2000-2003 Asim Jalis, under the zlib License.
|
|
See [[test/cutest/license.txt][license local copy]] or
|
|
<https://spdx.org/licenses/Zlib.html>.
|
|
|
|
** Installation:
|
|
*** clone repository
|
|
**** user...
|
|
#+BEGIN_EXAMPLE
|
|
$ git clone https://git.raoult.com:bruno/brlib.git
|
|
#+END_EXAMPLE
|
|
or
|
|
#+BEGIN_EXAMPLE
|
|
$ git clone https://github.com/braoult/brlib.git
|
|
#+END_EXAMPLE
|
|
|
|
**** ... or developer
|
|
#+BEGIN_EXAMPLE
|
|
$ git clone git@git.raoult.com:bruno/brlib.git
|
|
$ cd brlib
|
|
$ git remote add github git@github.com:braoult/brlib.git
|
|
#+END_EXAMPLE
|
|
|
|
|
|
|
|
* NFSv4 with Kerberos on Debian from scratch
|
|
#+BEGIN_QUOTE
|
|
/(C)2022 Bruno Raoult./
|
|
#+END_QUOTE
|
|
/(C)2022 Bruno Raoult./
|
|
|
|
#+TOC: headlines 3
|
|
|
|
** part I
|
|
#+CAPTION: and _multiple_
|
|
#+CAPTION: lines of *captions*!
|
|
#+ATTR_HTML: :class a b
|
|
#+ATTR_HTML: :id it :class c d
|
|
#+BEGIN_SRC sh
|
|
echo "a bash source block with custom html attributes"
|
|
#+END_SRC
|
|
|
|
|
|
** TODO NEXT STEPS
|
|
- =R75,D30,R83,U83,L12,D49,R71,U7,L72= \\
|
|
=U62,R66,U55,R34,D71,R55,D58,R83= =distance =159=
|
|
- =R75,D30,R83,U83,L12,D49,R71,U7,L72= \\
|
|
=U62,R66,U55,R34,D71,R55,D58,R83= =distance =159=
|
|
|
|
*** CANCELED memory: plan for total memory release (pool, etc...) to please valgrind.
|
|
not so easy: need to keep track of allocated blocks, **and** to understand that no object is in use.
|
|
*** TESTING move.c, piece.c: function to remove an element from list.
|
|
*** TESTING position.c: duplicate fully a position (including board & piece list)
|
|
**** TODO ~move.c~: Change piece position (board & piece list).
|
|
|
|
** TODO MISC
|
|
- ~move_gen()~: ~doit~ is maybe redundant with test on current turn.
|
|
- should board be included in position ?
|
|
- Whill +this text+ be strikethrough ?
|
|
|
|
** part I
|
|
#+CAPTION: and _multiple_
|
|
#+CAPTION: lines of *captions*!
|
|
#+ATTR_HTML: :class a b
|
|
#+ATTR_HTML: :id it :class c d
|
|
#+BEGIN_SRC sh
|
|
echo "a bash source block with custom html attributes"
|
|
#+END_SRC
|
|
|
|
|
|
** TODO NEXT STEPS
|
|
|
|
*** CANCELED memory: plan for total memory release (pool, etc...) to please valgrind.
|
|
not so easy: need to keep track of allocated blocks, **and** to understand that no object is in use.
|
|
*** TESTING move.c, piece.c: function to remove an element from list.
|
|
*** TESTING position.c: duplicate fully a position (including board & piece list)
|
|
**** TODO ~move.c~: Change piece position (board & piece list).
|
|
|
|
** TODO MISC
|
|
- ~move_gen()~: ~doit~ is maybe redundant with test on current turn.
|
|
- should board be included in position ?
|
|
- Whill +this text+ be strikethrough ?
|
|
|
|
* A small personal C library
|
|
** License
|
|
SPDX-License-Identifier: GPL-3.0-or-later <https://spdx.org/licenses/GPL-3.0-or-later.html>
|
|
|
|
This work is, with exceptions below, Copyright (C) 2021-2024 Bruno Raoult ("br"), and licensed under the GNU General Public License v3.0 or later.
|
|
Some rights reserved. See COPYING.
|
|
|
|
*** The licence exceptions are:
|
|
**** [[https://sourceforge.net/projects/cutest/files/cutest/][CuTest]]
|
|
This work is (C) 2000-2003 Asim Jalis, under the zlib License.
|
|
See the [[test/cutest/license.txt][license file]].
|
|
|
|
** Installation:
|
|
*** clone repository
|
|
**** user...
|
|
#+BEGIN_EXAMPLE
|
|
$ git clone https://git.raoult.com:bruno/brlib.git
|
|
#+END_EXAMPLE
|
|
or
|
|
~git clone https://git.raoult.com:bruno/brlib.git~
|
|
|
|
**** ... or developer
|
|
$ git clone https@git.raoult.com:bruno/brlib.git
|
|
$ cd brlib
|
|
$ git remote add github git@github.com:braoult/brlib.git
|