21 lines
320 B
C
21 lines
320 B
C
// Laboratorio 8 - Esercizio 2 - ST.h
|
|
// Matteo Schiff - s295565
|
|
|
|
#ifndef ST_DEFINED
|
|
#define ST_DEFINED
|
|
|
|
#include "Item.h"
|
|
|
|
typedef struct st *ST;
|
|
|
|
ST STinit(int N);
|
|
void STfree(ST st);
|
|
|
|
int STinsert(ST st, Item item);
|
|
|
|
Item STsearchByIndex(ST st, int index);
|
|
int STsearch(ST st, Item item);
|
|
|
|
int STcount(ST st);
|
|
|
|
#endif |