Changeset 28217
- Timestamp:
- 04/01/14 13:21:57 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/httpdfunc.h
r28210 r28217 4479 4479 volbartimeout = ostrstr(param, "volbartimeout="); 4480 4480 if(volbartimeout != NULL) volbartimeout = volbartimeout + 14; 4481 volbartimeout = stringreplacecharonce(volbartimeout, '&', '\0'); 4481 4482 if(volbartimeout != NULL) addconfigtmp("volbartimeout", volbartimeout); 4482 4483 4483 4484 infobartimeout = ostrstr(param, "infobartimeout="); 4484 printf("1infobartimeout: %s\n",infobartimeout);4485 4485 if(infobartimeout != NULL) infobartimeout = infobartimeout + 15; 4486 printf("2infobartimeout: %s\n",infobartimeout); 4487 4488 infobartimeout = stringreplacecharonce(infobartimeout, '&', '\0'); 4489 printf("3infobartimeout: %s\n",infobartimeout); 4490 4486 infobartimeout = stringreplacecharonce(infobartimeout, '&', '\0'); 4491 4487 if(infobartimeout != NULL) addconfigtmp("infobartimeout", infobartimeout); 4492 4488 … … 4494 4490 infobarsleep = ostrstr(param, "infobarsleep="); 4495 4491 if(infobarsleep != NULL) infobarsleep = infobarsleep + 13; 4492 infobarsleep = stringreplacecharonce(infobarsleep, '&', '\0'); 4496 4493 if(infobarsleep != NULL) addconfigtmp("infobarsleep", infobarsleep); 4497 4494 4498 4495 spinnerspeed = ostrstr(param, "spinnerspeed="); 4499 4496 if(spinnerspeed != NULL) spinnerspeed = spinnerspeed + 13; 4497 spinnerspeed = stringreplacecharonce(spinnerspeed, '&', '\0'); 4500 4498 if(spinnerspeed != NULL) addconfigtmp("spinnerspeed", spinnerspeed); 4501 4499 4502 4500 spinnertime = ostrstr(param, "spinnertime="); 4503 4501 if(spinnertime != NULL) spinnertime = spinnertime + 12; 4502 spinnertime = stringreplacecharonce(spinnertime, '&', '\0'); 4504 4503 if(spinnertime != NULL) addconfigtmp("spinnertime", spinnertime); 4505 4504 4506 4505 hangtime = ostrstr(param, "hangtime="); 4507 4506 if(hangtime != NULL) hangtime = hangtime + 9; 4507 hangtime = stringreplacecharonce(hangtime, '&', '\0'); 4508 4508 if(hangtime != NULL) addconfigtmp("hangtime", hangtime); 4509 4509 4510 4510 secondinfobar = ostrstr(param, "secondinfobar="); 4511 4511 if(secondinfobar != NULL) secondinfobar = secondinfobar + 14; 4512 secondinfobar = stringreplacecharonce(secondinfobar, '&', '\0'); 4512 4513 if(secondinfobar != NULL) addconfigtmp("secondinfobar", secondinfobar); 4513 4514 4514 4515 nozapclear = ostrstr(param, "nozapclear="); 4515 4516 if(nozapclear != NULL) nozapclear = nozapclear + 11; 4517 nozapclear = stringreplacecharonce(nozapclear, '&', '\0'); 4516 4518 if(nozapclear != NULL) addconfigtmp("nozapclear", nozapclear); 4517 4519 4518 4520 fastzap = ostrstr(param, "fastzap="); 4519 4521 if(fastzap != NULL) fastzap = fastzap + 8; 4522 fastzap = stringreplacecharonce(fastzap, '&', '\0'); 4520 4523 if(fastzap != NULL) addconfigtmp("fastzap", fastzap); 4521 4524 4522 4525 faststop = ostrstr(param, "faststop="); 4523 4526 if(faststop != NULL) faststop = faststop + 9; 4527 faststop = stringreplacecharonce(faststop, '&', '\0'); 4524 4528 if(faststop != NULL) addconfigtmp("faststop", faststop); 4525 4529 4526 4530 dirsort = ostrstr(param, "dirsort="); 4527 4531 if(dirsort != NULL) dirsort = dirsort + 8; 4532 dirsort = stringreplacecharonce(dirsort, '&', '\0'); 4528 4533 if(dirsort != NULL) addconfigtmp("dirsort", dirsort); 4529 4534 4530 4535 poweraktion = ostrstr(param, "poweraktion="); 4531 4536 if(poweraktion != NULL) poweraktion = poweraktion + 12; 4537 poweraktion = stringreplacecharonce(poweraktion, '&', '\0'); 4532 4538 if(poweraktion != NULL) addconfigtmp("poweraktion", poweraktion); 4533 4539 4534 4540 virtualzap = ostrstr(param, "virtualzap="); 4535 4541 if(virtualzap != NULL) virtualzap = virtualzap + 11; 4542 virtualzap = stringreplacecharonce(virtualzap, '&', '\0'); 4536 4543 if(virtualzap != NULL) addconfigtmp("virtualzap", virtualzap); 4537 4544 4538 4545 fasttextrender = ostrstr(param, "fasttextrender="); 4539 4546 if(fasttextrender != NULL) fasttextrender = fasttextrender + 15; 4547 fasttextrender = stringreplacecharonce(fasttextrender, '&', '\0'); 4540 4548 if(fasttextrender != NULL) addconfigtmp("fasttextrender", fasttextrender); 4541 4549 4542 4550 recsplitsize = ostrstr(param, "recsplitsize="); 4543 4551 if(recsplitsize != NULL) recsplitsize = recsplitsize + 13; 4552 recsplitsize = stringreplacecharonce(recsplitsize, '&', '\0'); 4544 4553 if(recsplitsize != NULL) addconfigtmp("recsplitsize", recsplitsize); 4545 4554 4546 4555 recforerun = ostrstr(param, "recforerun="); 4547 4556 if(recforerun != NULL) recforerun = recforerun + 11; 4557 recforerun = stringreplacecharonce(recforerun, '&', '\0'); 4548 4558 if(recforerun != NULL) addconfigtmp("recforerun", recforerun); 4549 4559 4550 4560 recoverrun = ostrstr(param, "recoverrun="); 4551 4561 if(recoverrun != NULL) recoverrun = recoverrun + 11; 4562 recoverrun = stringreplacecharonce(recoverrun, '&', '\0'); 4552 4563 if(recoverrun != NULL) addconfigtmp("recoverrun", recoverrun); 4553 4564 4554 4565 skip13 = ostrstr(param, "skip13="); 4555 4566 if(skip13 != NULL) skip13 = skip13 + 7; 4567 skip13 = stringreplacecharonce(skip13, '&', '\0'); 4556 4568 if(skip13 != NULL) addconfigtmp("skip13", skip13); 4557 4569 4558 4570 skip46 = ostrstr(param, "skip46="); 4559 4571 if(skip46 != NULL) skip46 = skip46 + 7; 4572 skip46 = stringreplacecharonce(skip46, '&', '\0'); 4560 4573 if(skip46 != NULL) addconfigtmp("skip46", skip46); 4561 4574 4562 4575 skip79 = ostrstr(param, "skip79="); 4563 4576 if(skip79 != NULL) skip79 = skip79 + 7; 4577 skip79 = stringreplacecharonce(skip79, '&', '\0'); 4564 4578 if(skip79 != NULL) addconfigtmp("skip79", skip79); 4565 4579 4566 4580 playertype = ostrstr(param, "playertype="); 4567 4581 if(playertype != NULL) playertype = playertype + 11; 4582 playertype = stringreplacecharonce(playertype, '&', '\0'); 4568 4583 if(playertype != NULL) addconfigtmp("playertype", playertype); 4569 4584 4570 4585 autochangechannelname = ostrstr(param, "autochangechannelname="); 4571 4586 if(autochangechannelname != NULL) autochangechannelname = autochangechannelname + 22; 4587 autochangechannelname = stringreplacecharonce(autochangechannelname, '&', '\0'); 4572 4588 if(autochangechannelname != NULL) addconfigtmp("autochangechannelname", autochangechannelname); 4573 4589 4574 4590 def_rectimer_after = ostrstr(param, "def_rectimer_after="); 4575 4591 if(def_rectimer_after != NULL) def_rectimer_after = def_rectimer_after + 19; 4592 def_rectimer_after = stringreplacecharonce(def_rectimer_after, '&', '\0'); 4576 4593 if(def_rectimer_after != NULL) addconfigtmp("def_rectimer_after", def_rectimer_after); 4577 4594 4578 4595 showchanneltimeline = ostrstr(param, "showchanneltimeline="); 4579 4596 if(showchanneltimeline != NULL) showchanneltimeline = showchanneltimeline + 20; 4597 showchanneltimeline = stringreplacecharonce(showchanneltimeline, '&', '\0'); 4580 4598 if(showchanneltimeline != NULL) addconfigtmp("showchanneltimeline", showchanneltimeline); 4581 4599 4582 4600 screenanim = ostrstr(param, "screenanim="); 4583 4601 if(screenanim != NULL) screenanim = screenanim + 11; 4602 screenanim = stringreplacecharonce(screenanim, '&', '\0'); 4584 4603 if(screenanim != NULL) addconfigtmp("screenanim", screenanim); 4585 4604 4586 4605 screenanimspeed = ostrstr(param, "screenanimspeed="); 4587 4606 if(screenanimspeed != NULL) screenanimspeed = screenanimspeed + 16; 4607 screenanimspeed = stringreplacecharonce(screenanimspeed, '&', '\0'); 4588 4608 if(screenanimspeed != NULL) addconfigtmp("screenanimspeed", screenanimspeed); 4589 4590 4609 4591 4610 channellistview = ostrstr(param, "channellistview="); 4592 4611 if(channellistview != NULL) channellistview = channellistview + 16; 4612 channellistview = stringreplacecharonce(channellistview, '&', '\0'); 4593 4613 if(channellistview != NULL) addconfigtmp("channellistview", channellistview); 4594 4614 4595 4615 showlastpos = ostrstr(param, "showlastpos="); 4596 4616 if(showlastpos != NULL) showlastpos = showlastpos + 12; 4617 showlastpos = stringreplacecharonce(showlastpos, '&', '\0'); 4597 4618 if(showlastpos != NULL) addconfigtmp("showlastpos", showlastpos); 4598 4619 4599 4620 recsync = ostrstr(param, "recsync="); 4600 4621 if(recsync != NULL) recsync = recsync + 8; 4622 recsync = stringreplacecharonce(recsync, '&', '\0'); 4601 4623 if(recsync != NULL) addconfigtmp("recsync", recsync); 4602 4624 4603 4625 recordnamefmt = ostrstr(param, "recordnamefmt="); 4604 4626 if(recordnamefmt != NULL) recordnamefmt = recordnamefmt + 14; 4627 recordnamefmt = stringreplacecharonce(recordnamefmt, '&', '\0'); 4605 4628 if(recordnamefmt != NULL) addconfigtmp("recordnamefmt", recordnamefmt); 4606 4629 4607 4630 newsletter = ostrstr(param, "newsletter="); 4608 4631 if(newsletter != NULL) newsletter = newsletter + 11; 4632 newsletter = stringreplacecharonce(newsletter, '&', '\0'); 4609 4633 if(newsletter != NULL) addconfigtmp("newsletter", newsletter); 4610 4634 4611 4635 showhiddenfiles = ostrstr(param, "showhiddenfiles="); 4612 4636 if(showhiddenfiles != NULL) showhiddenfiles = showhiddenfiles + 16; 4637 showhiddenfiles = stringreplacecharonce(showhiddenfiles, '&', '\0'); 4613 4638 if(showhiddenfiles != NULL) addconfigtmp("showhiddenfiles", showhiddenfiles); 4614 4639 4615 4640 expertmodus = ostrstr(param, "expertmodus="); 4616 4641 if(expertmodus != NULL) expertmodus = expertmodus + 12; 4642 expertmodus = stringreplacecharonce(expertmodus, '&', '\0'); 4617 4643 if(expertmodus != NULL) addconfigtmp("expertmodus", expertmodus); 4618 4644 4619 4645 infobarprogram = ostrstr(param, "infobarprogram="); 4620 4646 if(infobarprogram != NULL) infobarprogram = infobarprogram + 15; 4647 infobarprogram = stringreplacecharonce(infobarprogram, '&', '\0'); 4621 4648 if(infobarprogram != NULL) addconfigtmp("infobarprogram", infobarprogram); 4622 4649 4623 4650 emucontrol = ostrstr(param, "emucontrol="); 4624 4651 if(emucontrol != NULL) emucontrol = emucontrol + 10; 4652 emucontrol = stringreplacecharonce(emucontrol, '&', '\0'); 4625 4653 if(emucontrol != NULL) addconfigtmp("emucontrol", emucontrol); 4626 4654 4627 4655 choiceminitv = ostrstr(param, "choiceminitv="); 4628 4656 if(choiceminitv != NULL) choiceminitv = choiceminitv + 13; 4657 choiceminitv = stringreplacecharonce(choiceminitv, '&', '\0'); 4629 4658 if(choiceminitv != NULL) addconfigtmp("choiceminitv", choiceminitv); 4630 4659 4631 4660 usecec = ostrstr(param, "usecec="); 4632 4661 if(usecec != NULL) usecec = usecec + 7; 4662 usecec = stringreplacecharonce(usecec, '&', '\0'); 4633 4663 if(usecec != NULL) addconfigtmp("usecec", usecec); 4634 4664
Note: See TracChangeset
for help on using the changeset viewer.