mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-12 08:33:05 -04:00
Addition of several utility functions:
(1) xpgp_id to extract the name/id from a certificate. (2) dht_bootstrap to check the status of the bootstrap peers. Various bits of code needed to be rearranged to make these utilities possible. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@394 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e1f4dc1dff
commit
7044822e1f
12 changed files with 651 additions and 31 deletions
|
@ -9,9 +9,11 @@ include $(RS_TOP_DIR)/scripts/config.mk
|
|||
|
||||
RSOBJ = b64.o opendhtstr.o opendht.o opendhtmgr.o
|
||||
|
||||
TESTOBJ = odhtstr_test.o odhtpost_test.o odhtmgr_test.o
|
||||
TESTOBJ = odhtstr_test.o odhtpost_test.o odhtmgr_test.o \
|
||||
dht_bootstrap.o
|
||||
|
||||
TESTS = odhtstr_test odhtpost_test odhtmgr_test
|
||||
TESTS = odhtstr_test odhtpost_test odhtmgr_test \
|
||||
dht_bootstrap
|
||||
|
||||
all: librs tests
|
||||
|
||||
|
@ -28,6 +30,9 @@ odhtstr_test: $(OBJ) odhtstr_test.o
|
|||
odhtmgr_test: $(OBJ) odhtmgr_test.o
|
||||
$(CC) $(CFLAGS) -o odhtmgr_test $(OBJ) odhtmgr_test.o $(LIBS)
|
||||
|
||||
dht_bootstrap: dht_bootstrap.o
|
||||
$(CC) $(CFLAGS) -o dht_bootstrap dht_bootstrap.o $(LIBS)
|
||||
|
||||
# Extra Rule...
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue