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:
parent
3d9f9e2c9f
commit
fdfaa20627
25
cb5/i4chang.c
Executable file
25
cb5/i4chang.c
Executable 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
15
cb5/i4chang.h
Executable file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
i4chang.h
|
||||
17 Febbraio 1995
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
long S4FUNCTION i4changed(INDEX4 *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user