mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-04 05:53:26 +00:00 
			
		
		
		
	define 'struct openbsc_msgb_cb' and accessor macro OBSC_MSGB_CB()
This commit is contained in:
		@@ -79,6 +79,13 @@ enum bts_gprs_mode {
 | 
				
			|||||||
	BTS_GPRS_EGPRS = 2,
 | 
						BTS_GPRS_EGPRS = 2,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* the data structure stored in msgb->cb for openbsc apps */
 | 
				
			||||||
 | 
					struct openbsc_msgb_cb {
 | 
				
			||||||
 | 
						unsigned char *gmmh;
 | 
				
			||||||
 | 
						u_int32_t tlli;
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					#define OBSC_MSGB_CB(__msgb)	((struct openbsc_msgb_cb *)&((__msgb)->cb[0]))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct msgb;
 | 
					struct msgb;
 | 
				
			||||||
typedef int gsm_cbfn(unsigned int hooknum,
 | 
					typedef int gsm_cbfn(unsigned int hooknum,
 | 
				
			||||||
		     unsigned int event,
 | 
							     unsigned int event,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user