ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
internal.h File Reference

Go to the source code of this file.

Functions

void NetManToggleGlobalNetIFLinkState (unsigned char state)
 
void NetManUpdateStackNIFLinkState (void)
 

Function Documentation

◆ NetManToggleGlobalNetIFLinkState()

void NetManToggleGlobalNetIFLinkState ( unsigned char  state)

Definition at line 20 of file netman.c.

21 {
22  NIFLinkState = state;
23 
25 }
static char NIFLinkState
Definition: netman.c:13
void NetManUpdateStackNIFLinkState(void)
Definition: netman.c:32

References NetManUpdateStackNIFLinkState(), and NIFLinkState.

◆ NetManUpdateStackNIFLinkState()

void NetManUpdateStackNIFLinkState ( void  )

Definition at line 32 of file netman.c.

33 {
35  {
36  if(NIFLinkState)
38  else
40  }
41 }
static unsigned char IsNetStackInitialized
Definition: netman.c:12
static struct NetManNetProtStack MainNetProtStack
Definition: netman.c:11
void(* LinkStateDown)(void)
Definition: netman.h:18
void(* LinkStateUp)(void)
Definition: netman.h:17

References IsNetStackInitialized, NetManNetProtStack::LinkStateDown, NetManNetProtStack::LinkStateUp, MainNetProtStack, and NIFLinkState.

Referenced by NetManRegisterNetworkStack(), and NetManToggleGlobalNetIFLinkState().