19 lines
473 B
C
19 lines
473 B
C
// Laboratorio 8 - Esercizio 3 - AssetList.h
|
|
// Matteo Schiff - s295565
|
|
|
|
#ifndef ASSETLIST_DEFINED
|
|
#define ASSETLIST_DEFINED
|
|
#include "Asset.h"
|
|
|
|
typedef struct assetList *AssetList;
|
|
|
|
AssetList AssetListCreate();
|
|
void AssetListFree(AssetList al);
|
|
void AssetListInsert(AssetList al, Asset asset);
|
|
Asset * AssetListGet(AssetList al, int index);
|
|
Asset * AssetListSearch(AssetList al, char * query);
|
|
void AssetListPrint(AssetList al);
|
|
int AssetListLength(AssetList al);
|
|
|
|
#endif
|