                                Date:6-11-1996
                                By:Naveen.P.N.

Changes made to \rtrware\applicat\ag files are listed below.
------------------------------------------------------------

Note: Basically changes are concluded thru comparing files.
      Syntacitical changes are ignored.

***************************************************************************
1. agrcon.h, rcon.h and agrcon.c are files in which major changes have been
  made and I recommend to copy those 3 files(completely).

****************************************************************************
2.Changes concerned with  the file  vagstr.h
  a. LINE_PARAM_TYPE is added in struct LINE_VARS_TYPE. Line No 112.
        (I doubt that this change is done by me)
***************************************************************************
3. Changes concerned with the file aginmenu.c
  a. Function named "get_ith_element_from_inbound_list" was declared as
     STATIC function, but now I want to call this function from other
     file hence this function local prototype decleration has been removed.
        (But declared in the corr header file which I will be dealing later.)
  b.In line number 187 remove STATIC for the above function definition.
***************************************************************************
4. Changes concerned with the file aginmenu.h
  a. Include Prototype decleration for the function 
        get_ith_element_from_inbound_list.
***************************************************************************
5. Changes concerned with the file kag.h
  a.At line number 8 is commented i.e #define DEBUG is commented out.
        (I Don't Know Why. I did not do that)
  b.Constant SER_NAME_LENGTH is added at the line 29 and in line number
    28 the SERVER_NAME_LENGTH value is changed from 17 to 9.
  c.At line number 37 five constants were added.
        They are
        NETWORK_NUMBER_LENGTH
        NODE_NUMBER_LENGTH   
        HOST_STATUS_LENGTH   
        FILE_NAME_LENGTH 
        PATH_NAME_LENGTH
 e. set_line_staus was commented out and corresponding function is written
    agline.c which we will deal later.

***************************************************************************
6. Changes concerned with the file agspx.c
  a.In line 187 printf is modified and same case in line 235
        (Actually I did not modify).
**************************************************************************
7. Changes concerned with the file agline.c
  a.Function set_line_status is added by me. This function will not do 
    any extra work then the macro . It is done just for debugging purpose.
    This change helped us in digging out the bug. Now if required we can 
    revert back to macro.
  b. In the function modem_init_complete a major bug was hidden and it was 
     digged out and i recommend to replace the whole function by the new 
     function.
 
 Changes concerned with the file agline.h
  a. remove comment for the prototype decleration for the function 
	set_line_status.
****************************************************************************
8. Changes concerned with the file agresp.c
  a. Function process_remote_console_requst is removed from this file and
     it is included in the file agrcon.c.
****************************************************************************
9. I will recommend to copy the makefile because some changes have been made
   to compile and agrcon.c.
****************************************************************************
10. Imp change has been done in kag.h  in enum NET_INTERFACE . Reflect these
    changes in the corr files.
****************************************************************************
11. copy USER_DATE_BASE_RECORD from PPP\ppudb.h to INCLUDE\ras.h and 
	added 2 prototypes in INCLUDE\ras.h i)get_ras_number_of_users
	and ii)get_ras_user_entry_from_index
     
*****************************************************************************
12. Add one function to the file PPP\pppudb.c. The function name is 
	 get_ras_user_entry_from_index. Inclusion of file ras.h has to
	 removed.
*****************************************************************************
ACCORDING TO ME NOW AFTER THESE CHANGES, THE REMOTE CONSOLE SHOULD OPERATE
ON ROUTER WITHOUT ANY PROBLEM.

############################################################################
Date:21/11/1996
1.Changed the version of the Agserver from 3.00 to 2.00 because proper changes
  have been made in remote console to  handle this .
*****************************************************************************
2.Three functions are to be added to agutil.c which have been added in Sudhir's
  machine.
*****************************************************************************
3.In the file c:\rtrware\devdrvrs\serial\serrx.c , in the function 
  serial_rxed_packet "return" statement was inside ifdef DEBUG it was moved 
  outside that.
###############################################################################
Date:6/12/1996
1.In File agutil.c the function ag_get_caller_name has been changed. In this
  function, the condition for checking whether user is there or not has been
  changed.

Sachin 25/01/1997
-----------------
	AGLINE.C : In update_mcsi_clients...(), if sptr_session_entry is NULL
return. This is in response to the crashing problem reported.
       

NAVEEN 01/02/1997
-----------------
	AGRX.C : serial_rx_callback() for the inbound crashing problem.
	No data from the line is put on the spx session if the line
	is not busy. We will then be accessing non existent data structures. 

NAVEEN 01/02/1997
-----------------
	AGRESP.C : process_inbound_request(). Earlier, it was not possible
	to wait on inbound connections on busy ports. There is a small change
	that is made in this function for that.

NAVEEN 01/02/1997
-----------------
	AGSESS.C : clean_up_session() .
	Stack variable sptr_line_info was being used without initing !

NAVEEN 01/02/1997
-----------------
	AGLINE.C : update_mcsi...() :
	We need to send them only on ports that are busy. NOT ON PORTS THAT ARE
	NOT FREE.

NAVEEN 09/07/1997
----------------
        AGLINE.C :  setup_up_port_for_dial_out, in this function reiniting of
                    modem is bypassed.
        
        AGRESP.c : in function process_connect_request  the function call
                   set_connect_vars_info is moved after calling function
                   setup_port_for_dial_out.

        AGLINE.c : written new function reset_line_parameters and this was 
                   called from modem_hangup_complete. Local prototype was
                   also introduced.

-----------------------------------------------------------------------------
          Name of Engineer : sudha
                      Date : 15-Oct-1999
            Files modified : agnetif.h, agnetif.c, agip.h, agip.c, agsess.h,
									  agsess.c, agrx.c	
Problem/change description : Fix for the AG problem. ( At higher bauds, AG
									  file transfer gives frequent errors ).	

-----------------------------------------------------------------------------

