]> git.sur5r.net Git - ngadmin/blobdiff - lib/src/protocol.h
CLI: added the possibility to interrupt hanging commands with CTRL+C.
[ngadmin] / lib / src / protocol.h
index 24fbbfe43c2200ecf3dd19cdb1691504314e8082..cec182bbd77bd22de1455a647c0cc449c0a051d8 100644 (file)
@@ -110,7 +110,7 @@ struct attr* newAddrAttr (unsigned short attr, struct in_addr value);
 void freeAttr (struct attr *at);
 
 // 
-void extractPacketAttributes (struct ng_packet *np, unsigned char *error, unsigned short *attr_error, List *attr);
+int extractPacketAttributes (struct ng_packet *np, unsigned char *error, unsigned short *attr_error, List *attr);
 
 // 
 void extractSwitchAttributes (struct swi_attr *sa, const List *l);