Changeset 313 for releases

Show
Ignore:
Timestamp:
08/11/03 09:51:33 (5 years ago)
Author:
okir
Message:

defines in headerfiles should reflect the filename.
i.e. #include a/b.h -> #ifndef A_B_H ...

Location:
releases/openct-0.1.0/src/include/openct
Files:
13 modified

Legend:

Unmodified
Added
Removed
  • releases/openct-0.1.0/src/include/openct/apdu.h

    r144 r313  
    55 */ 
    66 
    7 #ifndef IFD_APDU_H 
    8 #define IFD_APDU_H 
     7#ifndef OPENCT_APDU_H 
     8#define OPENCT_APDU_H 
    99 
    1010typedef struct ifd_iso_apdu { 
     
    3737extern int      ifd_apdu_case(const void *, size_t); 
    3838 
    39 #endif /* IFD_APDU_H */ 
     39#endif /* OPENCT_APDU_H */ 
  • releases/openct-0.1.0/src/include/openct/buffer.h

    r249 r313  
    55 */ 
    66 
    7 #ifndef IFD_BUFFER_H 
    8 #define IFD_BUFFER_H 
     7#ifndef OPENCT_BUFFER_H 
     8#define OPENCT_BUFFER_H 
    99 
    1010#include <sys/types.h> 
     
    3434 
    3535 
    36 #endif /* IFD_BUFFER_H */ 
     36#endif /* OPENCT_BUFFER_H */ 
  • releases/openct-0.1.0/src/include/openct/conf.h

    r164 r313  
    55 */ 
    66 
    7 #ifndef IFD_CONFIG_H 
    8 #define IFD_CONFIG_H 
     7#ifndef OPENCT_CONF_H 
     8#define OPENCT_CONF_H 
    99 
    1010#define IFD_DEFAULT_MODULES_DIR         "/usr/lib/ifd" 
     
    4646                                const char *, ifd_conf_node_t **, size_t); 
    4747 
    48 #endif /* IFD_CONFIG_H */ 
     48#endif /* OPENCT_CONF_H */ 
  • releases/openct-0.1.0/src/include/openct/device.h

    r287 r313  
    55 */ 
    66 
    7 #ifndef IFD_DEVICE_H 
    8 #define IFD_DEVICE_H 
     7#ifndef OPENCT_DEVICE_H 
     8#define OPENCT_DEVICE_H 
    99 
    1010#include <openct/ifd.h> 
     
    104104extern int              ifd_serial_get_dtr(ifd_device_t *); 
    105105 
    106 #endif /* IFD_DEVICE_H */ 
     106#endif /* OPENCT_DEVICE_H */ 
  • releases/openct-0.1.0/src/include/openct/driver.h

    r250 r313  
    55 */ 
    66 
    7 #ifndef IFD_DRIVER_H 
    8 #define IFD_DRIVER_H 
     7#ifndef OPENCT_DRIVER_H 
     8#define OPENCT_DRIVER_H 
    99 
    1010#include <openct/device.h> 
     
    6969 
    7070 
    71 #endif /* IFD_DRIVER_H */ 
     71#endif /* OPENCT_DRIVER_H */ 
  • releases/openct-0.1.0/src/include/openct/error.h

    r247 r313  
    55 */ 
    66 
    7 #ifndef IFD_ERROR_H 
    8 #define IFD_ERROR_H 
     7#ifndef OPENCT_ERROR_H 
     8#define OPENCT_ERROR_H 
    99 
    1010#define IFD_SUCCESS                     0 
     
    3232extern const char *     ct_hexdump(const unsigned char *, size_t); 
    3333 
    34 #endif /* IFD_ERROR_H */ 
     34#endif /* OPENCT_ERROR_H */ 
  • releases/openct-0.1.0/src/include/openct/ifd.h

    r250 r313  
    55 */ 
    66 
    7 #ifndef IFD_CORE_H 
    8 #define IFD_CORE_H 
     7#ifndef OPENCT_IFD_H 
     8#define OPENCT_IFD_H 
    99 
    1010#include <sys/types.h> 
     
    166166 
    167167 
    168 #endif /* IFD_CORE_H */ 
     168#endif /* OPENCT_IFD_H */ 
  • releases/openct-0.1.0/src/include/openct/logging.h

    r158 r313  
    55 */ 
    66 
    7 #ifndef IFD_LOGGING_H 
    8 #define IFD_LOGGING_H 
     7#ifndef OPENCT_LOGGING_H 
     8#define OPENCT_LOGGING_H 
    99 
    1010extern void             ct_error(const char *, ...); 
     
    1313extern void             ct_log_destination(const char *); 
    1414 
    15 #endif /* IFD_LOGGING_H */ 
     15#endif /* OPENCT_LOGGING_H */ 
  • releases/openct-0.1.0/src/include/openct/openct.h

    r250 r313  
    55 */ 
    66 
    7 #ifndef OPENCT_H 
    8 #define OPENCT_H 
     7#ifndef OPENCT_OPENCT_H 
     8#define OPENCT_OPENCT_H 
    99 
    1010#include <sys/types.h> 
     
    8989extern int              ct_status_update(ct_info_t *); 
    9090 
    91 #endif /* OPENCT_H */ 
    92  
     91#endif /* OPENCT_OPENCT_H */ 
  • releases/openct-0.1.0/src/include/openct/pathnames.h

    r184 r313  
    66 */ 
    77 
    8 #ifndef OPENCT_CONFIG_H 
    9 #define OPENCT_CONFIG_H 
     8#ifndef OPENCT_PATHNAMES_H 
     9#define OPENCT_PATHNAMES_H 
    1010 
    1111#define OPENCT_CONFIG_PATH      "/etc/openct.conf" 
     
    1515#define OPENCT_IFDHANDLER_PATH  "/usr/sbin/openct-ifdhandler" 
    1616 
    17 #endif /* OPENCT_CONFIG_H */ 
     17#endif /* OPENCT_PATHNAMES_H */ 
  • releases/openct-0.1.0/src/include/openct/protocol.h

    r250 r313  
    66 */ 
    77 
    8 #ifndef IFDMGR_PROTOCOL_H 
    9 #define IFDMGR_PROTOCOL_H 
     8#ifndef OPENCT_PROTOCOL_H 
     9#define OPENCT_PROTOCOL_H 
    1010 
    1111/* 
     
    5151 
    5252 
    53 #endif /* IFDMGR_PROTOCOL_H */ 
     53#endif /* OPENCT_PROTOCOL_H */ 
  • releases/openct-0.1.0/src/include/openct/socket.h

    r160 r313  
    55 */ 
    66 
    7 #ifndef IFDD_SOCKET_H 
    8 #define IFDD_SOCKET_H 
     7#ifndef OPENCT_SOCKET_H 
     8#define OPENCT_SOCKET_H 
    99 
    1010#include <sys/types.h> 
     
    6161extern void             ct_socket_unlink(ct_socket_t *); 
    6262 
    63 #endif /* IFDD_SOCKET_H */ 
     63#endif /* OPENCT_SOCKET_H */ 
  • releases/openct-0.1.0/src/include/openct/tlv.h

    r128 r313  
    55 */ 
    66 
    7 #ifndef IFD_TLV_H 
    8 #define IFD_TLV_H 
     7#ifndef OPENCT_TLV_H 
     8#define OPENCT_TLV_H 
    99 
    1010#include <openct/protocol.h> 
     
    4343                                const unsigned char *, size_t); 
    4444 
    45 #endif /* IFD_TLV_H */ 
     45#endif /* OPENCT_TLV_H */