1/* $FreeBSD: head/lib/libipsec/policy_token.l 250227 2013-05-03 23:51:32Z jkim $ */ |
2/* $KAME: policy_token.l,v 1.13 2003/05/09 05:19:55 sakane Exp $ */ 3 4/* 5 * Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 124 unchanged lines hidden (view full) --- 134void __policy__strbuffer__free__(void); 135 136static YY_BUFFER_STATE strbuffer; 137 138void 139__policy__strbuffer__init__(msg) 140 char *msg; 141{ |
142 if (YY_CURRENT_BUFFER) 143 yy_delete_buffer(YY_CURRENT_BUFFER); |
144 strbuffer = (YY_BUFFER_STATE)yy_scan_string(msg); 145 yy_switch_to_buffer(strbuffer); 146 147 return; 148} 149 150void 151__policy__strbuffer__free__() 152{ 153 yy_delete_buffer(strbuffer); 154 155 return; 156} |