“Programming is the art of copy-paste.” (Pedro Serra, 2005)

 
  1. crypt() example

  2.     Description of crypt(): crypt_ref.txt

  3.     Encrypt a password: crypt_create.c

  4.     Verify a password: crypt_verify.c

  1. realloc() example

  2.     Using realloc() function: realloc_example.c

  1. Usage of temporary files

  2.     How to use temporary files with tmpfile(): tmpfile_example.c

  1. Command line engine

  2.     Powerful command line engine based on function pointers. Very easy to use.

  3.     monitor.c, monitor.h, cmd.c, cmd.h, main.c, Makefile.txt, README.txt

  4.     complete package: cmd.tar

  1. FIFO (ADT) implemented using a table

  2.     First in First Out Queue implemented using a fixed size table.

  3.      It also contains some functions to interact with the queue in a thread safe mode: functions started with SFIFO.  

  4.     The usage example uses the above command line engine.

  5.     fifo_table.c, fifo_table.h, Item.h

  6.     complete package: fifo_table_adt.tar

  1. Circular Buffer (static) implemented using a table

  2.     cbuff.c, cbuff.h

  3.     complete package: cbuff.tar

  1. Heap (static) implemented using a table

  2.     heap.c, heap.h, Item.h, main.c, Makefile

  3.     complete package: heap.tar