anchor.diff:    when is_list(VarsAndVals) andalso is_list(SendOpts) ->
       snmpm_server:sync_set(UserId, TargetName, VarsAndVals, SendOpts).
   
  -%% <BACKWARD-COMPAT>
  -sync_set(UserId, TargetName, VarsAndVals) ->
  -    sync_set2(UserId, TargetName, VarsAndVals).
  -
  -sync_set(UserId, TargetName, VarsAndVals, Timeout) 
  -  when is_list(VarsAndVals) andalso is_integer(Timeout) ->
  -    SendOpts = [{timeout, Timeout}], 
  -    sync_set2(UserId, TargetName, VarsAndVals, SendOpts);
  -sync_set(UserId, TargetName, Context, VarsAndVals) 
  -  when is_list(Context) andalso is_list(VarsAndVals) ->
  -    SendOpts = [{context, Context}], 
  -    sync_set2(UserId, TargetName, VarsAndVals, SendOpts).
  -
  -sync_set(UserId, TargetName, Context, VarsAndVals, Timeout) ->
  -    SendOpts = [{timeout, Timeout}, {context, Context}], 
  -    sync_set2(UserId, TargetName, VarsAndVals, SendOpts).
  -
  -sync_set(UserId, TargetName, Context, VarsAndVals, Timeout, ExtraInfo) ->
  -    SendOpts = [{timeout, Timeout}, {context, Context}, {extra, ExtraInfo}], 
  -    sync_set2(UserId, TargetName, VarsAndVals, SendOpts).
  -%% </BACKWARD-COMPAT>
  -
   
   %% --- asynchronous set-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: 
  -export([format_reason/1, format_reason/2]).
  
  %% Application internal export
  -export([start_link/3, snmpm_start_verify/2, snmpm_start_verify/3]).
  -export([target_name/1, target_name/2]).
  