diff --git a/src/nzg_msgList.c b/src/nzg_msgList.c
index 80f899a..185a061 100644
--- a/src/nzg_msgList.c
+++ b/src/nzg_msgList.c
@@ -1,7 +1,79 @@
 #include "libnazgul.h"
 
-/* ajout dans la liste */
 
+
+
+
+
+
+
+
+
+
+
+#define MSGSPACE_DEFAULT_MODE 0600
+#include <unistd.h>  /* POSIX et al */
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <fcntl.h> /* pour O_RDWR */
+#include <sys/types.h>
+#include <sys/mman.h> /* shm_open */
+#include <errno.h>
+/*typedef struct MsgSpaceListElem *msgSpaceListElemId;
+
+
+struct MsgSpaceListElem {
+		//	void * tete;
+		msgSpaceListElemId tete;
+		int ownerPid;
+		msgSpaceListElemId queu;
+};
+
+msgSpaceListElemId *mslist;
+*/
+void *add(char * idAncien, char *idNouveau);
+int descMemory;
+
+void * add(char * idAncien, char *idNouveau){
+		descMemory=shm_open("/titi",
+						O_RDWR|O_CREAT|O_EXCL|O_TRUNC,
+						0600);
+
+		if (descMemory== -1){
+				printf("erreur de sh_open\n");
+				return NULL;
+		};
+
+		if (ftruncate(descMemory,1024)== -1 ){
+				printf("erreur ftruncate");
+		}
+
+		/*	memory=	mmap(0, 1024,
+			PROT_READ | PROT_WRITE,
+
+
+			MAP_SHARED, mSFd, 0)*/
+
+		Strcpy(idAncien, idNouveau);
+
+
+}
+
+
+
+
+
+
+
+
+
+
+
+
+/* ajout dans la liste */
+/*AVEC POINTEUR */
+/*
 msgSpaceListElem *addBegining( msgSpaceListElem*list,int ownerpid){
 		msgSpaceListElem *unSpacemsgListElem;
 		if( (unSpacemsgListElem=(msgSpaceListElem *)malloc(sizeof(msgSpaceListElem) ) )==NULL){
@@ -29,5 +101,5 @@ int test(int argc,char **argv){
 		}
 		return(0);
 }
-
+*/