From 1351a0cbebcd01fd5e659d3aa9306c31ddbdc6a3 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Tue, 17 Jun 2008 12:22:49 +0200 Subject: Removed @author and @added as they are tracked by git --- libpiano/crypt.c | 18 ------------------ libpiano/http.c | 4 ---- libpiano/main.c | 28 ---------------------------- libpiano/xml.c | 28 ---------------------------- src/settings.c | 4 ---- src/terminal.c | 4 ---- 6 files changed, 86 deletions(-) diff --git a/libpiano/crypt.c b/libpiano/crypt.c index 396f61d..10744e0 100644 --- a/libpiano/crypt.c +++ b/libpiano/crypt.c @@ -28,8 +28,6 @@ THE SOFTWARE. #include "crypt_key_input.h" /* hex string to array of unsigned int values - * @author PromyLOPh - * @added 2008-06-01 * @param hex string * @param return array * @param return size of array @@ -53,9 +51,6 @@ void PianoHexToInts (char *strHex, unsigned int **retInts, size_t *retIntsN) { } /* decipher int array; reverse engineered from pandora source - * @author PromyLOPh - * @author probably pandora? - * @added 2008-06-01 * @param decrypt-me * @param decrypt-me-length * @param return plain ints array @@ -111,8 +106,6 @@ void PianoDecipherInts (unsigned int *cipherInts, size_t cipherIntsN, } /* int array to string - * @author PromyLOPh - * @added 2008-06-01 * @param int array * @param length of array * @return the string @@ -128,8 +121,6 @@ char *PianoIntsToString (unsigned int *arrInts, size_t arrIntsN) { } /* decrypt hex-encoded string - * @author PromyLOPh - * @added 2008-06-01 * @param hex string * @return decrypted string */ @@ -149,8 +140,6 @@ char *PianoDecryptString (char *strInput) { } /* string to int array - * @author PromyLOPh - * @added 2008-06-02 * @param the string, length % 8 needs to be 0 * @param returns int array * @param returns size of int array @@ -188,9 +177,6 @@ void PianoBytesToInts (char *strInput, unsigned int **retArrInts, } /* decipher ints; reverse engineered from pandora flash client - * @author PromyLOPh - * @author probably pandora? - * @added 2008-06-07 * @param encipher this * @param how many ints * @param returns crypted ints; memory is allocated by this function @@ -244,8 +230,6 @@ void PianoEncipherInts (unsigned int *plainInts, size_t plainIntsN, } /* int array to hex-encoded string - * @author PromyLOPh - * @added 2008-06-07 * @param int array * @param size of array * @return string; memory is allocated here, don't forget to free it @@ -262,8 +246,6 @@ char *PianoIntsToHexString (unsigned int *arrInts, size_t arrIntsN) { } /* blowfish-encrypt string; used before sending xml to server - * @author PromyLOPh - * @added 2008-06-07 * @param encrypt this * @return encrypted, hex-encoded string */ diff --git a/libpiano/http.c b/libpiano/http.c index 31c93cf..ee63fef 100644 --- a/libpiano/http.c +++ b/libpiano/http.c @@ -30,8 +30,6 @@ THE SOFTWARE. /* FIXME: curl has a receive limit, use it! */ /* callback for curl, writes data to buffer - * @author PromyLOPh - * @added 2008-06-05 * @param received data * @param block size * @param blocks received @@ -54,8 +52,6 @@ size_t PianoCurlRetToVar (void *ptr, size_t size, size_t nmemb, void *stream) { /* FIXME: we may use a callback given by the library client here. would be * more flexible... */ /* post data to url and receive answer as string - * @author PromyLOPh - * @added 2008-06-05 * @param initialized curl handle * @param call this url * @param post this data diff --git a/libpiano/main.c b/libpiano/main.c index be97737..95adc48 100644 --- a/libpiano/main.c +++ b/libpiano/main.c @@ -35,8 +35,6 @@ THE SOFTWARE. /* initialize piano handle, set up curl handle and settings; note: you * _must_ init curl and libxml2 using curl_global_init (CURL_GLOBAL_SSL) * and xmlInitParser (), you also _must_ cleanup their garbage on your own! - * @author PromyLOPh - * @added 2008-06-05 * @param piano handle * @return nothing */ @@ -50,8 +48,6 @@ void PianoInit (PianoHandle_t *ph) { } /* free complete search result - * @author PromyLOPh - * @added 2008-06-12 * @public yes * @param search result */ @@ -82,8 +78,6 @@ void PianoDestroySearchResult (PianoSearchResult_t *searchResult) { } /* free single station - * @author PromyLOPh - * @added 2008-06-12 * @public yes * @param station */ @@ -94,8 +88,6 @@ void PianoDestroyStation (PianoStation_t *station) { } /* free complete station list - * @author PromyLOPh - * @added 2008-06-09 * @param piano handle */ void PianoDestroyStations (PianoHandle_t *ph) { @@ -113,8 +105,6 @@ void PianoDestroyStations (PianoHandle_t *ph) { /* FIXME: copy & waste */ /* free _all_ elements of playlist - * @author PromyLOPh - * @added 2008-06-09 * @param piano handle * @return nothing */ @@ -141,8 +131,6 @@ void PianoDestroyPlaylist (PianoHandle_t *ph) { /* frees the whole piano handle structure; this will _not_ cleanup curl's * internal garbage, you have to call curl_global_cleanup () and * xmlCleanupParser () for libxml2 - * @author PromyLOPh - * @added 2008-06-05 * @param piano handle * @return nothing */ @@ -159,8 +147,6 @@ void PianoDestroy (PianoHandle_t *ph) { } /* authenticates user - * @author PromyLOPh - * @added 2008-06-05 * @param piano handle * @param username (utf-8 encoded) * @param password (plaintext, utf-8 encoded) @@ -203,8 +189,6 @@ PianoReturn_t PianoConnect (PianoHandle_t *ph, char *user, char *password) { /* get all stations for authenticated user (so: PianoConnect needs to * be run before) - * @author PromyLOPh - * @added 2008-06-05 * @param piano handle filled with some authentication data by PianoConnect * @return nothing */ @@ -231,8 +215,6 @@ PianoReturn_t PianoGetStations (PianoHandle_t *ph) { } /* get next songs for station (usually four tracks) - * @author PromyLOPh - * @added 2008-06-05 * @param piano handle * @param station id * @return nothing yet @@ -267,8 +249,6 @@ void PianoGetPlaylist (PianoHandle_t *ph, char *stationId) { /* love or ban track (you cannot remove your rating, so PIANO_RATE_NONE is * not allowed) - * @author PromyLOPh - * @added 2008-06-10 * @public yes * @param piano handle * @param track will be added to this stations loved tracks list @@ -320,8 +300,6 @@ PianoReturn_t PianoRateTrack (PianoHandle_t *ph, PianoStation_t *station, } /* rename station (on the server and local) - * @author PromyLOPh - * @added 2008-06-10 * @public yes * @param piano handle * @param change this stations name @@ -366,8 +344,6 @@ PianoReturn_t PianoRenameStation (PianoHandle_t *ph, PianoStation_t *station, } /* delete station - * @author PromyLOPh - * @added 2008-06-10 * @public yes * @param piano handle * @param station you want to delete @@ -422,8 +398,6 @@ PianoReturn_t PianoDeleteStation (PianoHandle_t *ph, PianoStation_t *station) { /* search for music (artist or track), needed to create new station; don't * forget to free the search result; beware! searchResult will be nulled * by PianoXmlParseSearch - * @author PromyLOPh - * @added 2008-06-11 * @public yes * @param piano handle * @param utf-8 search string @@ -460,8 +434,6 @@ void PianoSearchMusic (PianoHandle_t *ph, char *searchStr, } /* create new station on server - * @author PromyLOPh - * @added 2008-06-14 * @public yes * @param piano handle * @param music id from artist or track, you may obtain one by calling diff --git a/libpiano/xml.c b/libpiano/xml.c index 82389f0..3369074 100644 --- a/libpiano/xml.c +++ b/libpiano/xml.c @@ -72,8 +72,6 @@ void PianoXmlIsFaultCb (char *key, xmlNode *value, void *data) { } /* check whether pandora returned an error or not - * @author PromyLOPh - * @added 2008-06-16 * @param document root of xml doc * @return _RET_OK or fault code (_RET_*) */ @@ -102,8 +100,6 @@ PianoReturn_t PianoXmlIsFault (xmlNode *docRoot) { * * * - * @author PromyLOPh - * @added 2008-06-03 * @param xml node named "struct" (or containing a similar structure) * @param who wants to use this data? callback: content of as * string, content of as xmlNode (may contain other nodes @@ -145,8 +141,6 @@ void PianoXmlStructParser (xmlNode *structRoot, } /* create xml parser from string - * @author PromyLOPh - * @added 2008-06-16 * @param xml document * @param returns document pointer (needed to free memory later) * @param returns document root @@ -172,8 +166,6 @@ PianoReturn_t PianoXmlInitDoc (char *xml, xmlDocPtr *doc, xmlNode **docRoot) { /* get text from nodes; some of them have , * or subnodes, just ignore them - * @author PromyLOPh - * @added 2008-06-13 * @param xml node */ char *PianoXmlGetNodeText (xmlNode *node) { @@ -189,8 +181,6 @@ char *PianoXmlGetNodeText (xmlNode *node) { } /* structParser callback; writes userinfo to PianoUserInfo structure - * @author PromyLOPh - * @added 2008-06-03 * @param value identifier * @param value node * @param pointer to userinfo structure @@ -261,8 +251,6 @@ void PianoXmlParsePlaylistCb (char *key, xmlNode *value, void *data) { } /* parses userinfos sent by pandora as login response - * @author PromyLOPh - * @added 2008-06-03 * @param piano handle * @param utf-8 string * @return _RET_OK or error @@ -285,8 +273,6 @@ PianoReturn_t PianoXmlParseUserinfo (PianoHandle_t *ph, char *xml) { } /* parse stations returned by pandora - * @author PromyLOPh - * @added 2008-06-04 * @param piano handle * @param xml returned by pandora * @return _RET_OK or error @@ -326,8 +312,6 @@ PianoReturn_t PianoXmlParseStations (PianoHandle_t *ph, char *xml) { } /* parse "create station" answer (it returns a new station structure) - * @author PromyLOPh - * @added 2008-06-16 * @param piano handle * @param xml document * @return nothing yet @@ -364,8 +348,6 @@ PianoReturn_t PianoXmlParseCreateStation (PianoHandle_t *ph, char *xml) { } /* parses playlist; used when searching too - * @author PromyLOPh - * @added 2008-06-12 * @param piano handle * @param xml document */ @@ -407,8 +389,6 @@ PianoReturn_t PianoXmlParsePlaylist (PianoHandle_t *ph, char *xml) { /* parse simple answers like this: * 1 * - * @author PromyLOPh - * @added 2008-06-10 * @param xml string * @return */ @@ -434,8 +414,6 @@ PianoReturn_t PianoXmlParseSimple (char *xml) { } /* xml struct parser callback, used in PianoXmlParseSearchCb - * @author PromyLOPh - * @added 2008-06-12 */ void PianoXmlParseSearchArtistCb (char *key, xmlNode *value, void *data) { PianoArtist_t *artist = data; @@ -450,8 +428,6 @@ void PianoXmlParseSearchArtistCb (char *key, xmlNode *value, void *data) { /* callback for xml struct parser used in PianoXmlParseSearch, "switch" for * PianoXmlParseSearchArtistCb and PianoXmlParsePlaylistCb - * @author PromyLOPh - * @added 2008-06-12 */ void PianoXmlParseSearchCb (char *key, xmlNode *value, void *data) { PianoSearchResult_t *searchResult = data; @@ -510,8 +486,6 @@ void PianoXmlParseSearchCb (char *key, xmlNode *value, void *data) { } /* parse search result; searchResult is nulled before use - * @author PromyLOPh - * @added 2008-06-12 * @param xml document * @param returns search result * @return nothing yet @@ -537,8 +511,6 @@ PianoReturn_t PianoXmlParseSearch (char *searchXml, } /* encode reserved xml chars - * @author PromyLOPh - * @added 2008-06-10 * @param encode this * @return encoded string */ diff --git a/src/settings.c b/src/settings.c index 588a34f..66cf59b 100644 --- a/src/settings.c +++ b/src/settings.c @@ -28,8 +28,6 @@ THE SOFTWARE. /* tries to guess your config dir; somehow conforming to * http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html - * @author PromyLOPh - * @added 2008-06-15 * @param name of the config file (can contain subdirs too) * @param store the whole path here * @param but only up to this size @@ -66,8 +64,6 @@ void BarSettingsDestroy (BarSettings_t *settings) { } /* read app settings from file; format is: key = value\n - * @author PromyLOPh - * @added 2008-06-15 * @param where to save these settings * @return nothing yet */ diff --git a/src/terminal.c b/src/terminal.c index 2b13e24..1bbface 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -24,8 +24,6 @@ THE SOFTWARE. #include /* en/disable echoing for stdin - * @author PromyLOPh - * @added 2008-06-15 * @param 1 = enable, everything else = disable */ void termSetEcho (char enable) { @@ -42,8 +40,6 @@ void termSetEcho (char enable) { /* en/disable stdin buffering; when enabling line-buffer method will be * selected for you - * @author PromyLOPh - * @added 2008-06-15 * @param 1 = enable, everything else = disable */ void termSetBuffer (char enable) { -- cgit v1.2.3