Changeset 88 for trunk

Show
Ignore:
Timestamp:
11/01/06 19:20:35 (2 years ago)
Author:
dragorn
Message:

Added tx80211_getversion() API to pull the internal version

Location:
trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r86 r88  
     1 
     2VERSION = 20061101 
    13 
    24MAJOR = 1 
     
    1921LDFLAGS = @LDFLAGS@ 
    2022LIBS = @LIBS@  
    21 CFLAGS = -I./ @CPPFLAGS@ 
     23CFLAGS = -I./ @CPPFLAGS@ -DTX80211_VERSION=$(VERSION) 
    2224LIBTOOL = @LIBTOOL@ 
    2325LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) 
  • trunk/lorcon.3

    r86 r88  
    1414struct tx80211_cardlist *tx80211_getcardlist() 
    1515void tx80211_freecardlist(struct tx80211_cardlist *in_list) 
     16.ft 
     17.LP 
     18.ft B 
     19int tx80211_getversion() 
    1620.ft 
    1721.LP 
     
    7680.PP 
    7781.SH ROUTINES 
     82 
     83.PP 
     84.BR tx80211_getversion() 
     85is used to return the LORCON internal version, of the format YYYYMMRR  
     86(year-month-release#) 
    7887 
    7988.PP 
  • trunk/tx80211.c

    r86 r88  
    3434#include "p54inject.h" 
    3535 
     36unsigned int tx80211_getversion() { 
     37        return TX80211_VERSION; 
     38} 
     39 
    3640struct tx80211_cardlist *tx80211_getcardlist() 
    3741{ 
  • trunk/tx80211.h

    r86 r88  
    3434 
    3535#define MAX_IFNAME_LEN                  32 
     36 
     37/* Get the version */ 
     38unsigned int tx80211_getversion(); 
    3639 
    3740/* Master tx80211 interface structure */