X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fdbz_strings.h;h=395b213da3865e508e84f8ca048a7f87deda8bf7;hb=1f6be6ce98d01772fbb1f4d5205a13bea896a1f1;hp=7fc09e97017778b9f4f05d0fb273853676bf0ec9;hpb=65b5512d92a8b13973ae65201b18922b856328e5;p=avr-crypto-lib.git diff --git a/test_src/dbz_strings.h b/test_src/dbz_strings.h index 7fc09e9..395b213 100644 --- a/test_src/dbz_strings.h +++ b/test_src/dbz_strings.h @@ -3,7 +3,7 @@ * This file is part of AnonAccess, an access system which can be used * to open door or doing other things with an anonymity featured * account managment. - * Copyright (C) 2006, 2007, 2008, 2009 Daniel Otte (daniel.otte@rub.de) + * Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ /** \file dbz_strings.h * \author Daniel Otte - * \email daniel.otte@rub.de + * \email bg@nerilex.org * \license GPLv3 or later * \brief functions for handling of double-zero-terminated strings * @@ -34,16 +34,16 @@ #include #include -/** \fn uint8_t dbz_strcount(const char* str) +/** \fn uint8_t dbz_strcount(const char *str) * \brief count stings in dbz-terminated string * - * Count the single zero terminated string in a + * Count the single zero terminated strings in a * double terminated string * \param str pointer to the double-zero-terminated string */ -uint8_t dbz_strcount(const char* str); +uint8_t dbz_strcount(const char *str); -/** \fn void dbz_splitup(char* dbzstr, char** strings) +/** \fn void dbz_splitup(char *dbzstr, char** strings) * \brief split up a dbz-terminated string * * Fills an array with pointers to the single terminated string @@ -51,7 +51,7 @@ uint8_t dbz_strcount(const char* str); * \param dbzstr pointer to the double-zero-terminated string * \param strings pointer to the array of strings (char pointers) */ -void dbz_splitup(char* dbzstr, char** strings); +void dbz_splitup(char *dbzstr, char** strings); /** \fn uint8_t dbz_strcount_P(PGM_P str) * \brief count stings in dbz-terminated string in flash @@ -62,7 +62,7 @@ void dbz_splitup(char* dbzstr, char** strings); */ uint8_t dbz_strcount_P(PGM_P str); -/** \fn void dbz_splitup_P(PGM_P dbzstr, PGM_P* strings) +/** \fn void dbz_splitup_P(PGM_P dbzstr, PGM_P *strings) * \brief split up a dbz-terminated string in flash * * Fills an array with pointers (PGM_P) to the single terminated string @@ -70,6 +70,6 @@ uint8_t dbz_strcount_P(PGM_P str); * \param dbzstr pointer to the double-zero-terminated string in flash * \param strings pointer to the array of strings (PGM_P) */ -void dbz_splitup_P(PGM_P dbzstr, PGM_P* strings); +void dbz_splitup_P(PGM_P dbzstr, PGM_P *strings); #endif /*DBZ_STRINGS_H_*/