Apple AppleShare 3.0 File Server Controls User Manual

Apple Software

Advertising
background image

AppleShare File Server 3.0 Control

_____________________________________________________________________________

CHAPTER 1-SERVER CONTROL CALLS

_____________________________________________________________________________

This chapter introduces the server control calls available with the

AppleShare File Server 3.0 and describes how server control calls interact

with the main elements of file server software. The chapter presents each

server control call individually and includes a sample code segment for each

call that demonstrates how you might use the call in your own programs.

Server control calls enable applications to monitor and control the major

functions of the AppleShare File Server 3.0. These control calls let your

programs

- get and modify server configuration information

- check a server's status

- start and stop file service

- get information on users, volumes, and shared items

- disconnect users (including the users of a specific volume)

- send messages to users

- set or clear the copy-protect status of files

- use server event handlers

Server control calls, together with server event handling (described in

Chapter 2), make it possible to create any number of services and utilities

for the AppleShare File Server 3.0. Because you can monitor file usage -- who

uses files, which files are saved to or deleted from a server, where files

are copied to, and so on -- you can create file-usage audit trails, generate

server-usage statistics, and perform other types of accounting services. You

can also control file servers remotely. By monitoring the number of active

users, logging off idle users, and controlling log-on access, you can perform

load-balancing services for a group of related servers. Many other services

are possible. AppleShare File Server 3.0 server control calls and event

handling form a complete interface through which your applications and

programs can control and extend the capabilities of the file server software.

This guide refers to such programs and applications as server additions.

Note Macintosh File Sharing supports a subset of the AppleShare File Server

3.0 server control calls. See Appendix A for a list of these calls.

Main elements of file servers and server control calls

This section describes the software components and data files that make up

the AppleShare File Server 3.0 and Macintosh File Sharing. Because the

AppleShare File Server 3.0 and Macintosh File Sharing perform similar

functions, the components for each are similar and both use the same types of

data files.

Advertising