aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet_gst.h
diff options
context:
space:
mode:
authorAlessio Vanni <vannilla@firemail.cc>2020-05-27 15:01:30 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-27 22:37:08 +0200
commitcf4608196bc02093409dbf6b7a24e6ed08c36f76 (patch)
tree46c2ecc852810e35d9d5eabcfcb52620e06aaa3f /src/conversation/gnunet_gst.h
parent3a966c83d32db67d0e9cb23675f28b7233280aeb (diff)
downloadgnunet-cf4608196bc02093409dbf6b7a24e6ed08c36f76.tar.gz
gnunet-cf4608196bc02093409dbf6b7a24e6ed08c36f76.zip
Make REQUEST_AGPL messages configurable and add handler by default
This makes two changes: * Add a field to `struct GNUNET_OS_ProjectData' containing a URL (as a string) pointing to the source code of the application. * If the field is not NULL, add a handler for the REQUEST_AGPL messages sending the specified URL to the client. The handler is added both in client-service communications (i.e. local services that don't make requests to other peers in the network) and in peer-peer communications (CADET.) This way, any client (local or remote with CADET) can request the source code location using a standardized mechanism instead of writing ad-hoc solutions (unless the service/peer explicitly specifies a NULL pointer.) Signed-off-by: Christian Grothoff <christian@grothoff.org>
Diffstat (limited to 'src/conversation/gnunet_gst.h')
0 files changed, 0 insertions, 0 deletions