Commit Graph

20 Commits (master)

Author SHA1 Message Date
jmjatlanta 3b178a142d Added helper method to compare ipfs address without IP address 2017-08-24 14:36:03 -05:00
John Jones c2f2c0c2da Added a compare method 2017-07-26 07:36:45 -05:00
John Jones 86d3cd422e Fixed memory leak and most compiler warnings 2017-07-17 15:11:08 -05:00
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 f0961a247f Multiaddress stability fixes 2017-04-16 23:46:07 -05:00
John Jones 615adc86ef Added ability to parse out peer id 2017-04-03 11:54:15 -05:00
John Jones e90434ba61 strtok_r only by declaration 2017-03-21 13:36:06 -05:00
John Jones d09c4a0d76 added string tokenizer for c99 2017-03-21 13:04:44 -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 fcb0cce437 Minor fixes to the conversion from bytes to MultiAddress 2017-02-20 08:15:16 -05:00
John Jones f2d1a5aa83 added a helpful comment 2017-02-16 23:13:58 -05:00
John Jones 29a68c8f55 Multiple fixes to code 2017-02-15 10:42:06 -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