Commit Graph

12 Commits (603ed1d72f6561ed97ad134c84bff3961575fdac)

Author SHA1 Message Date
John Jones 603ed1d72f Fixed multiaddress_get_peer_id to return allocated memory
Returing in place causes problems with continuations i.e. ending
slashes. Therefore it is better to return allocated memory.
2017-04-17 11:56:36 -05:00
John Jones 615adc86ef Added ability to parse out peer id 2017-04-03 11:54:15 -05:00
John Jones 7fb89918f8 Parsing of IP adresses is now easier 2017-03-09 18:48:00 -05:00
John Jones e914307a4d Added some utility methods to make parsing easier 2017-03-09 18:20:56 -05:00
John Jones 4e281ddd08 Added testing framework 2017-02-20 15:58:19 -05:00
John Jones f2d1a5aa83 added a helpful comment 2017-02-16 23:13:58 -05:00
John Jones cc8ff45cc1 Added a method to copy MultiAddresses 2017-02-13 14:28:06 -05:00
John Jones bb488f7e82 More in line with existing code. Refactored naming. 2017-02-13 14:12:32 -05:00
John Jones 78ce39b067 renamed struct maddr to MultiAddress 2017-02-13 13:30:22 -05:00
John Jones d57e026fbf Moved functionality from headers to c files so that we can compile 2017-02-13 13:25:43 -05:00
John Jones ee1cf1359c Small changes to allow compile 2016-12-05 06:56:09 -05:00
John Jones 68ca649688 Directory structure changes
Made an include directory to avoid naming conflicts with other projects.
Also added a Makefile to help with building the library and testing
application. Note: This does not build due to what appears to be a
missing codec.h file.
2016-11-14 08:03:48 -05:00