/* liste.h: definisce i tipi e le operazioni supportate */ #include #include #ifndef LISTEH #define LISTEH typedef int Elemento; typedef struct Nodo* Punt; struct Nodo { Elemento Chiave; Punt Succ; }; typedef struct ListaHead Lista; struct ListaHead { Punt Testa; int Lung; }; void ListInit(Lista *) ; Punt ListIns(Lista *, Elemento) ; Punt ListSrc(Lista, Elemento); Punt ListDel(Lista *, Elemento); void ListPrn(Lista); int ListSiz(Lista); #endif