campo-sirio/ssa/h/ssadll.h

29 lines
1.0 KiB
C
Raw Normal View History

#ifndef SSADLL_H
#define SSADLL_H
#ifndef SSA_EXPORT
#define DECLSPEC __declspec(dllimport)
#else
#define DECLSPEC __declspec(dllexport)
#endif
extern "C"
{
DECLSPEC const char* SSA_DecodificaUltimoErrore();
DECLSPEC int SSA_VerificaModulo(const char* prodotto, const char* modulo);
DECLSPEC int SSA_Login(const char* idClient, const char* prodotto);
DECLSPEC int SSA_ApriModulo(const char* idClient, const char* modulo);
DECLSPEC int SSA_ChiudiModulo(const char* idClient, const char* modulo);
DECLSPEC int SSA_Logout(const char* idClient, const char* prodotto);
DECLSPEC int SSA_Ping(const char* idClient);
DECLSPEC int SSA_XMLProdottiConfigurati(char* buf, int bufSize);
DECLSPEC int SSA_XMLUtentiCorrenti(char* buf, int bufSize);
DECLSPEC int SSA_Id(char* buf, int bufSize);
DECLSPEC int SSA_NumeroSerie(const char* prodotto);
DECLSPEC int SSA_DataScadenza(const char* prodotto, const char* modulo);
DECLSPEC int SSA_NumMaxUtenti(const char* prodotto, const char* modulo);
}
#endif