Minor fixs

This commit is contained in:
jun7 2018-05-21 00:29:10 +09:00
parent 11f2769425
commit 226c1f0e01
2 changed files with 3 additions and 4 deletions

View File

@ -1076,7 +1076,7 @@ int main(int argc, char **argv)
g_thread_join(initt);
g_print(tester->blockcss->str);
g_print("\n\n\n\n{display: none !important}\n\n\n\n");
g_print("\n\n\n\n{display:none !important}\n\n\n\n");
//g_print(tester->blockcssprivate->str);
}
else

View File

@ -17,10 +17,10 @@ You should have received a copy of the GNU General Public License
along with wyebrun. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _WYEBRUN_H
#define _WYEBRUN_H
#define WYEBPREFIX "-wyeb"
#define WYEBDUNTIL 3
@ -28,14 +28,13 @@ along with wyebrun. If not, see <http://www.gnu.org/licenses/>.
//wyebrun spawns the exe if wyebsend failes
char *wyebreq( char *exe, char *req);
void wyebsend( char *exe, char *req);
void wyebuntil( char *exe, int sec); //keep alive. default is 10s
void wyebuntil( char *exe, int sec); //keep alive. default is 3s
//loop the wyebuntil. to stop, use g_source_remove
guint wyebloop( char *exe, int sec, int loopsec);
//send stdin to svr and ret data to stdout
//blank and enter exit it
void wyebclient(char *exe);
//server
typedef char *(*wyebdataf)(char *req);
//server is spawned with an arg the caller