view libtests/0026/prog1.c @ 651:5b2c0d9bc63d

Broken implementation of mkstemp() for WIN32 (no-cygwin) Since the only user is the SOAP server, and since I would strongly like to see the SOAP server either removed completely or else written to call the API rather than a fake-command-line-emulation, I'm not too worried about the brokenness. YMMV.
author mas01cr
date Wed, 14 Oct 2009 12:12:39 +0000
parents 342822c2d49a
children
line wrap: on
line source
#include "audioDB_API.h"
#include "test_utils_lib.h"

int main(int argc, char **argv) {
  adb_t *adb;
  
  clean_remove_db(TESTDB);
  if(!(adb = audiodb_create(TESTDB, 0, 0, 0)))
    return 1;

  if(audiodb_power(adb))
    return 1;
  if(audiodb_power(adb))
    return 1;

  audiodb_close(adb);

  return 104;
}