Go to the source code of this file.
Functions | |
| unsigned | our_inet_addr (char const *cp) |
| char * | our_inet_ntoa (struct in_addr in) |
| int | initializeWinsockIfNecessary (void) |
| struct hostent * | our_gethostbyname (char *name) |
| long | our_random () |
| void | our_srandom (unsigned int x) |
| char * | our_initstate (unsigned int seed, char *arg_state, int n) |
| char * | our_setstate (char *arg_state) |
| u_int32_t | our_random32 () |
| void | __bzero (char *to, int count) |
Variables | |
| static int const | degrees [MAX_TYPES] = { DEG_0, DEG_1, DEG_2, DEG_3, DEG_4 } |
| static int const | seps [MAX_TYPES] = { SEP_0, SEP_1, SEP_2, SEP_3, SEP_4 } |
| static long | randtbl [DEG_3+1] |
| static long * | fptr = &randtbl[SEP_3 + 1] |
| static long * | rptr = &randtbl[1] |
| static long * | state = &randtbl[1] |
| static int | rand_type = TYPE_3 |
| static int | rand_deg = DEG_3 |
| static int | rand_sep = SEP_3 |
| static long * | end_ptr = &randtbl[DEG_3 + 1] |
| unsigned our_inet_addr | ( | char const* | cp | ) |
Definition at line 17 of file inet.c.
Referenced by IPTVFeederUDP::Open(), IPTVFeederRTP::Open(), and setupStreamSocket().
| char* our_inet_ntoa | ( | struct in_addr | in | ) |
Definition at line 24 of file inet.c.
Referenced by operator<<().
| int initializeWinsockIfNecessary | ( | void | ) |
Definition at line 76 of file inet.c.
Referenced by our_gethostbyname(), setupDatagramSocket(), and setupStreamSocket().
| long our_random | ( | void | ) |
Definition at line 423 of file inet.c.
Referenced by drand30(), our_random32(), our_srandom(), and setupStreamSocket().
| void our_srandom | ( | unsigned int | x | ) |
Definition at line 265 of file inet.c.
Referenced by our_initstate(), and setupStreamSocket().
| char* our_initstate | ( | unsigned int | seed, | |
| char * | arg_state, | |||
| int | n | |||
| ) |
int const degrees[MAX_TYPES] = { DEG_0, DEG_1, DEG_2, DEG_3, DEG_4 } [static] |
int const seps[MAX_TYPES] = { SEP_0, SEP_1, SEP_2, SEP_3, SEP_4 } [static] |
long randtbl[DEG_3+1] [static] |
{
TYPE_3,
0x9a319039, 0x32d9c024, 0x9b663182, 0x5da1f342, 0xde3b81e0, 0xdf0a6fb5,
0xf103bc02, 0x48f340fb, 0x7449e56b, 0xbeb1dbb0, 0xab5c5918, 0x946554fd,
0x8c2e680f, 0xeb3d799f, 0xb11ee0b7, 0x2d436b86, 0xda672e2a, 0x1588ca88,
0xe369735d, 0x904f35f7, 0xd7158fd6, 0x6fa6f051, 0x616e6b96, 0xac94efdc,
0x36413f93, 0xc622c298, 0xf5a42ab8, 0x8a88d77b, 0xf5ad9d0e, 0x8999220b,
0x27fb47b9,
}
Definition at line 232 of file inet.c.
Referenced by _libaacs_get_vid(), and AudioOutputUtil::AdjustVolume().
Definition at line 245 of file inet.c.
Referenced by TV::ActivePostQHandleAction(), WelcomeDialog::checkAutoStart(), Scheduler::CheckShutdownServer(), AudioOutputPulseAudio::ContextConnect(), ThemeChooser::Create(), MythMainWindow::customEvent(), StatusBox::doTunerStatus(), dvdnav_absolute_time_search(), dvdnav_get_current_time(), dvdnav_get_next_cache_block(), dvdnav_get_position(), dvdnav_get_position_in_title(), dvdnav_relative_time_search(), dvdnav_sector_search(), extract_main_state(), ViewScheduled::FillList(), ChannelEditor::fillList(), TV::FillOSDMenuJobs(), TV::FillOSDMenuNavigate(), HttpStatus::FillStatusXML(), AudioOutputALSA::GetBufferedOnSoundcard(), MythAirplayServer::GetPlayerStatus(), TV::HandleJumpToProgramAction(), ProgLister::HandleVisible(), PlaybackSock::IsBusy(), EncoderLink::IsBusyRecording(), PlaybackBox::ItemLoaded(), mpeg2_parse(), navRead_DSI(), navRead_PCI(), MythUIText::ParseElement(), TV::PlaybackLoop(), MPEG2fixup::ProcessVideo(), read_audio_attr(), read_cell_playback(), read_multichannel_ext(), read_pgci_srp(), read_playback_type(), read_subp_attr(), read_user_ops(), read_video_attr(), RemoteGetRecordingStatus(), RemoteIsBusy(), SmartPLOrderByDialog::setFieldList(), LCDServer::setMusicProp(), PreviewGeneratorQueue::SetPreviewGenerator(), OSD::SetText(), TVRec::StartRecording(), MythSocket::stateToString(), StatusCallback(), sub_read_line_sami(), MythUIStateTracker::TimeSinceLastUpdate(), GuideGrid::updateChannels(), EditAlbumartDialog::updateImageGrid(), MythUIButtonList::updateLCD(), ProgramRecPriority::UpdateList(), IdleScreen::UpdateStatus(), ProgFinder::updateTimesList(), ViewScheduleDiff::updateUIList(), and PlaybackBox::UpdateUIListItem().
1.6.3