Changeset 28385
- Timestamp:
- 04/03/14 15:59:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/httpdfunc.h
r28384 r28385 4557 4557 char* webadjustsend(char* param, int fmt) 4558 4558 { 4559 printf("webadjustsend param: %s\n",param);4560 printf("webadjustsend fmt: %d\n",fmt);4561 4562 char* buf = NULL;4563 char* anode = NULL;4564 4565 char* volbartimeout = NULL;4566 char* infobartimeout = NULL;4567 char* infobarsleep = NULL;4568 char* spinnerspeed = NULL;4569 char* spinnertime = NULL;4570 char* hangtime = NULL;4571 4572 char* secondinfobar = NULL;4573 char* nozapclear = NULL;4574 char* fastzap = NULL;4575 char* faststop = NULL;4576 char* dirsort = NULL;4577 char* poweraktion = NULL;4578 char* virtualzap = NULL;4579 char* fasttextrender = NULL;4580 char* recsplitsize = NULL;4581 char* recforerun = NULL;4582 char* recoverrun = NULL;4583 char* skip13 = NULL;4584 char* skip46 = NULL;4585 char* skip79 = NULL;4586 char* playertype = NULL;4587 char* autochangechannelname = NULL;4588 char* def_rectimer_after = NULL;4589 char* showchanneltimeline = NULL;4590 char* screenanim = NULL;4591 char* screenanimspeed = NULL;4592 char* channellistview = NULL;4593 char* showlastpos = NULL;4594 char* recsync = NULL;4595 char* recordnamefmt = NULL;4596 char* newsletter = NULL;4597 char* showhiddenfiles = NULL;4598 char* expertmodus = NULL;4599 char* infobarprogram = NULL;4600 char* emucontrol = NULL;4601 char* choiceminitv = NULL;4602 char* usecec = NULL;4603 char* playerbufferseektime = NULL;4604 char* dualboot = NULL;4605 char* tmpstr = NULL;4606 4607 anode = ostrstr(param, "node=");4608 if(anode != NULL)4609 anode = anode + 5;4610 4611 // tmpstr = ostrcat(param, NULL, 0, 0);4612 // if(tmpstr != NULL) volbartimeout = ostrstr(tmpstr, "volbartimeout=");4613 // free(tmpstr); tmpstr = NULL;4614 // if(volbartimeout != NULL) volbartimeout = volbartimeout + 14;4615 // volbartimeout = stringreplacecharonce(volbartimeout, '&', '\0');4616 volbartimeout = webgetparamvalue(param, "volbartimeout=");4617 if(volbartimeout != NULL) addconfigtmp("volbartimeout", volbartimeout);4618 debug(77, "volbartimeout: %s", volbartimeout);4619 // free(volbartimeout); volbartimeout = NULL;4620 4621 tmpstr = ostrcat(param, NULL, 0, 0);4622 if(tmpstr != NULL) infobartimeout = ostrstr(tmpstr, "infobartimeout=");4623 free(tmpstr); tmpstr = NULL;4624 if(infobartimeout != NULL) infobartimeout = infobartimeout + 15;4625 infobartimeout = stringreplacecharonce(infobartimeout, '&', '\0');4626 if(infobartimeout != NULL) addconfigtmp("infobartimeout", infobartimeout);4627 debug(77, "infobartimeout: %s", infobartimeout);4628 // free(infobartimeout); infobartimeout = NULL;4629 4630 tmpstr = ostrcat(param, NULL, 0, 0);4631 if(tmpstr != NULL) infobarsleep = ostrstr(tmpstr, "infobarsleep=");4632 free(tmpstr); tmpstr = NULL;4633 if(infobarsleep != NULL) infobarsleep = infobarsleep + 13;4634 infobarsleep = stringreplacecharonce(infobarsleep, '&', '\0');4635 if(infobarsleep != NULL) addconfigtmp("infobarsleep", infobarsleep);4636 debug(77, "infobarsleep: %s", infobarsleep);4637 // free(infobarsleep); infobarsleep = NULL;4638 4639 tmpstr = ostrcat(param, NULL, 0, 0);4640 if(tmpstr != NULL) spinnerspeed = ostrstr(tmpstr, "spinnerspeed=");4641 free(tmpstr); tmpstr = NULL;4642 if(spinnerspeed != NULL) spinnerspeed = spinnerspeed + 13;4643 spinnerspeed = stringreplacecharonce(spinnerspeed, '&', '\0');4644 if(spinnerspeed != NULL) addconfigtmp("spinnerspeed", spinnerspeed);4645 debug(77, "spinnerspeed: %s", spinnerspeed);4646 // free(spinnerspeed); spinnerspeed = NULL;4647 4648 tmpstr = ostrcat(param, NULL, 0, 0);4649 if(tmpstr != NULL) spinnertime = ostrstr(tmpstr, "spinnertime=");4650 free(tmpstr); tmpstr = NULL;4651 if(spinnertime != NULL) spinnertime = spinnertime + 12;4652 spinnertime = stringreplacecharonce(spinnertime, '&', '\0');4653 if(spinnertime != NULL) addconfigtmp("spinnertime", spinnertime);4654 debug(77, "spinnertime: %s", spinnertime);4655 // free(spinnertime); spinnertime = NULL;4656 4657 tmpstr = ostrcat(param, NULL, 0, 0);4658 if(tmpstr != NULL) hangtime = ostrstr(tmpstr, "hangtime=");4659 free(tmpstr); tmpstr = NULL;4660 if(hangtime != NULL) hangtime = hangtime + 9;4661 hangtime = stringreplacecharonce(hangtime, '&', '\0');4662 if(hangtime != NULL) addconfigtmp("hangtime", hangtime);4663 debug(77, "hangtime: %s", hangtime);4664 // free(hangtime); hangtime = NULL;4665 4666 tmpstr = ostrcat(param, NULL, 0, 0);4667 if(tmpstr != NULL) secondinfobar = ostrstr(tmpstr, "secondinfobar=");4668 free(tmpstr); tmpstr = NULL;4669 if(secondinfobar != NULL) secondinfobar = secondinfobar + 14;4670 secondinfobar = stringreplacecharonce(secondinfobar, '&', '\0');4671 if(secondinfobar != NULL) addconfigtmp("secondinfobar", secondinfobar);4672 debug(77, "secondinfobar: %s", secondinfobar);4673 // free(secondinfobar); secondinfobar = NULL;4674 4675 tmpstr = ostrcat(param, NULL, 0, 0);4676 if(tmpstr != NULL) nozapclear = ostrstr(tmpstr, "nozapclear=");4677 free(tmpstr); tmpstr = NULL;4678 if(nozapclear != NULL) nozapclear = nozapclear + 11;4679 nozapclear = stringreplacecharonce(nozapclear, '&', '\0');4680 if(nozapclear != NULL) addconfigtmp("nozapclear", nozapclear);4681 debug(77, "nozapclear: %s", nozapclear);4682 // free(nozapclear); nozapclear = NULL;4683 4684 tmpstr = ostrcat(param, NULL, 0, 0);4685 if(tmpstr != NULL) fastzap = ostrstr(tmpstr, "fastzap=");4686 free(tmpstr); tmpstr = NULL;4687 if(fastzap != NULL) fastzap = fastzap + 8;4688 fastzap = stringreplacecharonce(fastzap, '&', '\0');4689 if(fastzap != NULL) addconfigtmp("fastzap", fastzap);4690 debug(77, "fastzap: %s", fastzap);4691 // free(fastzap); fastzap = NULL;4692 4693 tmpstr = ostrcat(param, NULL, 0, 0);4694 if(tmpstr != NULL) faststop = ostrstr(tmpstr, "faststop=");4695 free(tmpstr); tmpstr = NULL;4696 if(faststop != NULL) faststop = faststop + 9;4697 faststop = stringreplacecharonce(faststop, '&', '\0');4698 if(faststop != NULL) addconfigtmp("faststop", faststop);4699 debug(77, "faststop: %s", faststop);4700 // free(faststop); faststop = NULL;4701 4702 tmpstr = ostrcat(param, NULL, 0, 0);4703 if(tmpstr != NULL) dirsort = ostrstr(tmpstr, "dirsort=");4704 free(tmpstr); tmpstr = NULL;4705 if(dirsort != NULL) dirsort = dirsort + 8;4706 dirsort = stringreplacecharonce(dirsort, '&', '\0');4707 if(dirsort != NULL) addconfigtmp("dirsort", dirsort);4708 debug(77, "dirsort: %s", dirsort);4709 // free(dirsort); dirsort = NULL;4710 4711 tmpstr = ostrcat(param, NULL, 0, 0);4712 if(tmpstr != NULL) poweraktion = ostrstr(tmpstr, "poweraktion=");4713 free(tmpstr); tmpstr = NULL;4714 if(poweraktion != NULL) poweraktion = poweraktion + 12;4715 poweraktion = stringreplacecharonce(poweraktion, '&', '\0');4716 if(poweraktion != NULL) addconfigtmp("poweraktion", poweraktion);4717 debug(77, "poweraktion: %s", poweraktion);4718 // free(poweraktion); poweraktion = NULL;4719 4720 tmpstr = ostrcat(param, NULL, 0, 0);4721 if(tmpstr != NULL) virtualzap = ostrstr(tmpstr, "virtualzap=");4722 free(tmpstr); tmpstr = NULL;4723 if(virtualzap != NULL) virtualzap = virtualzap + 11;4724 virtualzap = stringreplacecharonce(virtualzap, '&', '\0');4725 if(virtualzap != NULL) addconfigtmp("virtualzap", virtualzap);4726 debug(77, "virtualzap: %s", virtualzap);4727 // free(virtualzap); virtualzap = NULL;4728 4729 tmpstr = ostrcat(param, NULL, 0, 0);4730 if(tmpstr != NULL) fasttextrender = ostrstr(tmpstr, "fasttextrender=");4731 free(tmpstr); tmpstr = NULL;4732 if(fasttextrender != NULL) fasttextrender = fasttextrender + 15;4733 fasttextrender = stringreplacecharonce(fasttextrender, '&', '\0');4734 if(fasttextrender != NULL) addconfigtmp("fasttextrender", fasttextrender);4735 debug(77, "fasttextrender: %s", fasttextrender);4736 // free(fasttextrender); fasttextrender = NULL;4737 4738 tmpstr = ostrcat(param, NULL, 0, 0);4739 if(tmpstr != NULL) recsplitsize = ostrstr(tmpstr, "recsplitsize=");4740 free(tmpstr); tmpstr = NULL;4741 if(recsplitsize != NULL) recsplitsize = recsplitsize + 13;4742 recsplitsize = stringreplacecharonce(recsplitsize, '&', '\0');4743 if(recsplitsize != NULL) addconfigtmp("recsplitsize", recsplitsize);4744 debug(77, "recsplitsize: %s", recsplitsize);4745 // free(recsplitsize); recsplitsize = NULL;4746 4747 tmpstr = ostrcat(param, NULL, 0, 0);4748 if(tmpstr != NULL) recforerun = ostrstr(tmpstr, "recforerun=");4749 free(tmpstr); tmpstr = NULL;4750 if(recforerun != NULL) recforerun = recforerun + 11;4751 recforerun = stringreplacecharonce(recforerun, '&', '\0');4752 if(recforerun != NULL) addconfigtmp("recforerun", recforerun);4753 debug(77, "recforerun: %s", recforerun);4754 // free(recforerun); recforerun = NULL;4755 4756 tmpstr = ostrcat(param, NULL, 0, 0);4757 if(tmpstr != NULL) recoverrun = ostrstr(tmpstr, "recoverrun=");4758 free(tmpstr); tmpstr = NULL;4759 if(recoverrun != NULL) recoverrun = recoverrun + 11;4760 recoverrun = stringreplacecharonce(recoverrun, '&', '\0');4761 if(recoverrun != NULL) addconfigtmp("recoverrun", recoverrun);4762 debug(77, "recoverrun: %s", recoverrun);4763 // free(recoverrun); recoverrun = NULL;4764 4765 tmpstr = ostrcat(param, NULL, 0, 0);4766 if(tmpstr != NULL) skip13 = ostrstr(tmpstr, "skip13=");4767 free(tmpstr); tmpstr = NULL;4768 if(skip13 != NULL) skip13 = skip13 + 7;4769 skip13 = stringreplacecharonce(skip13, '&', '\0');4770 if(skip13 != NULL) addconfigtmp("skip13", skip13);4771 debug(77, "skip13: %s", skip13);4772 // free(skip13); skip13 = NULL;4773 4774 tmpstr = ostrcat(param, NULL, 0, 0);4775 if(tmpstr != NULL) skip46 = ostrstr(tmpstr, "skip46=");4776 free(tmpstr); tmpstr = NULL;4777 if(skip46 != NULL) skip46 = skip46 + 7;4778 skip46 = stringreplacecharonce(skip46, '&', '\0');4779 if(skip46 != NULL) addconfigtmp("skip46", skip46);4780 debug(77, "skip46: %s", skip46);4781 // free(skip46); skip46 = NULL;4782 4783 tmpstr = ostrcat(param, NULL, 0, 0);4784 if(tmpstr != NULL) skip79 = ostrstr(tmpstr, "skip79=");4785 free(tmpstr); tmpstr = NULL;4786 if(skip79 != NULL) skip79 = skip79 + 7;4787 skip79 = stringreplacecharonce(skip79, '&', '\0');4788 if(skip79 != NULL) addconfigtmp("skip79", skip79);4789 debug(77, "skip79: %s", skip79);4790 // free(skip79); skip79 = NULL;4791 4792 tmpstr = ostrcat(param, NULL, 0, 0);4793 if(tmpstr != NULL) playertype = ostrstr(tmpstr, "playertype=");4794 free(tmpstr); tmpstr = NULL;4795 if(playertype != NULL) playertype = playertype + 11;4796 playertype = stringreplacecharonce(playertype, '&', '\0');4797 if(playertype != NULL) addconfigtmp("playertype", playertype);4798 debug(77, "playertype: %s", playertype);4799 // free(playertype); playertype = NULL;4800 4801 tmpstr = ostrcat(param, NULL, 0, 0);4802 if(tmpstr != NULL) autochangechannelname = ostrstr(tmpstr, "autochangechannelname=");4803 free(tmpstr); tmpstr = NULL;4804 if(autochangechannelname != NULL) autochangechannelname = autochangechannelname + 22;4805 autochangechannelname = stringreplacecharonce(autochangechannelname, '&', '\0');4806 if(autochangechannelname != NULL) addconfigtmp("autochangechannelname", autochangechannelname);4807 debug(77, "autochangechannelname: %s", autochangechannelname);4808 // free(autochangechannelname); autochangechannelname = NULL;4809 4810 tmpstr = ostrcat(param, NULL, 0, 0);4811 if(tmpstr != NULL) def_rectimer_after = ostrstr(tmpstr, "def_rectimer_after=");4812 free(tmpstr); tmpstr = NULL;4813 if(def_rectimer_after != NULL) def_rectimer_after = def_rectimer_after + 19;4814 def_rectimer_after = stringreplacecharonce(def_rectimer_after, '&', '\0');4815 if(def_rectimer_after != NULL) addconfigtmp("def_rectimer_after", def_rectimer_after);4816 debug(77, "def_rectimer_after: %s", def_rectimer_after);4817 // free(def_rectimer_after); def_rectimer_after = NULL;4818 4819 tmpstr = ostrcat(param, NULL, 0, 0);4820 showchanneltimeline = ostrstr(tmpstr, "showchanneltimeline=");4821 free(tmpstr); tmpstr = NULL;4822 if(showchanneltimeline != NULL) showchanneltimeline = showchanneltimeline + 20;4823 showchanneltimeline = stringreplacecharonce(showchanneltimeline, '&', '\0');4824 if(showchanneltimeline != NULL) addconfigtmp("showchanneltimeline", showchanneltimeline);4825 debug(77, "showchanneltimeline: %s", showchanneltimeline);4826 // free(showchanneltimeline); showchanneltimeline = NULL;4827 4828 tmpstr = ostrcat(param, NULL, 0, 0);4829 if(tmpstr != NULL) screenanim = ostrstr(tmpstr, "screenanim=");4830 free(tmpstr); tmpstr = NULL;4831 if(screenanim != NULL) screenanim = screenanim + 11;4832 screenanim = stringreplacecharonce(screenanim, '&', '\0');4833 if(screenanim != NULL) addconfigtmp("screenanim", screenanim);4834 debug(77, "screenanim: %s", screenanim);4835 // free(screenanim); screenanim = NULL;4836 4837 tmpstr = ostrcat(param, NULL, 0, 0);4838 if(tmpstr != NULL) screenanimspeed = ostrstr(tmpstr, "screenanimspeed=");4839 free(tmpstr); tmpstr = NULL;4840 if(screenanimspeed != NULL) screenanimspeed = screenanimspeed + 16;4841 screenanimspeed = stringreplacecharonce(screenanimspeed, '&', '\0');4842 if(screenanimspeed != NULL) addconfigtmp("screenanimspeed", screenanimspeed);4843 debug(77, "screenanimspeed: %s", screenanimspeed);4844 // free(screenanimspeed); screenanimspeed = NULL;4845 4846 tmpstr = ostrcat(param, NULL, 0, 0);4847 channellistview = ostrstr(tmpstr, "channellistview=");4848 free(tmpstr); tmpstr = NULL;4849 if(channellistview != NULL) channellistview = channellistview + 16;4850 channellistview = stringreplacecharonce(channellistview, '&', '\0');4851 if(channellistview != NULL) addconfigtmp("channellistview", channellistview);4852 debug(77, "channellistview: %s", channellistview);4853 // free(channellistview); channellistview = NULL;4854 4855 tmpstr = ostrcat(param, NULL, 0, 0);4856 if(tmpstr != NULL) showlastpos = ostrstr(tmpstr, "showlastpos=");4857 free(tmpstr); tmpstr = NULL;4858 if(showlastpos != NULL) showlastpos = showlastpos + 12;4859 showlastpos = stringreplacecharonce(showlastpos, '&', '\0');4860 if(showlastpos != NULL) addconfigtmp("showlastpos", showlastpos);4861 debug(77, "showlastpos: %s", showlastpos);4862 // free(showlastpos); showlastpos = NULL;4863 4864 tmpstr = ostrcat(param, NULL, 0, 0);4865 if(tmpstr != NULL) recsync = ostrstr(tmpstr, "recsync=");4866 free(tmpstr); tmpstr = NULL;4867 if(recsync != NULL) recsync = recsync + 8;4868 recsync = stringreplacecharonce(recsync, '&', '\0');4869 if(recsync != NULL) addconfigtmp("recsync", recsync);4870 debug(77, "recsync: %s", recsync);4871 // free(recsync); recsync = NULL;4872 4873 tmpstr = ostrcat(param, NULL, 0, 0);4874 recordnamefmt = ostrstr(tmpstr, "recordnamefmt=");4875 free(tmpstr); tmpstr = NULL;4876 if(recordnamefmt != NULL) recordnamefmt = recordnamefmt + 14;4877 recordnamefmt = stringreplacecharonce(recordnamefmt, '&', '\0');4878 if(recordnamefmt != NULL) addconfigtmp("recordnamefmt", recordnamefmt);4879 debug(77, "recordnamefmt: %s", recordnamefmt);4880 // free(recordnamefmt); recordnamefmt = NULL;4881 4882 tmpstr = ostrcat(param, NULL, 0, 0);4883 if(tmpstr != NULL) newsletter = ostrstr(tmpstr, "newsletter=");4884 free(tmpstr); tmpstr = NULL;4885 if(newsletter != NULL) newsletter = newsletter + 11;4886 newsletter = stringreplacecharonce(newsletter, '&', '\0');4887 if(newsletter != NULL) addconfigtmp("newsletter", newsletter);4888 debug(77, "newsletter: %s", newsletter);4889 // free(newsletter); newsletter = NULL;4890 4891 tmpstr = ostrcat(param, NULL, 0, 0);4892 if(tmpstr != NULL) showhiddenfiles = ostrstr(tmpstr, "showhiddenfiles=");4893 free(tmpstr); tmpstr = NULL;4894 if(showhiddenfiles != NULL) showhiddenfiles = showhiddenfiles + 16;4895 showhiddenfiles = stringreplacecharonce(showhiddenfiles, '&', '\0');4896 if(showhiddenfiles != NULL) addconfigtmp("showhiddenfiles", showhiddenfiles);4897 debug(77, "showhiddenfiles: %s", showhiddenfiles);4898 // free(showhiddenfiles); showhiddenfiles = NULL;4899 4900 tmpstr = ostrcat(param, NULL, 0, 0);4901 if(tmpstr != NULL) expertmodus = ostrstr(tmpstr, "expertmodus=");4902 free(tmpstr); tmpstr = NULL;4903 if(expertmodus != NULL) expertmodus = expertmodus + 12;4904 expertmodus = stringreplacecharonce(expertmodus, '&', '\0');4905 if(expertmodus != NULL) addconfigtmp("expertmodus", expertmodus);4906 debug(77, "expertmodus: %s", expertmodus);4907 // free(expertmodus); expertmodus = NULL;4908 4909 tmpstr = ostrcat(param, NULL, 0, 0);4910 if(tmpstr != NULL) infobarprogram = ostrstr(tmpstr, "infobarprogram=");4911 free(tmpstr); tmpstr = NULL;4912 if(infobarprogram != NULL) infobarprogram = infobarprogram + 15;4913 infobarprogram = stringreplacecharonce(infobarprogram, '&', '\0');4914 if(infobarprogram != NULL) addconfigtmp("infobarprogram", infobarprogram);4915 debug(77, "infobarprogram: %s", infobarprogram);4916 // free(infobarprogram); infobarprogram = NULL;4917 4918 tmpstr = ostrcat(param, NULL, 0, 0);4919 if(tmpstr != NULL) emucontrol = ostrstr(tmpstr, "emucontrol=");4920 free(tmpstr); tmpstr = NULL;4921 if(emucontrol != NULL) emucontrol = emucontrol + 10;4922 emucontrol = stringreplacecharonce(emucontrol, '&', '\0');4923 if(emucontrol != NULL) addconfigtmp("emucontrol", emucontrol);4924 debug(77, "emucontrol: %s", emucontrol);4925 // free(emucontrol); emucontrol = NULL;4926 4927 tmpstr = ostrcat(param, NULL, 0, 0);4928 if(tmpstr != NULL) choiceminitv = ostrstr(tmpstr, "choiceminitv=");4929 free(tmpstr); tmpstr = NULL;4930 if(choiceminitv != NULL) choiceminitv = choiceminitv + 13;4931 choiceminitv = stringreplacecharonce(choiceminitv, '&', '\0');4932 if(choiceminitv != NULL) addconfigtmp("choiceminitv", choiceminitv);4933 debug(77, "choiceminitv: %s", choiceminitv);4934 // free(choiceminitv); choiceminitv = NULL;4935 4936 tmpstr = ostrcat(param, NULL, 0, 0);4937 if(tmpstr != NULL) usecec = ostrstr(tmpstr, "usecec=");4938 free(tmpstr); tmpstr = NULL;4939 if(usecec != NULL) usecec = usecec + 7;4940 usecec = stringreplacecharonce(usecec, '&', '\0');4941 if(usecec != NULL) addconfigtmp("usecec", usecec);4942 debug(77, "usecec: %s", usecec);4943 // free(usecec); usecec = NULL;4944 4945 tmpstr = ostrcat(param, NULL, 0, 0);4946 if(tmpstr != NULL) playerbufferseektime = ostrstr(tmpstr, "playerbufferseektime=");4947 if(playerbufferseektime != NULL) playerbufferseektime = playerbufferseektime + 21;4948 free(tmpstr); tmpstr = NULL;4949 playerbufferseektime = stringreplacecharonce(playerbufferseektime, '&', '\0');4950 if(playerbufferseektime != NULL) addconfigtmp("playerbufferseektime", playerbufferseektime);4951 debug(77, "playerbufferseektime: %s", playerbufferseektime);4952 // free(playerbufferseektime); playerbufferseektime = NULL;4953 4954 tmpstr = ostrcat(param, NULL, 0, 0);4955 if(tmpstr != NULL) dualboot = ostrstr(tmpstr, "dualboot=");4956 if(dualboot != NULL) dualboot = dualboot + 9;4957 free(tmpstr); tmpstr = NULL;4958 dualboot = stringreplacecharonce(dualboot, '&', '\0');4959 if(dualboot != NULL)4960 {4961 addconfigtmp("dualboot", dualboot);4962 if(ostrcmp(dualboot, "0") == 0)4963 unlink("/mnt/config/dualboot");4964 else4965 system("touch /mnt/config/dualboot");4966 }4967 debug(77, "dualboot: %s", dualboot);4968 // free(dualboot); dualboot = NULL;4969 4970 4971 4972 printf("before writeallconfig\n");4973 4974 buf = webadjust(NULL, fmt);4975 4976 printf("status.writeconfig: %d\n",status.writeconfig);4977 writeallconfig(1);4978 printf("writeallconfig\n");4979 4980 //param: node=0&volbartimeout=<option+value=&infobartimeout=4&infobarsleep=<option+value=&spinnerspeed=12&spinnertime=5&hangtime=60&secondinfobar=1&nozapclear=0&fastzap=0&faststop=1&dirsort=4&poweraktion=0&virtualzap=0&fasttextrender=0&recsplitsize=0&recforerun=2&recoverrun=<option+value=&skip13=<option+value=&skip46=<option+value=&skip79=<option+value=&playertype=1&autochangechannelname=0&def_rectimer_after=0&showchanneltimeline=1&screenanim=0&screenanimspeed=1&channellistview=0&showlastpos=1&recsync=0&recordnamefmt=0&newsletter=1&showhiddenfiles=1&expertmodus=0&infobarprogram=0&crosscontrol=0&emucontrol=0&choiceminitv=0&usecec=0&sataswitch=0&playerbufferseektime=3&send=Send4981 //playerbufferseektime.value\"></input> <input class=button type=reset name=reset value=\"Reset\"></input></form></center></body></html>", &maxlen, &pos);4982 //writesys("/tmp/tmpstr2", buf, 1);4983 //ostrcatbig(&buf, param, &maxlen, &pos);4984 return buf;4985 4986 }4987 4988 char* webadjustsend(char* param, int fmt)4989 {4990 4559 debug(77, "fmt: %d param: %s",fmt , param); 4991 4560
Note: See TracChangeset
for help on using the changeset viewer.