1/* 2 * This file Copyright (C) Mnemosyne LLC 3 * 4 * This file is licensed by the GPL version 2. Works owned by the 5 * Transmission project are granted a special exemption to clause 2(b) 6 * so that the bulk of its code can remain under the MIT license. 7 * This exemption does not extend to derived works not owned by 8 * the Transmission project. 9 * 10 * $Id: clients.h 11709 2011-01-19 13:48:47Z jordan $ 11 */ 12 13#ifndef __TRANSMISSION__ 14 #error only libtransmission should #include this header. 15#endif 16 17#ifndef TR_CLIENTS_H 18#define TR_CLIENTS_H 19 20/** 21 * @brief parse a peer-id into a human-readable client name and version number 22 * @ingroup utils 23 */ 24void tr_clientForId( char * buf, size_t buflen, const void * peer_id ); 25 26#endif 27