nanogui: Thread: Calling functions


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Calling functions
From: Fergal Kelly ####@####.####
Date: 30 Apr 2002 08:10:06 -0000
Message-Id: <000701c1f01d$4a93c2c0$953c78c1@heysen.leop.s3group.com>

Hi,

In the nanox folder, there are two definitions for functions such as GrPoint
and other functions, one in client.c and another in srvfunc.c

Where is the Makefile or config file that determines which of these
functions should get called.

Thanks,

Fergal


Subject: Re: [nanogui] Calling functions
From: Alex Holden ####@####.####
Date: 30 Apr 2002 08:42:57 -0000
Message-Id: <3CCE5711.5010107@linuxhacker.org>

Fergal Kelly wrote:
> In the nanox folder, there are two definitions for functions such as GrPoint
> and other functions, one in client.c and another in srvfunc.c
> Where is the Makefile or config file that determines which of these
> functions should get called.

The character set you're using (x-user-defined? What country is that?) 
seems to have really confused Mozilla mail. It can't make up its mind 
which font to use and the cursor doesn't match up with the text.

The answer is that client.c is part of the client library and srvfunc.c 
is part of the server. The functions in srvfunc.c are the "real" ones, 
and the ones in client.c are just stub functions which generate some 
data which gets sent over the network to srvnet.c, which calls` the real 
server functions via the wrapper functions (Gr*Wrapper). If you're using 
"client linked into server" mode, then the client calls the functions in 
srvfunc.c directly instead of via client.c, the network, and srvnet.c

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.