view close.cpp @ 394:64b2bf35d30b api-inversion

Compile the test files with -g. This gives me a chance to use watchpoints and similar tricks to find out how amusingly I have messed up when making my crazy modifications to the structure of the code...
author mas01cr
date Tue, 25 Nov 2008 16:41:00 +0000
parents 78fed0d4c108
children 58b88ab69424
line wrap: on
line source
#include "audioDB.h"
extern "C" {
#include "audioDB_API.h"
}

void audiodb_close(adb_t *adb) {
  free(adb->path);
  free(adb->header);
  close(adb->fd);
  free(adb);
}