$Log$
+ Revision 601.101 2003/01/05 07:35:03 error
+ * Add an AllFloors parameter to the citadel IPC API
+
Revision 601.100 2003/01/01 08:07:46 error
* commands.c: bugfix for reading from FILE pointers; affected quote, print
and external editor.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
#
#
-citadel$(EXEEXT): ipc_c_tcp.o citadel.o rooms.o routines.o \
- routines2.o messages.o screen.o citadel_ipc.o \
- client_passwords.o md5.o html.o \
- commands.o client_chat.o tools.o $(LIBOBJS)
- $(CC) ipc_c_tcp.o citadel.o rooms.o routines.o \
- routines2.o messages.o screen.o citadel_ipc.o \
- commands.o client_chat.o tools.o html.o \
- client_passwords.o md5.o \
- $(LIBOBJS) $(LDFLAGS) -o citadel $(LIBS)
+citadel$(EXEEXT): citadel.o citadel_ipc.o client_chat.o client_passwords.o \
+ commands.o html.o ipc_c_tcp.o md5.o messages.o rooms.o routines.o \
+ routines2.o screen.o sstring.o tools.o $(LIBOBJS)
+ $(CC) citadel.o citadel_ipc.o client_chat.o client_passwords.o \
+ commands.o html.o ipc_c_tcp.o md5.o messages.o rooms.o routines.o \
+ routines2.o screen.o sstring.o tools.o $(LIBOBJS) \
+ $(LDFLAGS) -o citadel $(LIBS)
.y.c:
$(YACC) $(YFLAGS) $<
best_match = 0;
strcpy(bbb, "");
- r = CtdlIPCKnownRooms(ipc, AllAccessibleRooms, -1, &march, aaa);
+ r = CtdlIPCKnownRooms(ipc, AllAccessibleRooms, AllFloors, &march, aaa);
if (r / 100 == 1) {
/* Run the roomlist; free the data as we go */
struct march *mp = march; /* Current */
* If it is, pop the first room off the list and go there.
*/
if (march == NULL) {
- r = CtdlIPCKnownRooms(ipc, SubscribedRoomsWithNewMessages, -1, &march, buf);
+ r = CtdlIPCKnownRooms(ipc, SubscribedRoomsWithNewMessages, AllFloors, &march, buf);
/* add _BASEROOM_ to the end of the march list, so the user will end up
* in the system base room (usually the Lobby>) at the end of the loop
*/
/* be nice and identify ourself to the server */
CtdlIPCIdentifySoftware(ipc, SERVER_TYPE, 0, REV_LEVEL,
(ipc->isLocal ? "local" : CITADEL),
- (supplied_hostname) ? supplied_hostname : "", buf);
- /* (locate_host(buf), buf)); */
+ (supplied_hostname) ? supplied_hostname :
+ /* Look up the , in the bible if you're confused */
+ (locate_host(buf), buf), buf);
/* Tell the server what our preferred content formats are */
if ((CtdlIPCSpecifyPreferredFormats(ipc, buf, "text/html|text/plain") / 100 )== 2) {