]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/dbz_strings.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / dbz_strings.c
index 436bf8c151b72c145b115bfbb223be7fa37bebb8..79d2380eb224fcce01a5cce1659e5298080fc7f9 100644 (file)
@@ -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
@@ -22,7 +22,7 @@
 
 /*
  * author: Daniel Otte
- * email:  daniel.otte@rub.de
+ * email:  bg@nerilex.org
  * license: GPLv3
  * 
  * */
@@ -33,7 +33,7 @@
  
 /******************************************************************************/
 
-uint8_t dbz_strcount(const charstr){
+uint8_t dbz_strcount(const char *str){
        uint8_t ret=1;
        if(*str=='\0' && *(str+1)=='\0')
                        return 0;
@@ -48,7 +48,7 @@ uint8_t dbz_strcount(const char* str){
 
 /******************************************************************************/
 
-void dbz_splitup(chardbzstr, char** strings){
+void dbz_splitup(char *dbzstr, char** strings){
        if(*dbzstr=='\0' && *(dbzstr+1)=='\0')
                return;
        *strings++ = dbzstr;
@@ -78,7 +78,7 @@ uint8_t dbz_strcount_P(PGM_P str){
 
 /******************************************************************************/
 
-void dbz_splitup_P(PGM_P dbzstr, PGM_Pstrings){
+void dbz_splitup_P(PGM_P dbzstr, PGM_P *strings){
        if(pgm_read_byte(dbzstr)=='\0' && pgm_read_byte(dbzstr+1)=='\0')
                return;
        *strings++ = dbzstr;