X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wma_common.c;h=ee7f451eebbadd65bac712baf1cc042879452281;hp=1dde83509f2e38e8ba044fc961c381e06b74b7ca;hb=4744d937c4160898d1fe151257606430750e580c;hpb=d49cd9a91015766cb19d7d43bb04048265925fe5 diff --git a/wma_common.c b/wma_common.c index 1dde8350..ee7f451e 100644 --- a/wma_common.c +++ b/wma_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2011 Andre Noll + * Copyright (C) 2009-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -28,6 +28,8 @@ * \param pattern_len The length of the pattern in bytes. * \param buf The buffer to search for the pattern. * \param buf_size The number of bytes in \a buf. + * + * \return A pointer into \a buf or \p NULL if the pattern was not found. */ const char *search_pattern(const char *pattern, int pattern_len, const char *buf, int buf_size)