Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for libplaton/platon/misc/luhnchk.h between version 1.3 and 1.4

version 1.3, 2002/01/21 19:34:59 version 1.4, 2002/02/04 18:38:11
Line 1 
Line 1 
 /**************************************************************************  /**************************************************************************
  *                                                                        *   *                                                                        *
  *  Credit cards validation.                                              *   *  Credit card validation.                                               *
  *                                                                        *   *                                                                        *
  *  Programmed by Ondrej Jombik.                                          *   *  Programmed by Ondrej Jombik.                                          *
  *  (c) Copyright 2000 Condy software inc.                                *   *  (c) Copyright 2000 Condy software inc.                                *
  *  (c) Copyright 2001-2002 Platon software development group             *   *  (c) Copyright 2001-2002 Platon software development group             *
  *  All rights reserved.                                                  *   *  All rights reserved.                                                  *
  *                                                                        *   *                                                                        *
  *  Updates: 10.10.2000, 9.11.2000, 5.10.2001                             *   *  Updates: 10.10.2000, 9.11.2000, 5.10.2001, 4.2.2002                   *
  *                                                                        *   *                                                                        *
  **************************************************************************/   **************************************************************************/
   
Line 16 
Line 16 
   
 #define luhnchk(__s) luhncheck(__s)  #define luhnchk(__s) luhncheck(__s)
   
 /* Funkcia overi platnost kreditnej karty podla jej cisla. */  #ifdef __cplusplus
 int luhncheck(const char*s);  extern "C" {
   #endif
   
   /*
    * luhncheck()
    *
    * Function checks validation of credit card according to number passed
    * as string parameter. Returns 1 if valid, 0 if not.
    */
   int luhncheck(const char *number);
   
   #ifdef __cplusplus
   }
   #endif
   
 #endif /* #ifndef _PLATON_UTILS_LUHNCHK_H */  #endif /* #ifndef _PLATON_UTILS_LUHNCHK_H */
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top