Iniital commit
FossilOrigin-Name: 6dd469cb83d590a853fcf109b3ec598701c3151e02a826e86f6ceef4845e6cc5
This commit is contained in:
parent
4faa14e265
commit
d4ed250bd3
21
src/capwap/mod/cipwap/Makefile
Normal file
21
src/capwap/mod/cipwap/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
include ../../../Macros.mak
|
||||
include ../../../Config.mak
|
||||
|
||||
OBJS=\
|
||||
mod_cipwap_ac.o
|
||||
|
||||
OBJS:=$(patsubst %.o,$(ARCH)/%.o,$(OBJS))
|
||||
|
||||
|
||||
CFLAGS = -Wall -g -O0 -D_REENTRANT -DWITH_IPV6 -DWITH_RMAC_SUPPORT -I ../../../
|
||||
|
||||
|
||||
SRCS = $(OBJS:.o=.c)
|
||||
|
||||
$(ARCH)/%.o:%.c
|
||||
@mkdir -p $(ARCH)
|
||||
@echo " CC "$<
|
||||
@$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
|
||||
all: $(OBJS)
|
6
src/capwap/mod/cipwap/mod_cipwap.h
Normal file
6
src/capwap/mod/cipwap/mod_cipwap.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef __MOD_CIPWAP_H
|
||||
#define __MOD_CIPWAP_H
|
||||
|
||||
struct mod_ac * mod_cipwap_ac();
|
||||
|
||||
#endif
|
21
src/capwap/mod/cipwap/mod_cipwap_ac.c
Normal file
21
src/capwap/mod/cipwap/mod_cipwap_ac.c
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
#include "capwap/mod.h"
|
||||
#include "mod_cipwap.h"
|
||||
|
||||
|
||||
|
||||
int cipwap_init()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static struct mod_ac cipwap_ac = {
|
||||
// .init = cipwap_init()
|
||||
|
||||
};
|
||||
|
||||
struct mod_ac * mod_cipwap_ac(){
|
||||
return &cipwap_ac;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user