anchor.diff:    when is_list(Oids) andalso is_list(SendOpts) ->
       snmpm_server:sync_get_next(UserId, TargetName, Oids, SendOpts).
   
  -%% <BACKWARD-COMPAT>
  -sync_get_next(UserId, TargetName, Oids) ->
  -    sync_get_next2(UserId, TargetName, Oids).
  -
  -sync_get_next(UserId, TargetName, Oids, Timeout) 
  -  when is_list(Oids) andalso is_integer(Timeout) ->
  -    SendOpts = [{timeout, Timeout}], 
  -    sync_get_next2(UserId, TargetName, Oids, SendOpts);
  -sync_get_next(UserId, TargetName, Context, Oids) 
  -  when is_list(Context) andalso is_list(Oids) ->
  -    SendOpts = [{context, Context}], 
  -    sync_get_next2(UserId, TargetName, Oids, SendOpts).
  -
  -sync_get_next(UserId, TargetName, Context, Oids, Timeout) ->
  -    SendOpts = [{timeout, Timeout}, {context, Context}], 
  -    sync_get_next2(UserId, TargetName, Oids, SendOpts).
  -
  -sync_get_next(UserId, TargetName, Context, Oids, Timeout, ExtraInfo) ->
  -    SendOpts = [{timeout, Timeout}, {context, Context}, {extra, ExtraInfo}], 
  -    sync_get_next2(UserId, TargetName, Oids, SendOpts).
  -%% </BACKWARD-COMPAT>
  -
   
   %% --- asynchronous get_next-request ---
   %% 
  
positive.code:        is_list(SendOpts) ->
      snmpm_server:async_get_bulk(UserId, TargetName, 
                                  NonRep, MaxRep, Oids, SendOpts).
  
  %% <BACKWARD-COMPAT>
  async_get_bulk(UserId, TargetName, NonRep, MaxRep, Oids) ->
      async_get_bulk2(UserId, TargetName, NonRep, MaxRep, Oids).
  
  async_get_bulk(UserId, TargetName, NonRep, MaxRep, Oids, Expire) 
    when is_integer(NonRep) andalso 
         is_integer(MaxRep) andalso 
         is_list(Oids) andalso 
         is_integer(Expire) ->
      SendOpts = [{timeout, Expire}],     
      async_get_bulk2(UserId, TargetName, NonRep, MaxRep, Oids, SendOpts);
  async_get_bulk(UserId, TargetName, NonRep, MaxRep, Context, Oids) 
    when is_integer(NonRep) andalso 
         is_integer(MaxRep) andalso 
         is_list(Context) andalso 
         is_list(Oids) ->
      SendOpts = [{context, Context}], 
      async_get_bulk2(UserId, TargetName, NonRep, MaxRep, Oids, SendOpts).
  
  async_get_bulk(UserId, TargetName, NonRep, MaxRep, Context, Oids, Expire) ->
      SendOpts = [{timeout, Expire}, {context, Context}], 
      async_get_bulk2(UserId, TargetName, NonRep, MaxRep, Oids, SendOpts).
  
  async_get_bulk(UserId, TargetName, NonRep, MaxRep, Context, Oids, Expire, 
  	       ExtraInfo) ->
      SendOpts = [{timeout, Expire}, {context, Context}, {extra, ExtraInfo}], 
      async_get_bulk2(UserId, TargetName, NonRep, MaxRep, Oids, SendOpts).
  %% </BACKWARD-COMPAT>
  
  
  
  
negative.code:   when is_list(Oids) andalso is_list(SendOpts) ->
      snmpm_server:sync_get(UserId, TargetName, Oids, SendOpts).
  
  
  %% --- asynchronous get-request ---
  %% 
  