Aggiunta i4changed(), che restituisce la versione dell'indice.

git-svn-id: svn://10.65.10.50/trunk@1079 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1995-03-06 17:30:26 +00:00
parent 3d9f9e2c9f
commit fdfaa20627
2 changed files with 40 additions and 0 deletions

25
cb5/i4chang.c Executable file
View File

@ -0,0 +1,25 @@
/*
i4chang.c
17 Febbraio 1995
restituisce la versione dell'indice
*/
#include "d4all.h"
#include "i4chang.h"
#define MAXFILES 50
long S4FUNCTION i4changed(INDEX4 *i4)
{
#ifndef S4FOX
TAG4 *t4;
#endif
#ifdef S4FOX
return((long)i4->tag_index->header.version);
#else
t4=d4tag_default(i4->data);
return((long)t4->header.version);
#endif
}

15
cb5/i4chang.h Executable file
View File

@ -0,0 +1,15 @@
/*
i4chang.h
17 Febbraio 1995
*/
#ifdef __cplusplus
extern "C" {
#endif
long S4FUNCTION i4changed(INDEX4 *);
#ifdef __cplusplus
}
#endif