X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wma_common.c;h=97cdba0ae5a34953257de5657fc79f62f355500f;hp=1dde83509f2e38e8ba044fc961c381e06b74b7ca;hb=7df87a748fae6a9f20d337d79ec83978856f0c48;hpb=82d08fb6da4dfc7d93d1ee0cce4706721378fe12 diff --git a/wma_common.c b/wma_common.c index 1dde8350..97cdba0a 100644 --- a/wma_common.c +++ b/wma_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2011 Andre Noll + * Copyright (C) 2009-2014 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)