view gecko/src/lista.h @ 11:cf4c0c822ca9 draft

Uploaded
author bitlab
date Wed, 18 Nov 2020 08:37:31 +0000
parents 9db88f0f32b7
children
line wrap: on
line source

/*lista.h


*/


#ifndef LISTA_H_
#define LISTA_H_

#include "fragmentv3.h"

typedef struct _nodo {
	Fragmentv3 f;
   int valor;
   int n_event;
   struct _nodo *siguiente;
   struct _nodo *anterior;
} tipoNodo;
 
typedef tipoNodo *pNodo;
typedef tipoNodo *Lista;


void Insertar(Lista *lista, int v,Fragmentv3 f,int n_event);
void Borrar(Lista *lista, int v);
void printFrag(Fragmentv3 f,char* nombre,int i,int num,int n_event);
void BorrarLista(Lista *lista);
void CopiarListas(Lista* origen,Lista* dest); // SUponemos las dos listas mismo tamaƱo




#endif /* LISTA_H_ */