Unix
Mac OS X
Windows
Options
Unix
Windows

# Module client Methods

## GetClientName

GetClientName() returns the current client name.

The format of the GetClientName method is:

      const char *GetClientName(void)

## GetClientPath

GetClientPath() returns the current client name.

The format of the GetClientPath method is:

      const char *GetClientPath(void)

## SetClientName

SetClientName() sets the client name and returns it.

The format of the SetClientName method is:

      const char *SetClientName(const char *name)

A description of each parameter follows:

##### name

Specifies the new client name.

## SetClientPath

SetClientPath() sets the client path if the name is specified. Otherwise the current client path is returned. A zero-length string is returned if the client path has never been set.

The format of the SetClientPath method is:

      const char *SetClientPath(const char *path)

A description of each parameter follows:

##### path

Specifies the new client path.

Discourse Server