struct mod_wtp defined
FossilOrigin-Name: 8eaa6b38e5bc2141e75a3fd117f75f6e0ccb8ed04c40e26952936650cd2fcd69
This commit is contained in:
		@ -1,3 +1,21 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					    This file is part of actube.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    actube is free software: you can redistribute it and/or modify
 | 
				
			||||||
 | 
					    it under the terms of the GNU General Public License as published by
 | 
				
			||||||
 | 
					    the Free Software Foundation, either version 3 of the License, or
 | 
				
			||||||
 | 
					    (at your option) any later version.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    libcapwap is distributed in the hope that it will be useful,
 | 
				
			||||||
 | 
					    but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
				
			||||||
 | 
					    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
				
			||||||
 | 
					    GNU General Public License for more details.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    You should have received a copy of the GNU General Public License
 | 
				
			||||||
 | 
					    along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef __MOD_H
 | 
					#ifndef __MOD_H
 | 
				
			||||||
#define __MOD_H
 | 
					#define __MOD_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -25,18 +43,17 @@ struct mod_ac
 | 
				
			|||||||
	/** used for private data */
 | 
						/** used for private data */
 | 
				
			||||||
	void *data;
 | 
						void *data;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/** Register actions */
 | 
				
			||||||
	int (*register_actions)(struct cw_actiondef *def);
 | 
						int (*register_actions)(struct cw_actiondef *def);
 | 
				
			||||||
 | 
					 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//#include "cipwap/mod_cipwap.h"
 | 
					/**
 | 
				
			||||||
//#include "capwap/mod_capwap.h"
 | 
					 * We define here struct mod_wtp in case we need 
 | 
				
			||||||
 | 
					 * different methods for WTP and AC later
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					#define mod_wtp mod_ac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//#define MODS_AC { mod_capwap_ac,mod_cipwap_ac,NULL }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
//extern struct mod_ac * cw_get_mod_ac(const char *name);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user